简体   繁体   English

邮寄交换服务器SMTP服务器响应:550验证失败

[英]Mail an exchange server SMTP server response: 550-Verification failed

How do I send an email to my exchange server? 如何将电子邮件发送到交换服务器? When I set the php.ini file with send_from="x@domain.com" it says 550 verification failed. 当我使用send_from =“ x@domain.com”设置php.ini文件时,它说550验证失败。 How do I verify myself? 我如何验证自己?

I am using SMTP: mail.domain.com 我正在使用SMTP:mail.domain.com

Its probably a good idea to use a class like phpmailer http://sourceforge.net/projects/phpmailer/ to do this. 使用类似phpmailer http://sourceforge.net/projects/phpmailer/的类来执行此操作可能是一个好主意。

That way if you have multiple projects that need to send via a different account or different servers then you won't have any problems. 这样,如果您有多个项目需要通过不同的帐户或不同的服务器发送,则不会有任何问题。

The error you're getting is because your exchange server requires authentication and your script isn't using authentication or its using the wrong information. 您收到的错误是因为交换服务器需要身份验证,并且脚本未使用身份验证或其脚本使用了错误的信息。 I've never really relied on the built in php sendmail functions so I can't be 100% sure but I don't think it supports authentication. 我从来没有真正依赖过内置的php sendmail函数,所以我不能100%确定,但是我不认为它支持身份验证。 (I might be wrong on that point, but I still recommend a class that you can configure per script over a globally configured mail account) (在这一点上我可能是错的,但是我仍然建议您可以通过全局配置的邮件帐户针对每个脚本配置的类)

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 550验证失败,电子邮件域很少 - 550-Verification failed with few email domains 警告:mail()[function.mail]:SMTP服务器响应:550 - Warning: mail() [function.mail]: SMTP server response: 550 SMTP服务器响应:550 Apache php邮件服务器 - SMTP server response: 550 apache php mail server mail():SMTP服务器响应:550 hmailserver上的地址无效错误 - mail(): SMTP server response: 550 The address is not valid error on hmailserver 警告:mail()[function.mail]:SMTP服务器响应:550无效的收件人: - Warning: mail() [function.mail]: SMTP server response: 550 Invalid recipient: 如何修复mail():SMTP服务器响应:550 5.5.0 PHP中无效的EHLO / HELO域错误 - how to fix mail(): SMTP server response: 550 5.5.0 Invalid EHLO/HELO domain error in php 警告:mail():SMTP 服务器响应:550 语法无效。 语法应为 MAIL FROM:<mailbox@domain>[crlf] - Warning: mail(): SMTP server response: 550 Invalid syntax. Syntax should be MAIL FROM:<mailbox@domain>[crlf] 如何从 SMTP 邮件服务器获得失败的响应? - How to get failed response from SMTP mail server? SMTP 服务器响应:550 简单 email 功能的收件人无效 - SMTP server response: 550 Invalid recipient to a simple email feature 数据结束后来自远程邮件服务器的 SMTP 错误:550 使用 PHP mail() 发送垃圾邮件的概率很高? - SMTP error from remote mail server after end of data: 550 High probability of spam with PHP mail()?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM