|
-
Oct 10th, 2002, 12:12 PM
#1
Thread Starter
Junior Member
Emailing,CDO,SMTP Help....
Hi
I am trying to build an emailing application with vb.net
I am using the following code:
Dim mailMessage As System.Web.Mail.MailMessage = New System.Web.Mail.MailMessage()
mailMessage.From = txtFROM
mailMessage.To = txtTO
mailMessage.BodyFormat = Web.Mail.MailFormat.Html
mailMessage.Subject = txtSubject
mailMessage.Body = txtBody
mailMessage.Bcc = txtBCC
System.Web.Mail.SmtpMail.SmtpServer = MxServer
System.Web.Mail.SmtpMail.Send(mailMessage)
Every thing works But: With some servers I get an error message (Could not access 'CDO.Message' object)
It's usually happen with hotmail.
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
|