开发者

PHP mail function not working on new Exchange 2010 Server

When trying to send mail (to email addresses within the domain) using PHP's mail() function on my new Exchange 2010 server I get the error:

mail(): SMTP server response: 501 5.1.3 Invalid address

I tried creating a new receive connector with anonymous authentication but that doesn't seem to h开发者_Go百科elp, and honestly I have little to no experience with Exchange Server.

The address is valid, btw.


Try adding this on top:

ini_set("sendmail_from", "email@yourdomian.com");

It'll work

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜