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
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