Professional Web Applications Themes

Sending Mail Problem - ASP.NET Security

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 :)...

  1. #1

    Default Sending Mail Problem


    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 Guest

  2. #2

    Default Re: Sending Mail Problem

    Hi,

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

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

    "jester" <anonymousdiscussions.microsoft.com> wrote in message
    news:00a301c3a8d2$55cc0b60$a001280aphx.gbl...
    >
    > 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 Guest

  3. #3

    Default Re: Sending Mail Problem


    Thank you very much, Teemu Keiski :)
    >-----Original Message-----
    >Hi,
    >
    >[url]http://www.asp.net/Forums/ShowPost.aspx?[/url]
    tabindex=1&PostID=268037
    >
    >--
    >Teemu Keiski
    >MCP, Microsoft MVP (ASP.NET), AspInsiders member
    >ASP.NET Forum Moderator, AspAlliance Columnist
    >
    >"jester" <anonymousdiscussions.microsoft.com> wrote in
    message
    >news:00a301c3a8d2$55cc0b60$a001280aphx.gbl...
    >>
    >> 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 Guest

Similar Threads

  1. [PHP] Problem sending HTML formated mail
    By David T-G in forum PHP Development
    Replies: 2
    Last Post: September 18th, 07:22 PM
  2. Problem sending HTML formated mail
    By SLanger@spirit21.de in forum PHP Development
    Replies: 0
    Last Post: September 17th, 06:48 AM
  3. #25357 [NEW]: Mail() function is loosing cahracters when sending mail
    By pjsmith at microtech dot co dot gg in forum PHP Development
    Replies: 0
    Last Post: September 2nd, 11:32 AM
  4. problem when sending mail
    By scott john in forum PHP Development
    Replies: 3
    Last Post: August 22nd, 07:59 PM
  5. [PHP] Mail() Problem Sending
    By Ben C . in forum PHP Development
    Replies: 3
    Last Post: August 19th, 03:07 PM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139