CDO.Message problems

Discussion in 'ASP General' started by Andrew Wan, May 16, 2008.

  1. Andrew Wan

    Andrew Wan Guest

    I use CDO.Message to send mail. The problem is, CDO.Message will send to any
    malformed address, (eg. smtp:) and no errors are
    thrown. That's ok.

    Is there any way to receive bounced messages?
     
    Andrew Wan, May 16, 2008
    #1
    1. Advertising

  2. "Andrew Wan" <> wrote in message
    news:...
    > I use CDO.Message to send mail. The problem is, CDO.Message will send to

    any
    > malformed address, (eg. smtp:) and no errors are
    > thrown. That's ok.
    >
    > Is there any way to receive bounced messages?
    >


    Const cdoDSNFailure = 2
    Const cdoDNSDelay = 8
    Const cdoDispositionNotificationTo =
    "urn:schemas:mailheader:disposition-notification-to"

    oMsg.Fields(cdoDispositionNotificationTo) = ""
    oMsg.DSNOptions = cdoDSNFailure ' or cdoDNSDelay
    oMsg.Fields.Update

    --
    Anthony Jones - MVP ASP/ASP.NET
     
    Anthony Jones, May 16, 2008
    #2
    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. Guest
    Replies:
    2
    Views:
    884
    dave wanta
    Jul 11, 2003
  2. Freddy
    Replies:
    2
    Views:
    590
    Freddy
    Jun 17, 2004
  3. Paul Cheevers

    CDO.Message email CC List problems

    Paul Cheevers, Jul 8, 2004, in forum: ASP General
    Replies:
    4
    Views:
    176
    Paul Cheevers
    Jul 9, 2004
  4. shots86

    CDO.Message problems

    shots86, Dec 2, 2005, in forum: ASP General
    Replies:
    1
    Views:
    131
    Larry Randolf
    Dec 3, 2005
  5. Replies:
    0
    Views:
    283
Loading...

Share This Page