Answered ASP.net Sending email with smtp

  • Friday, June 15, 2012 7:03 AM
     
     
    I 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 AM
    Moderator
     
     Answered

    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:

    http://www.4guysfromrolla.com/articles/072606-1.aspx

  • 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.