i have set a recordset to a specific folder on exchange and now i want to save the email messages using cdo to my local drive. i found an example of getstream.savetofile but that does not help me. i want to save these eml as ..msg with all the attachment and body in tact. can you help please?
The only way to save a message as a MSG file is to use Mapi (it sounds like your trying to use Exoledb). Currently to do this you need to use C++ and Extended mapi see http://support.microsoft.com/kb/171907 for a sample. If you looking to do this with a script that you might want to look at using RDO which is part or Redemption http://www.dimastr.com/redemption/rdo/default.htm look at the saveas method of the message object Cheers Glen "ashraf" wrote in message news:OAfbDYMZHHA.1244@TK2MSFTNGP04.phx.gbl... >i have set a recordset to a specific folder on exchange and now i want to >save the email messages using cdo to my local drive. i found an example of >getstream.savetofile but that does not help me. i want to save these eml >as .msg with all the attachment and body in tact. can you help please? >