Sending message to SMTP server using CDONTS component

Discussion in 'ASP .Net' started by Chris Pearson, Jul 28, 2003.

  1. I recently set up a web site which I am running locally
    on my laptop using ASP.Net. From a web form on the site I
    am attempting to send an email programmatically using the
    CDONTS class to an SMTP server. Prior to use of the
    CDONTS component a message was returned to the sending
    address with an error message contained. Now I am
    recieving no returned message but the intended mail is
    not arriving at its intended destination. I wondered if
    there is any important issues regarding CDONTS and SMTP
    that I need to know. Thanks
     
    Chris Pearson, Jul 28, 2003
    #1
    1. Advertising

  2. Hi

    It will be better if you can provice what error message
    you are getting.

    Ravikanth


    >-----Original Message-----
    >I recently set up a web site which I am running locally
    >on my laptop using ASP.Net. From a web form on the site

    I
    >am attempting to send an email programmatically using

    the
    >CDONTS class to an SMTP server. Prior to use of the
    >CDONTS component a message was returned to the sending
    >address with an error message contained. Now I am
    >recieving no returned message but the intended mail is
    >not arriving at its intended destination. I wondered if
    >there is any important issues regarding CDONTS and SMTP
    >that I need to know. Thanks
    >.
    >
     
    Ravikanth[MVP], Jul 28, 2003
    #2
    1. Advertising

  3. If you're using the CDONTS COM object, try using the System.Web.Mail classes
    instead.

    --
    HTH,

    Kevin Spencer
    Microsoft MVP
    ..Net Developer
    http://www.takempis.com
    Big things are made up of
    lots of little things.

    "Chris Pearson" <> wrote in message
    news:2dc201c354df$817cdd30$...
    > I recently set up a web site which I am running locally
    > on my laptop using ASP.Net. From a web form on the site I
    > am attempting to send an email programmatically using the
    > CDONTS class to an SMTP server. Prior to use of the
    > CDONTS component a message was returned to the sending
    > address with an error message contained. Now I am
    > recieving no returned message but the intended mail is
    > not arriving at its intended destination. I wondered if
    > there is any important issues regarding CDONTS and SMTP
    > that I need to know. Thanks
     
    Kevin Spencer, Jul 28, 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:
    3
    Views:
    1,133
    Roedy Green
    Jan 24, 2006
  2. Alex Hunsley
    Replies:
    4
    Views:
    3,702
    Tim Williams (gmail)
    Jun 29, 2004
  3. Chris Kennedy

    Using CDONTS to logon the IIS SMTP server

    Chris Kennedy, Nov 19, 2003, in forum: ASP General
    Replies:
    1
    Views:
    127
    Jeff Cochran
    Nov 19, 2003
  4. M P
    Replies:
    6
    Views:
    209
  5. tamaker
    Replies:
    3
    Views:
    197
    Anthony Jones
    Dec 13, 2007
Loading...

Share This Page