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.