Smtp Config in asp.Net -
, I have developed small asp.net applications. I send mail through this application. So coding my web config file
& lt; Network Host = "smtp.gmail.com" port = "587" userName = "username@domainname.com" password = "*****" /> & Lt; / Smtp & gt; & Lt; / MailSettings & gt;
We have Google Apps We do not have a mail server. I try to send mail, it takes time, error, if you are using System.Net.Mail.MailMessage
> Try this:
yourMailMessage.EnableSsl = true;
Comments
Post a Comment