ASP.net Sending email with smtp
-
Friday, June 15, 2012 7:03 AMI have an asp.net page with smtp set up to send emails, it worked only when i first load the page or when i have to refresh the page. And the thing is it only worked locally, it doesn't work at all when I upload it on the server. Anyone help please ?
Phuong Nguyen
All Replies
-
Thursday, June 21, 2012 1:33 AMModerator
Hi, please check your stmp server configuration, you can refer to the document on the following link about how to send email via stmp with ASP.NET:
- Marked As Answer by Allen Li - MSFTModerator Monday, June 25, 2012 2:19 AM
-
Tuesday, August 07, 2012 3:45 PM
If it doesn't work on the server it is probably because the server cannot access the SMTP server or the port between the two servers are blocked. If you’re at work you may need to contact your network team and see if they need to make some configuration changes to the network so these two servers can communicate. Also, some SMTP servers are setup so they will only respond to an authorized list of IP Addresses. Good luck.


