i am using vb.net 2003.i do my project in windows application.i want to send a mail from vb.net windows application.plz help me.
Printable View
i am using vb.net 2003.i do my project in windows application.i want to send a mail from vb.net windows application.plz help me.
you may check the System.Web.Mail.SmtpMail (reference System.Web)
simple sample code:
Edit: other approach can be found in this thread (by HannesTheGreat)http://www.codeguru.com/forum/showthread.php?t=426513Code:Dim m As System.Web.Mail.SmtpMail
m.Send("<recipient email address>", "<sender email address>", "hello world", "good morning!")