Magento - 更改订阅新闻通讯后发送确认的地址
默认情况下,Magento 在用户订阅时事通讯后(向用户)发送一封确认电子邮件。是否可以更改发送确认信息的电子邮件地址?
谢谢
By default, Magento sends out a confirmation email (to the user) after a user subscribes to the newsletter. Is it possible to change the email address to which the confirmation is sent?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
请参阅我对有关更改
subscribe.phtml
文件的操作路径的问题的回答。如果您覆盖subscriberController.php
中的newAction
,您将能够添加所有额外要求,例如向商店管理员发送电子邮件、更改外发电子邮件中的信息等。Magento wiki 上有详细的 演练关于如何配置 Magento 以使用自定义控制器而不是核心。这是最佳实践,因为这意味着 Magento 的未来补丁/升级不应破坏您的自定义。
Refer to my answer to your question about changing the action path of the
subscribe.phtml
file. If you override thenewAction
insubscriberController.php
, you will be able to add in all your extra requirements, such as emailing the store admin, changing the information in the outgoing email, etc.There is a detailed walkthrough on the Magento wiki on how to configure Magento to use your custom controller instead of the core. This is best practice as it means that future patches/upgrades from Magento shouldn't break your customization.