Re: Detect Undeliverable Email using WebDAV?
- From: "Li Weng" <wlwlwlwl@xxxxxxxxxxxxxxxx>
- Date: Wed, 1 Feb 2006 05:45:26 -0800
Hi, Glen:
I can get my original email (yes, it's as an attachment). The problem is I
want to get the system's message, i.e.,
"Your message did not reach some or all of the intended recipients. ..."
In order word, I want to get nondelivery report contents, especially which
email addresses are undeliverable, using WebDAV.
Thanks.
Li
"Glen Scales [MVP]" wrote:
> The original message (if it is there) is stored as a separate body part on
> the message. Depending on what API your using in CDOEX you can get this by
> just looping though the attachments collection and looking for a message
> with a content type of RFC/822 eg
>
> set msgobj = createobject("CDO.Message")
> msgobj.datasource.open Href,oCon,3
> set objattachments = msgobj.attachments
> for each objattachment in objattachments
> if objAttachment.ContentMediaType = "message/rfc822" then
> set msgobj1 = createobject("cdo.message")
> msgobj1.datasource.OpenObject objattachment, "ibodypart"
> exit for
> end if
> next
>
> In WebDAV you should be able to do something simular with the X-MS-ENUMATTS
> Method or just get the whole message stream and parse it out yourself.
>
> Cheers
> Glen
>
> "Li Weng" <wlwlwlwl@xxxxxxxxxxxxxxxx> wrote in message
> news:67771CC2-3969-44C1-A839-BF4E872467D8@xxxxxxxxxxxxxxxx
> > Hi,
> >
> > I saw the discussion about "Detect Undeliverable Email using WebDAV" by
> > Frank and Glen. I had the similar problem and I also want to get the
> > Undeliverable email body, i.e.,
> >
> > "Your message did not reach some or all of the intended recipients.
> > Subject: 11:46. 1/26/06.
> > Sent: 1/26/2006 11:47 AM
> > The following recipient(s) could not be reached: ... "
> >
> > What property holds it? htmldescription and textdescription properties
> > don't
> > exist for Undeliverable email from Exchange. In other word, how to get
> > this
> > Nondelivery report contents?
> >
> > Thanks in advance.
> >
> > Li
> >
>
>
>
.
- Follow-Ups:
- Re: Detect Undeliverable Email using WebDAV?
- From: Glen Scales [MVP]
- Re: Detect Undeliverable Email using WebDAV?
- References:
- Re: Detect Undeliverable Email using WebDAV?
- From: Glen Scales [MVP]
- Re: Detect Undeliverable Email using WebDAV?
- Prev by Date: Re: Error 403 creating appointment (WebDAV)
- Next by Date: Re: Detect Undeliverable Email using WebDAV?
- Previous by thread: Re: Detect Undeliverable Email using WebDAV?
- Next by thread: Re: Detect Undeliverable Email using WebDAV?
- Index(es):
Relevant Pages
|
Loading