"Could not access 'CDO.Message' object." How to resolve in IIS server

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Kamal

    "Could not access 'CDO.Message' object." How to resolve in IIS server

    I am trying to send mail through smtp. smtp service is
    running on my machine. But every time during the
    smtpmail.send(m sg) call gives "Could not
    access 'CDO.Message' object." error. Could some one help
    me out to resolve this issue.

    Thanks in advance,
    Kamal
  • Eric

    #2
    Re: "Could not access 'CDO.Message' object." How to resolve in IIS server

    The message on the caught exception is rather misleading as it always seems
    to come back with that regardless of the true problem. Check
    exception.Inner Exception.Inner Exception.Messa ge to get the true cause of the
    error. Provided it isn't rejecting the attempt due to an invalid e-mail
    address, it could be that you need to specify the SMTP server via the
    SmtpMail.SmtpSe rver property.

    Eric

    "Kamal" <kamal@dmdata.c om> wrote in message
    news:0c3e01c33c c4$6123ab50$a50 1280a@phx.gbl.. .[color=blue]
    > I am trying to send mail through smtp. smtp service is
    > running on my machine. But every time during the
    > smtpmail.send(m sg) call gives "Could not
    > access 'CDO.Message' object." error. Could some one help
    > me out to resolve this issue.
    >
    > Thanks in advance,
    > Kamal[/color]


    Comment

    Working...