PHP,IIS 7,接收 smtp;504 需要完全合格的地址
我使用带有 IIS7 和 PHP 的 Drupal 通过电子邮件发送表单结果。用户填写表格,表格(应该)通过电子邮件发送给我。脚本运行没有错误,但没有发送电子邮件。当我查看虚拟 smtp 服务器的队列文件夹时,有以下内容:
Final-Recipient: rfc822;[email protected] *my email is here*
Action: failed
Status: 5.5.0
Diagnostic-Code: smtp;504 Need Fully Qualified Address
php 脚本是标准的 mailto() ,没有任何装饰,没有标头或任何东西。 有什么想法吗?
I am using Drupal with IIS7 and PHP to email the results of a form. the user fills out the form, the form is (supposed to be) emailed to me. The script runs without error, but there is no email sent. When I look in the queue folder for the virtual smtp server, there is the following:
Final-Recipient: rfc822;[email protected] *my email is here*
Action: failed
Status: 5.5.0
Diagnostic-Code: smtp;504 Need Fully Qualified Address
the php script is a standard mailto() with no frills, no headers or anything.
Any thoughts?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
从给出的“需要完全合格的地址”错误的声音来看,您没有传递正确的电子邮件地址。
我的建议是使用收件人和发件人的合格地址来验证您。
然而,504错误信息通常意味着您在SMTP通信中命令不正确(这与内部协议有关)。
查看整个代码将有助于确定这是协议问题还是参数问题。
From the sounds of the error given "Need Fully Qualified Address", you are not passing a proper email address.
My suggestion is to verify you using a qualified address for both the recipient and the sender.
However, 504 error message usually means you have improperly command in the SMTP communication (which has to do with the internal protocols).
It would be helpful to see the entire code to be able to identify if this is protocol issue, or a parameter issue.