1) Before you call Send, change the value of the BillingInformation property to some string. When the MAPIFolder.Items.ItemAdd event fires on the Sent Items folder, check the value of BillingInformation to see if it contains the marker you set. If it does, call SaveAs.
2) The best you can do in that case is save a copy of the unsent item.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
"DPM" wrote in message ...
Hi,
What I need is to save an email which is sent out from MSO as a file, which
is a frozen copy of the mail sent.
1. To do the above I need to find out the mail from Sent Items for the mail
which was sent out from Outbox.
What I know is the EntryId changes and there is no other property to create
a link between these 2 mail items
ie.
After issuing loMailItem.Send(), how do I get hold of the mail from sent
items, to issue loMailItem.SaveAs() and create a frozen copy ?
2. I noticed that MS Outlook has a option 'Not to save a copy in Sent
Items', in this case how to I create a file with the frozen copy ?
Could someone please give some hints.