Professional Web Applications Themes

SmtpMail Error-Could not access 'CDO.Message' object.". - ASP.NET General

Hi I am using SmtpMail class for mail sending. I could able to send mail using my mailse server to our LAN. But when I tried external addresses it showed the exception Message "Could not access 'CDO.Message' object.". Can anybody help me to solve this probelm Jik...

  1. #1

    Default SmtpMail Error-Could not access 'CDO.Message' object.".

    Hi

    I am using SmtpMail class for mail sending. I could able to send mail using
    my mailse server to our LAN. But when I tried external addresses it showed
    the exception
    Message "Could not access 'CDO.Message' object.".



    Can anybody help me to solve this probelm



    Jik


    Jibu Guest

  2. #2

    Default SmtpMail Error-Could not access 'CDO.Message' object.".

    Is ur SMTP server running the same server as ur .net
    application?
    Do u mean to say all internal mails that belong to ur
    domain work and external mails dnt work?

    ravi sankar
     
    to send mail using 
    addresses it showed 
    ravi Guest

  3. #3

    Default Re: SmtpMail Error-Could not access 'CDO.Message' object.".

    Have you checked the permissions on your SMTP server? This error can occur
    when your ASP.Net account doesn't have the correct permissions on the SMTP
    server, or if the server doesn't allow Relaying, and you are trying to use a
    return address other than the SMTP server's domain.

    --
    HTH,

    Kevin Spencer
    Microsoft MVP
    ..Net Developer
    http://www.takempis.com
    The more I learn, the less I know.

    "Jibu" <biz> wrote in message
    news:%phx.gbl... 
    using 


    Kevin Guest

  4. #4

    Default Re: SmtpMail Error-Could not access 'CDO.Message' object.".

    Jik,

    Try NOT setting the smtpserver property, that 's what worked for me.
    Otherwise try itterating through the innerExceptions to find out what's
    really going wrong.


    HTH

    Jurjen de Groot
    G.I.T.S., Netherlands


    "Jibu" <biz> wrote in message
    news:%phx.gbl... 
    using 


    Jurjen Guest

Similar Threads

  1. Replies: 2
    Last Post: May 1st, 01:19 PM
  2. Replies: 2
    Last Post: February 16th, 06:40 PM
  3. Replies: 2
    Last Post: September 23rd, 06:02 AM
  4. Could not access 'CDO.Message' object
    By Nathan Alden in forum ASP.NET General
    Replies: 11
    Last Post: August 21st, 09:19 AM
  5. Email error -- CDO.Message Object, could not access
    By Charles in forum ASP.NET General
    Replies: 4
    Last Post: August 19th, 01:49 AM

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