windows Joomla 1.5:为什么尝试发送电子邮件会导致:PHPMAILER_RECIPIENTS_FAILED
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/581393/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Joomla 1.5: why does trying to send email result in: PHPMAILER_RECIPIENTS_FAILED
提问by Omer
I'm trying to send emails from Joomla! 1.5.9, but keep getting this error message: PHPMAILER_RECIPIENTS_FAILEDrecipient_name<recipient_email>
我正在尝试从 Joomla 发送电子邮件!1.5.9,但不断收到此错误消息:PHPMAILER_RECIPIENTS_FAILED RECIPIENT_NAME< RECIPIENT_EMAIL>
A few more facts:
还有一些事实:
- It's a WAMP server (joomla 1.5.9, PHP 5.2.8)
- Validation emails are sent with no problem at all
- Joomla! is set to use SMTP
- The IIS SMTP service is used (though I'm not 100% sure about it's configuration)
- The diagnostics tool smtpdiag shows no problem when checking the sender/recipient
- 这是一个 WAMP 服务器(joomla 1.5.9,PHP 5.2.8)
- 发送验证电子邮件完全没有问题
- 乔姆拉!设置为使用 SMTP
- 使用了 IIS SMTP 服务(虽然我不是 100% 确定它的配置)
- 检查发件人/收件人时,诊断工具smtpdiag显示没有问题
Any ideas?
有任何想法吗?
Thanks, Omer.
谢谢,奥默。
回答by Sukumar
Perhaps this has already been answered before @ Joomla forums itself.
也许在@Joomla 论坛本身之前已经回答了这个问题。
回答by Binod Kalathil
I tried many of the solutions given in the link Sukumar provided but none of them worked.
我尝试了 Sukumar 提供的链接中给出的许多解决方案,但没有一个奏效。
Then I tried to use PHP mail function instead of SMTP and it worked :)
然后我尝试使用 PHP 邮件功能而不是 SMTP 并且它起作用了:)
Change the following line in configuration.php in the root folder
在根文件夹中的 configuration.php 中更改以下行
var $mailer = 'smtp';
to
到
var $mailer = 'PHP mail';