Email sending geting error

i am getting tis error when tryto send a invoice by email

A PHP Error was encountered
Severity: Warning

Message: escapeshellcmd() has been disabled for security reasons

Filename: src/PHPMailer.php

Line Number: 1597


File: /home/mydomain/public_html/vendor/phpmailer/phpmailer/src/PHPMailer.php
Line: 1597
Function: escapeshellcmd

File: /home/mydomain/public_html/vendor/phpmailer/phpmailer/src/PHPMailer.php
Line: 1649
Function: isShellSafe

File: /home/mydmain/public_html/vendor/phpmailer/phpmailer/src/PHPMailer.php
Line: 1483
Function: mailSend

enable the function in your PHP settings to use the mailing function or use another way to send emails, there are three to choose from.

Fatal error: Call to a member function format() on boolean in /home/demouser/ on line 86

A PHP Error was encountered
Severity: Error

Message: Call to a member function format() on boolean

Filename: helpers/date_helper.php

Line Number: 86


please give me solution can not sent mail …

Kovah give a solution some dans ago… :-/

i figured out how to fix this error …

modify the following file

Right at the insert

The values to insert instead of Australia/Melbourne are listed on the following website

your file should now look like this:

→ head Setup.php

<?php date_default_timezone_set('Australia/Melbourne'); if (!defined('BASEPATH')) { exit('No direct script access allowed'); } Hope this helps :)