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. Advertisements

  2. Hi

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

    Ravikanth
     
    Ravikanth[MVP], Jul 28, 2003
    #2
    1. Advertisements

  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.
     
    Kevin Spencer, Jul 28, 2003
    #3
    1. Advertisements

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.