MailMessage mailMess = new MailMessage (); mailMess.From = "abc@gmail.com "; mailMess.To = "xyz@gmail.com"; mailMess.Subject = "Test email"; mailMess.Body = "Hi This is a test mail."; SmtpMail.SmtpServer = "localhost"; SmtpMail.Send (mailMess);
MailMessage mailMess = new MailMessage (); mailMess.From = "abc@gmail.com "; mailMess.To = "xyz@gmail.com"; mailMess.Subject = "Test email"; mailMess.Body = "Hi This is a test mail."; SmtpMail.SmtpServer = "localhost"; SmtpMail.Send (mailMess);
Copyright © 2016 - | ViASTUDY | ViA Research Foundation | All Right Reserved
0 Comments