开发者

.NET (System.Net.Email) - Issues when sending email out

Experts,

I'm having issue when sending emails out. Currently, I have a feedback form that supposed to send an email to the support email. For whatever reason, I never received any email from the app and the funny thing is when I changed the support email to my gmail, hotmail, or Yahoo account, I received it. The support email is active though.

Is this possibly related to the SMTP setup? Or, is there any possibility that blocks it? Firew开发者_JAVA技巧all maybe...?? Permission settings??

I'm using Windows Server 2008, ASP.NET 3.5, IIS 7

FYI: I've setup the SMTP settings in the IIS 7. I tried telnet, the same result as what I mentioned above. I didn't get the email in my support email.

Thanks.


It's tough to do email these days. Most email servers reject mail that doesn't come from properly configured mail servers in an attempt to fight spam, and that includes having correct DNS records, reverse DNS lookup, SPF records, etc...

Even if you have all that, it's quite possible the email is being trapped by a spam filter, or even just rejected by your smtp server.

You need to contact your email servers administrator (the one that receives the email) and find out what policies they have in place to reject email, then make sure you account for those or get the admins to put in an exception for you.

If the email address is internal, just use your companies email server, and don't use the IIS one.


Have you seen Jeff Atwoods article on this. Shows how tough it is to get this working.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜