send email from localhost to webmail
Visual Basic
3
Posts
3
Posters
0
Views
1
Watching
-
Hi all, can someone help out on how to send email from my local host to the webmail using vb.Net??? Thanks in advance.. besah
well you can try this imports system.net.mail Private sub SendIT Dim objMail as new MailMessage (strFrom, strTo, strSubject, strBody) Dim objSend as new SMTPClient objSend.Host="Your SMTP server" objSend.Send(objMail) End sub As You can see, it is simple ;) Oggy ;)
-
well you can try this imports system.net.mail Private sub SendIT Dim objMail as new MailMessage (strFrom, strTo, strSubject, strBody) Dim objSend as new SMTPClient objSend.Host="Your SMTP server" objSend.Send(objMail) End sub As You can see, it is simple ;) Oggy ;)