【Magento】ASchroder.com SMTP Pro 插件发送邮件错误

ASchroder.com SMTP Pro 是一个非常实用的magento 邮件类插件,关于插件的下载地址就不多说了。

说一下错误:

ASchroder.com SMTP Pro Self-test results
Testing outbound connectivity to Server:
Using SMTP configuration options
Connection to Host SMTP server successful.
Sending test email to your contact form address [email protected]:
Test email was sent successfully.
Contact Form test email did not use SMTPPro to send.
Testing failed,  please review the reported problems and if you need further help visit  ASchroder.com to contact me.

以上错误是说明SMTP配置已经成功了,但是email不是使用的smtppro这个插件发送的,

这里,我就不说原因了,直接介绍解决办法了。(找原因什么的,自己推吧。)

app\code\community\Aschroder\SMTPPro\Model\Email\Template.php

找到这个php文件,大约是在81行左右,找到:

$mail->setFrom($this->getSenderEmail(), $this->getSenderName());

改成

$mail->setFrom(‘后台设置的SMTP邮箱地址’, $this->getSenderName());

上传,测试,已经OK。

【Magento】ASchroder.com SMTP Pro 插件发送邮件错误_第1张图片

你可能感兴趣的:(【Magento】ASchroder.com SMTP Pro 插件发送邮件错误)