Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Exchange
2000.active.directory
2000.admin
2000.announcements
2000.app.conversion
2000.applications
2000.clients
2000.clustering
2000.connectivity
2000.development
2000.documentation
2000.general
2000.information.store
2000.interop
2000.kms
2000.misc
2000.protocols
2000.realtime.collabo.
2000.setup
2000.transport
2000.win2000
admin
application.conversion
applications
clients
clustering
connectivity
design
development
misc
mobility
setup
tools
  
 
date: Fri, 29 Jul 2005 11:46:10 -0700,    group: microsoft.public.exchange2000.development        back       


Get Embedded Attachment Info?   
Using WebDAV, I have successfully detected an embedded attachment in an email 
and have it's URL (the href to the .EML) using X-MS-ENUMATTS.   I then did a 
GET request against the URL and saved it the results to a file.  I get the 
following data back (please note that this was for an email that was returned 
as undeliverable.  I sent this as undeliverable on purpose as I need to 
handle these messages in my application).

Received: by flspexuser02.us.aegon.com 
	id ; Mon, 25 Jul 2005 16:49:24 
-0400
MIME-Version: 1.0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: binary
Return-Path: 
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
X-OriginalArrivalTime: 25 Jul 2005 20:49:25.0015 (UTC) 
FILETIME=[5772C270:01C5915A]
Content-class: urn:content-classes:message
Subject: Test of undeliverable Email
Date: Mon, 25 Jul 2005 16:46:57 -0400
Message-ID: 
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Test of undeliverable Email
Thread-Index: AcWRWgF4v9at5FlnRuSyCcQBbkfgkg==
From: "AWDEmailTest" 
To: "Bozo The Clown" 
Cc: 
Reply-To: "AWDEmailTest" 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7226.0">
<TITLE>Test of undeliverable Email</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>This is a test of a mail sent to a non-existing address.<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>

This is too much.  I was hoping to get a nicely formatted XML document (like 
a normal WebDAV search).  Is there another way to retrieve the embedded 
attachment (email) information instead of using a GET?  Outlook shows this 
email to me like this:

Your message did not reach some or all of the intended recipients.

      Subject:	Test of undeliverable Email
      Sent:	7/25/2005 4:47 PM

The following recipient(s) could not be reached:

      bozo49583@msn.com on 7/25/2005 4:50 PM
            There was a SMTP communication problem with the recipient's 
email server.  Please contact your system administrator.
            <crdcexsmtp03.us.aegon.com #5.5.0 smtp;550 Requested action not 
taken: mailbox unavailable>


You can see it's a nicely formatted message.  Unfortunately, this text is 
NOT in the email's body (textdescription), so I can't just grab and use it.  
Therefore, I want to find where it is or create this sort of message myself 
based on the information in the embedded attachment.  

Am I retrieving an embedded attachment correctly using the GET request or is 
there another way I can retrieve it's information and bring back a WebDAV XML 
document with it?

Thank you very much,

Frank
date: Fri, 29 Jul 2005 11:46:10 -0700   author:   Frank

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us