By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,707 Members | 972 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,707 IT Pros & Developers. It's quick & easy.

Emailing with VB .Net

P: n/a
Here u go..Hope this help
just crete a reference to system.web if u r using Vs.Net
when u create a VB project this library is not referenced
by default.
This is an Example from MSDN, I create a class that does
pretty much the same but its kinda easier to do that once
and use it as many time u want..

Dim email As New System.Web.Mail.MailMessage()
email.To = "RecipientAddress"
email.From = "SenderAddress"
email.Body = "MessageText"
email.Subject = "SubjectText"
email.BodyFormat = Web.Mail.MailFormat.Text
System.Web.Mail.SmtpMail.SmtpServer = "SmtpServerName"
I am looking now classes to read Emails, but I think i
will have to Build One based on the protocol..or maybe buy
ine from the Net. :(
-----Original Message-----
I need to send email from VB .Net. However, everything
I've tried does not work. I am running XP with no IIS and
have DSL through SBC. Can anyone tell me what would be thebest way to do this?


Jul 19 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.