Send an email in .net
Send an email in .net
Rate Send an email in .net
(1(1 Vote))
mail.From = "sender adress"
mail.To = "target adress"
mail.Body = "content"
mail.Subject = "subject of mail"
mail.Attachments.Add(New System.Web.Mail.MailAttachment("path to a file"))
System.Web.Mail.SmtpMail.SmtpServer = "your mail server"
System.Web.Mail.SmtpMail.Send(mail)
Send an email in .net Comments
No comments yet — be the first to post one!
Post a Comment