I newly installed Magento 184.108.40.206. When a customer places an order there is no confirmation email. The cron is like this:
In the log there is a Warning:
shell_exec () HAS BEEN disabled For Security Reasons in /home/username/domains/domainname/public_html/cron.php".
Is this the reason why confirmation mails are not sent? And how to fix this?
According to the hoster, it is not possible to use shell exec
You will need to open the cron.php file and look for the following line:-
$isShellDisabled = (stripos(PHP_OS, ‘win’) === false) ? $isShellDisabled : true;
Add the following in a new line exactly after the above line:-
$isShellDisabled = true;
Your emails should start delivery after a few minutes.
What is your Cron Job's interval? The emails will only be sent out when the Cron Job is being executed so you will need to set your Cron Job interval to every 5 minutes or every 1 minute if you want almost immediate emails.
After following lots of other suggestions with no success this has finally resolved our problem. All other emails from our site were receiving and sending ( eg shipping, contact us ,email a friend ) It was just the new order emails that did not, which was so frustrating as we did not want to sit in front of our admin screen waiting for them to come in.
Many many thanks
How did you fix the issue? can you please the details with us?