Zen Cart 的邮件功能问题
当有人在我的网站上注册时,他和我都会收到电子邮件,他在该网站上注册,而我则有人在我的网站上注册。但是,当有人订购某些东西时,我和店主不会收到该订单的电子邮件。在选项中evrething就可以了。
在 php 文件和其他文件中寻找什么,以修复邮件的自动回复并复制到我的邮件?
When someone register in my site, he and me received email, that he register in the site and i that someone register in my site. But when someone order something, me and owner don;t get email for the order. In the options evrething is ok.
What to look for in php files and other files, to fix the automatic reply for mail and copy to my mail?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您已将商店设置为使用“PHP”作为电子邮件传输方法,那么您的电子邮件可能会被邮件服务器上的垃圾邮件检测所困。这是因为您的网络服务器将发送未经身份验证的电子邮件,这与垃圾邮件发送者发送电子邮件的方式相同。如果您切换到 SMTPAUTH 并提供 SMTP 凭据,那么 Zen Cart 将使用这些详细信息发送经过身份验证的电子邮件,从而不会触发特定的垃圾邮件检测系统。
查看您的管理屏幕:管理 -> 配置 -> 电子邮件选项
If you've set your store to use "PHP" as your Email Transport Method, then your email is probably getting trapped by spam detections on your mailserver. That is because your webserver will send the emails unauthenticated, which is the same way that spammers send emails. If you instead switch to SMTPAUTH and provide your SMTP credentials, then Zen Cart will use those details to send the emails with authentication, and thereby not trigger that particular spam detection system.
See your admin screen at: Admin->Configuration->Email Options
如果您使用的是最新版本 1.3.9h,则邮件实际上是在订单类 ( /includes/classes/order.php ) 内发送的,位于第 1020 行左右。您可以尝试回显邮件调用 (
zen_mail()
) 中使用的参数来检查一切是否正确。话虽如此,我会检查两次管理员电子邮件设置,并检查您是否可以发送/接收从管理员发送的电子邮件(工具 > 发送电子邮件)。
另外,您是否安装了可以修改订单流程的贡献?你检查过错误日志吗?如果您使用的是 1.3.9,则错误日志默认保存在缓存文件夹中。否则,您可以下载并安装非常简单的官方贡献记录错误。
The mail is actually sent inside the order class ( /includes/classes/order.php ), around line 1020 if you are using the latest version 1.3.9h. You can try echoing the arguments used in the mail call (
zen_mail()
) to check if everything is right.Having said that, I would check the admin email settings twice and check that you can send/receive emails sent from the admin ( Tools > Send email ).
Also, do you perhaps have a contribution installed that could modify the order process? Have you check the error logs? If you are using 1.3.9 you have error logs saved by default on the cache folder. Otherwise, you can download and install a very simple official contribution to log the errors.