Outlook Sent items RRS feed

  • Question

  • I am writing an Outlook add-in which stores sent emails in a document management system as msg files.
    Problem: When a user sends and email I display a dialog in the Application.ItemSend() function. I then capture some data from the dialog and save the email message as a .msg file. This stores the email as an "Unsent" email (I use Message.SaveAs(xyz.msg), OlSaveAsType.olMSG).

    If a user then opens the message it still shows as "Unsent", they cannot forward it and it has no confirmed "Sent" details. How can I grab an email immediately after it is sent, rather than while/before it is sending/sent?

    I am using VS2008.
    Friday, June 12, 2009 6:36 AM

All replies

  • Are using using Extended MAPI?

    If so, you could setup a MAPI Advise sink and watch for messages in the Sent Items.
    Monday, July 6, 2009 7:45 AM