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: Wed, 29 Jun 2005 21:08:02 -0700,    group: microsoft.public.exchange2000.development        back       


Find original email   
I'm developing an application that sends an email out through exchange server 
using SMTP mail (Winsock).   I do NOT use CDO, MAPI, WebDAV, etc...   The 
mail goes out fine and there is no record of the mail going out through 
Exchange since it is not placed into any "Sent" folder or anything.

Herein lies my problem.  If the message sent is returned as undeliverable, I 
would like to go back and find the original message!

If I use WebDAV to send this message, instead of SMTP mail, can I store it 
to the Sent folder?  Then later on if it was undeliverable, can I check some 
namespace property of the undeliverable message to obtain the original email 
and then go open it?

Currently I'm creating a unique GUID and appending it to the email subject 
before I send it.  I also save the email out to a file with the GUID as the 
filename.  Now if the message is returned as undeliverable, I can see the 
original subject.  I strip out the GUID and I can go find the file (the 
orignal email).  I don't really like this method since it "adds" uneccessary 
data to the subject and is ONLY used for my reference.  Is there a better way 
of doing this? (possibly using WebDAV)

Thank you very much,

Frank
date: Wed, 29 Jun 2005 21:08:02 -0700   author:   Frank

Google
 
Web ureader.com


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