none
Outlook inspector for sent mails RRS feed

  • Question

  • Hello,

    I need to show a custom tab in outlook inspector window but just when the inspector window is related to a sent mail. In my getVisible event I get the mailItem object, then the folder referencing as mailitem.Parent, and then I check if that folder is the same as the default sent mail folder of the account used to send the mail (referenced as mailitem.SendUsingAccount).

    Is that correct or there is another way?

    Tuesday, May 14, 2013 10:05 AM

Answers

  • I'd rather check the MailItem.ReceivedByName if I were you (along with the Sent property) : that property is populated for the messages that were received, but not for those that were sent.

    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

    • Marked as answer by Klaud76 Thursday, May 16, 2013 8:55 AM
    Tuesday, May 14, 2013 2:08 PM