Magento 中有 Email to a Friend(一种介绍 friend 的方式)功能。您可以在产品查看页面中看到“发送给 friend 的电子邮件”链接。
每当我尝试通过此向 friend 发送电子邮件时,我都会收到以下错误:-
部分邮件未发送
我已从系统 -> 配置 -> 高级 -> 系统 -> 邮件发送设置 配置主机。
我还在 php.ini 文件中配置了 SMTP 和 sendmail_from。
知道我为什么会收到此错误吗?
最佳答案
问题已解决。
问题出在我使用的另一个模块上。该模块覆盖了 SendFriend 模型类 (Mage_Sendfriend_Model_Sendfriend)。
我的问题会对遇到类似情况的人有所帮助。
When the core code seems to be working well or when you haven't changed any core code.. even then you are getting problem in Magento default functionality.
原因可能是某些本地或社区模块覆盖了核心类。
关于php - 在产品 View 页面中向 friend 发送电子邮件不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5257953/