开发者

Cannot send emails to foreign domains

I try to send emails through ASP.NET interface and can't get it to work. Emails are sent, but only if the receiver of the email has the same domain name as my s开发者_JAVA技巧erver (receiver@mydomain.com). The weird thing is, I actually CAN send such emails from any email program. So it seems that my Web.config file is missing something (?), although it looks ok (for me):

    <mailSettings>
        <smtp deliveryMethod="Network">
            <network host="mydomain.com" userName="info@mydomain.com" password="XXX" port="25" defaultCredentials="false" />    
        </smtp>
    </mailSettings>

Any ideas?


OK, it was a provider issue

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜