Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how do i use smtpmail to send mail messages

Status
Not open for further replies.

2314

Programmer
May 19, 2001
69
IN
how do i use smtpmail to send mail messages
 
Dim from As String = "You@YourEmail.com"
Dim mailto As String = "You@YourEmail.com"
Dim subject As String = "Test Mail"
Dim body As String = "This is a test E-mail."
SmtpMail.SmtpServer = "smtp.SERVERNAME.XXX"
SmtpMail.Send(from, mailto, subject, body)

Becca

Somtimes, the easy answer is the hardest to find. :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top