最近我将我的opencart商店搬到了一个新的主机,但我发现系统发送电子邮件的新问题,用户提交订单后,系统为他发送确认电子邮件,也为我(管理员)成功但用户看到错误:
警告:mail(/var/log/php_mail.log):faild打开流:权限 在第164行的///system/library/mail.php中被拒绝
当我想在他的订单中添加历史记录时,当我检查Notify Customer
时,我发现错误:
SyntaxError:意外的令牌<在位置0的JSON中确定警告: mail(/var/log/php_mail.log):faild打开流:权限被拒绝 在第164行的///system/library/mail.php
这是什么意思?什么问题?
我用Google搜索,但没有与发送电子邮件相关的结果。
提前致谢
答案 0 :(得分:0)
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:
-fyou@youremail.com