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

Is there any way to receive bounced messages?

Re: CDO.Message problems by Anthony

Anthony
Fri May 16 10:01:21 CDT 2008

"Andrew Wan" <andrew_wan1980@hotmail.com> wrote in message
news:1EDE6F2B-4A83-4FF1-B9CF-B9EDD4907799@microsoft.com...
> I use CDO.Message to send mail. The problem is, CDO.Message will send to
any
> malformed address, (eg. smtp:email.address@domain.com) 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) = "fail@myemaildomain.com"
oMsg.DSNOptions = cdoDSNFailure ' or cdoDNSDelay
oMsg.Fields.Update

--
Anthony Jones - MVP ASP/ASP.NET