简体   繁体   English

什么会阻止WordPress将电子邮件发送到非本地电子邮件地址?

[英]What would prevent WordPress from sending emails to non-local email addresses?

I have setup our blog on my local machine with PHP5.3/FastCGI and MySQL (Windows 7/IIS 7.5) ... (FYI - I'm new to Windows Servers and IIS) 我已经在本地计算机上使用PHP5.3 / FastCGI和MySQL(Windows 7 / IIS 7.5)设置了博客(仅供参考-我是Windows Server和IIS的新手)

I got this message: The e-mail could not be sent. 我收到此消息: 无法发送电子邮件。 Possible reason: your host may have disabled the mail() function... when a co-worker clicked the 'lost password' link on the 'wp-login' page. 可能的原因:当同事单击“ wp登录”页面上的“丢失的密码”链接时, 您的主机可能已禁用mail()函数

I defined our network's mail server via 'php.ini' and voila!- Lost password email worked. 我通过``php.ini''和voila定义了我们网络的邮件服务器!-丢失密码的电子邮件有效。 -or so I thought. -还是我想。

Turns out, emails such as the lost password and new-user (password) are only being successfully sent to users with our mail server's url address (johndoe@horsepowerfreaks.com) 原来,诸如丢失密码和新用户(密码)之类的电子邮件仅能成功发送给具有我们邮件服务器URL地址(johndoe@horsepowerfreaks.com)的用户。

So my question is: Why would WordPress not be able to send emails to email addresses outside our domain? 所以我的问题是:为什么WordPress无法将电子邮件发送到我们域外的电子邮件地址? I know the first thing people will guess (as I have) that it is something to do with our mail server (Microsoft Exchange Server)... 我知道人们会想到的第一件事(正如我所知道的)与我们的邮件服务器(Microsoft Exchange Server)有关...

Could it be something to do with the config of WP? 可能与WP的配置有关吗?

This is almost certainly a security configuration problem with your Exchange SMTP server, not with WordPress. 几乎可以肯定,这是您的Exchange SMTP服务器(而不是WordPress)的安全配置问题。 Take a look at this: 看看这个:

http://terenceluk.blogspot.com/2011/10/unable-to-relay-mail-to-external-domain.html http://terenceluk.blogspot.com/2011/10/unable-to-relay-mail-to-external-domain.html

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM