I have came across the many forum and found there so many developers asked how to send email but the don't have SMTP server.
I would like to suggest here those guy who want to implement their email functionality in his project then for testing purpose they can use Gmail account.
MailMessage MyMailMessage=new MailMessage();
MyMailMessage.From = new MailAddress("firstname.lastname@example.org");
MyMailMessage.Subject = "Parwej Testing !!!";
MyMailMessage.Body = "This is the test text for Parwej Ahamad";
SmtpClient SMTPServer=new SmtpClient("smtp.gmail.com");
SMTPServer.Port = 587;
SMTPServer.Credentials =new System.Net.NetworkCredential("yourgmaid", "yourgmailpassword");
SMTPServer.EnableSsl = true;
Note: Please do not use Gmail SMTP server without read Terms & Condition given by Gmail.
Last Visit: 31-Dec-99 18:00 Last Update: 1-Jul-16 5:34