Results 1 to 6 of 6

Thread: Emailing,CDO,SMTP Help....

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2002
    Posts
    17

    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.

  2. #2

    Thread Starter
    Junior Member
    Join Date
    Feb 2002
    Posts
    17

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Feb 2002
    Posts
    17
    Help me ,Please ....

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Feb 2002
    Posts
    17

    Unhappy

    ^^^^^^^^^^^^^^^^^^^^^

  5. #5
    Fanatic Member venerable bede's Avatar
    Join Date
    Sep 2002
    Location
    The mystic land of Geordies
    Posts
    1,018
    The CDO component must be installed on the server.

    I had the same problem so i got in touch with my ISP and they sorted it out.

    Parksie

  6. #6

    Thread Starter
    Junior Member
    Join Date
    Feb 2002
    Posts
    17
    Where can i get CDO component from?
    I searched microsoft web sit , I didn't find it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width