Encrypted Message

M

Michael Sundermann

Hi,

A user selects some messages (Explorer View) in Outlook 2003,
then my add-in wants to open each of them.
This works ok, but not if the message is encrypted.

SelectionPtr spSelection = spExplorer->Selection;
for (int i = 1; i <= spSelection->Count; ++i)
{
MailItemPtr spMailItem = spSelection->Item((long)i);
if (spMailItem != NULL)
{
// do something ....
}
else
{
PRINT("UnknownItem\n");
}


It seems that an encrypted message does not have a
mailintem interface. That means, I can not do anything
with an encypted message (display, open, ....).

Is there a hidden/undocumented interface ?
Is there a way to open such a message ?

Best Regards
Michael
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top