Recently i moved my opencart shop to a new host but i found new issue in sending email by system, after user submit an order, system send a confirmation email for him and also for me (admin) successfully but user see an error:
Warning: mail(/var/log/php_mail.log): faild to open stream: Permission
denied in ///system/library/mail.php on line 164
and also when i want to add a history to his order, when i check
Notify Customer i see an error:
SyntaxError: Unexpected token < in JSON at position 0 OK Warning:
mail(/var/log/php_mail.log): faild to open stream: Permission denied
in ///system/library/mail.php on line 164
What this mean? and what’s the problem?
I googled but none of results related to sending email case.
Thanks in advance
I solved this issue. for future, if anyone face with this problem:
in e-mail setting should add e-mail with a
-f at the beginning:
Answered By – Pedram
Answer Checked By – Clifford M. (Easybugfix Volunteer)