本文发表在 rolia.net 枫下论坛Thanks for those people who replied my last post regarding the problem of sending email through ASP .NET application. Your answers really help me. I got one step further: I couldn't send email from ASP .NET application through our company's mail server a few days ago, I found the problem was that anti-virus software in my local computer blocked port 25. The ASP .NET application in my local computer for sending email is now working, but only for internal email address. I would like to ask the following:
1. When I moved this application to web server, it didn't work again. FYI, web server is the same computer where the mail server is. Could the port 25 be blocked same as my local computer? I don't have access to web server, so I couldn't see anything on web server. What other possible reasons?
2. Sending email only works for internal email address, but not for external email address. Sending to external email gave me the error saying Policy rejection to target address...Could this cause by SMTP configuration on mail server?
3. Our system admin said he tested mail server through MS Outlook, it works for external email. If it works for MS Outlook, but it doesn't work for ASP .NET application. What reasons could be?
Thanks for any reply.更多精彩文章及讨论,请光临枫下论坛 rolia.net
1. When I moved this application to web server, it didn't work again. FYI, web server is the same computer where the mail server is. Could the port 25 be blocked same as my local computer? I don't have access to web server, so I couldn't see anything on web server. What other possible reasons?
2. Sending email only works for internal email address, but not for external email address. Sending to external email gave me the error saying Policy rejection to target address...Could this cause by SMTP configuration on mail server?
3. Our system admin said he tested mail server through MS Outlook, it works for external email. If it works for MS Outlook, but it doesn't work for ASP .NET application. What reasons could be?
Thanks for any reply.更多精彩文章及讨论,请光临枫下论坛 rolia.net