hi every body i have followed these example http://usingaspdotnet.blogspot.com/2011/07/sending-reset-password-link-for-one.html to reset pass word but i have an error its
The specified string is not in the form required for an e-mail address. i put my gmail address and password in
System.Net.NetworkCredential mailAuthenticaion = new System.Net.NetworkCredential("[email protected]", "12345678");
but still have error !! what is the slouation ?
Loading
alaaPosted May 15, 2014, 11:55 AM
System.Net.Mail.SmtpClient mailclient = new System.Net.Mail.SmtpClient("smtp.gmail.com", 25);
The specified string is not in the form required for an e-mail address.
Gopi ChandPosted May 15, 2014, 11:28 AM
Just go through the link given below.
http://www.c-sharpcorner.com/UploadFile/9a9e6f/how-to-send-email-with-attachment-using-javamail-api962/
Hope it will help you..
Thanks..!!
Khan Abrar AhmedPosted May 15, 2014, 10:21 AM
Change the TCp port to 25 and then try
System.Net.Mail.SmtpClient mailclient = new System.Net.Mail.SmtpClient("smtp.gmail.com", 25)