VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Send an email in .net

by Sei-I-Tai Shogun: Blackbrunei (1 Submission)
Category: Internet/HTML
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Fri 20th February 2004
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Send an email in .net

Rate Send an email in .net




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)

Download this snippet    Add to My Saved Code

Send an email in .net Comments

No comments have been posted about Send an email in .net. Why not be the first to post a comment about Send an email in .net.

Post your comment

Subject:
Message:
0/1000 characters