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

Is there any way to receive bounced messages?

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

--
Anthony Jones - MVP ASP/ASP.NET


 | 
Pages: 1
Prev: IF exist /w FSO
Next: divisiorn problem