SmtpMail Error

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

    #1

    SmtpMail Error

    Configuration:
    - ASP.NET web service running on a Windows 2000 server.
    - Exchange server running on a Windows 2000 server.
    - The web server and the exchange server are on different computers in the
    network.

    Problem:
    Whenever I try to send an email, via my ASP.NET web service, using the
    SmtpMail object I receive the following HttpException message: "Could not
    access 'CDO.Message' object." Now, the interesting thing is that this will
    only occur when I try to send an email to a domain address other than our
    internal network domain. For example, me@mycompany.co m works. But,
    me@hotmail.com produces the above error.

    Thank you in advance for any suggestions.
    Mark Sanders


  • Randy Charles Morin

    #2
    Re: SmtpMail Error

    I don't think I've encountered this error, but I've encountered too
    many when using Web and Windows services. My solution. Write my own.


    Randy


    "Mark Sanders" <markwsanders@h otmail.com> wrote in message news:<eAFDzC7gD HA.1200@TK2MSFT NGP12.phx.gbl>. ..[color=blue]
    > Configuration:
    > - ASP.NET web service running on a Windows 2000 server.
    > - Exchange server running on a Windows 2000 server.
    > - The web server and the exchange server are on different computers in the
    > network.
    >
    > Problem:
    > Whenever I try to send an email, via my ASP.NET web service, using the
    > SmtpMail object I receive the following HttpException message: "Could not
    > access 'CDO.Message' object." Now, the interesting thing is that this will
    > only occur when I try to send an email to a domain address other than our
    > internal network domain. For example, me@mycompany.co m works. But,
    > me@hotmail.com produces the above error.
    >
    > Thank you in advance for any suggestions.
    > Mark Sanders[/color]

    Comment

    • Kumar Gaurav Khanna [.NET MVP]

      #3
      Re: SmtpMail Error

      Or, you could consider using CSLMail from



      --------------------------------------------------
      Kumar Gaurav Khanna
      Microsoft MVP - .NET, MCSE Windows 2000/NT4, MCP+I
      WinToolZone - Spelunking Microsoft Technologies

      OpSupport - Spelunking Rotor


      "Randy Charles Morin" <rmorin@kbcafe. com> wrote in message
      news:a4d02d64.0 309251858.12c6e 406@posting.goo gle.com...[color=blue]
      > I don't think I've encountered this error, but I've encountered too
      > many when using Web and Windows services. My solution. Write my own.
      > http://www.kbcafe.com/articles/HowTo.SMTP.CSharp.pdf
      >
      > Randy
      > http://www.kbcafe.com
      >
      > "Mark Sanders" <markwsanders@h otmail.com> wrote in message[/color]
      news:<eAFDzC7gD HA.1200@TK2MSFT NGP12.phx.gbl>. ..[color=blue][color=green]
      > > Configuration:
      > > - ASP.NET web service running on a Windows 2000 server.
      > > - Exchange server running on a Windows 2000 server.
      > > - The web server and the exchange server are on different computers in[/color][/color]
      the[color=blue][color=green]
      > > network.
      > >
      > > Problem:
      > > Whenever I try to send an email, via my ASP.NET web service, using the
      > > SmtpMail object I receive the following HttpException message: "Could[/color][/color]
      not[color=blue][color=green]
      > > access 'CDO.Message' object." Now, the interesting thing is that this[/color][/color]
      will[color=blue][color=green]
      > > only occur when I try to send an email to a domain address other than[/color][/color]
      our[color=blue][color=green]
      > > internal network domain. For example, me@mycompany.co m works. But,
      > > me@hotmail.com produces the above error.
      > >
      > > Thank you in advance for any suggestions.
      > > Mark Sanders[/color][/color]


      Comment

      Working...