|
-
June 19th, 2007, 09:51 AM
#1
how do i send a mail from vb.net?
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.
-
June 19th, 2007, 09:36 PM
#2
Re: how do i send a mail from vb.net?
you may check the System.Web.Mail.SmtpMail (reference System.Web)
simple sample code:
Code:
Dim m As System.Web.Mail.SmtpMail
m.Send("<recipient email address>", "<sender email address>", "hello world", "good morning!")
Edit: other approach can be found in this thread (by HannesTheGreat)http://www.codeguru.com/forum/showthread.php?t=426513
Last edited by Thread1; June 19th, 2007 at 09:42 PM.
Busy 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|