Sending Mail Problem

Discussion in 'ASP .Net Security' started by jester, Nov 12, 2003.

  1. jester

    jester Guest

    Hi!

    I encounter error when using System.Web.Mail for sending
    mail in an ASP.NET app. In WinForm app, all's well and no
    problem at all. I already tried impersonating my domain
    account in my ASP.NET app but still no success. Here's the
    chain of error msgs (from inner exceptions):

    System.Web.HttpException
    Could not access 'CDO.Message object'

    System.Reflection.TargetInvocationException
    Exception has been thrown by the target of an invocation

    System.Runtime.InteropServices.COMException
    The transport failed to connect to the server


    Thanks for any help :)
    jester, Nov 12, 2003
    #1
    1. Advertising

  2. jester

    Teemu Keiski Guest

    Hi,

    http://www.asp.net/Forums/ShowPost.aspx?tabindex=1&PostID=268037

    --
    Teemu Keiski
    MCP, Microsoft MVP (ASP.NET), AspInsiders member
    ASP.NET Forum Moderator, AspAlliance Columnist

    "jester" <> wrote in message
    news:00a301c3a8d2$55cc0b60$...
    >
    > Hi!
    >
    > I encounter error when using System.Web.Mail for sending
    > mail in an ASP.NET app. In WinForm app, all's well and no
    > problem at all. I already tried impersonating my domain
    > account in my ASP.NET app but still no success. Here's the
    > chain of error msgs (from inner exceptions):
    >
    > System.Web.HttpException
    > Could not access 'CDO.Message object'
    >
    > System.Reflection.TargetInvocationException
    > Exception has been thrown by the target of an invocation
    >
    > System.Runtime.InteropServices.COMException
    > The transport failed to connect to the server
    >
    >
    > Thanks for any help :)
    Teemu Keiski, Nov 12, 2003
    #2
    1. Advertising

  3. jester

    jester Guest

    Thank you very much, Teemu Keiski :)

    >-----Original Message-----
    >Hi,
    >
    >http://www.asp.net/Forums/ShowPost.aspx?

    tabindex=1&PostID=268037
    >
    >--
    >Teemu Keiski
    >MCP, Microsoft MVP (ASP.NET), AspInsiders member
    >ASP.NET Forum Moderator, AspAlliance Columnist
    >
    >"jester" <> wrote in

    message
    >news:00a301c3a8d2$55cc0b60$...
    >>
    >> Hi!
    >>
    >> I encounter error when using System.Web.Mail for sending
    >> mail in an ASP.NET app. In WinForm app, all's well and

    no
    >> problem at all. I already tried impersonating my domain
    >> account in my ASP.NET app but still no success. Here's

    the
    >> chain of error msgs (from inner exceptions):
    >>
    >> System.Web.HttpException
    >> Could not access 'CDO.Message object'
    >>
    >> System.Reflection.TargetInvocationException
    >> Exception has been thrown by the target of an invocation
    >>
    >> System.Runtime.InteropServices.COMException
    >> The transport failed to connect to the server
    >>
    >>
    >> Thanks for any help :)

    >
    >
    >.
    >
    jester, Nov 13, 2003
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    4
    Views:
    55,434
  2. =?Utf-8?B?T3Bh?=

    Sending Mail via System.Net.Mail problem

    =?Utf-8?B?T3Bh?=, Jan 25, 2006, in forum: ASP .Net
    Replies:
    3
    Views:
    3,581
    sachya
    Jan 31, 2006
  3. =?ISO-8859-1?Q?Andr=E9s_Berenguer?=

    Sending e-mail with attachments with the default e-mail client

    =?ISO-8859-1?Q?Andr=E9s_Berenguer?=, Aug 29, 2003, in forum: Java
    Replies:
    0
    Views:
    497
    =?ISO-8859-1?Q?Andr=E9s_Berenguer?=
    Aug 29, 2003
  4. Replies:
    0
    Views:
    1,327
  5. Luke
    Replies:
    2
    Views:
    4,673
    Nigel Wade
    Mar 15, 2007
Loading...

Share This Page