php - 在产品 View 页面中向 friend 发送电子邮件不起作用

标签 php email magento

Magento 中有 Email to a Friend(一种介绍 friend 的方式)功能。您可以在产品查看页面中看到“发送给 friend 的电子邮件”链接。

每当我尝试通过此向 friend 发送电子邮件时,我都会收到以下错误:-

部分邮件未发送

我已从系统 -> 配置 -> 高级 -> 系统 -> 邮件发送设置 配置主机

我还在 php.ini 文件中配置了 SMTPsendmail_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/

相关文章:

php mysql 错误 - #1273 - #1273 - 未知排序规则 : 'utf8mb4_general_ci'

validation - 电子邮件验证外来字符

android - 检查android中是否设置了任何电子邮件帐户

在高级配置中禁用 Mage Module 输出后 Magento 白屏

php - 我的语法有什么问题吗?

php - call_user_func() 和 $var() 之间有区别吗?

用于在电子邮件中嵌入图像的 php 库

php - 来自 cron 脚本的 Mage::getStoreconfig()

php - 使用不同的过滤 Magento 集合而不是产品

php - Doctrine2 结果缓存 ID