MailMessage mail = new MailMessage(); mail.To = "receivers@email.address"; mail.From = "senders@email.address"; mail.BodyFormat = MailFormat.Text; mail.Subject = "Subject of this Email"; mail.Body = "Body of this message."; SmtpMail.Send(mail);
MailMessage mail = new MailMessage(); mail.To = "receivers@email.address"; mail.From = "senders@email.address"; mail.BodyFormat = MailFormat.Text; mail.Subject = "Subject of this Email"; mail.Body = "Body of this message."; SmtpMail.Send(mail);
Posted by AG at 11:33 PM
Labels: asp.net, email notification
0 comments:
Post a Comment