K
kistvan
Hi,
I have an Outlook add-in which should perform some operations with the email
addresses ( recipients ) from a sent email.
When the OnNewMail function is triggered I call the
spMailItem->get_Recipients(&spRecipients); method. When this method is
called the Outlook security dialog appears.
In other parts of the add-in I used Extended MAPI to avoid the security
dialogs: I read the entry ID from the mail item, called the OpenEntry
function and after that I read the email address from the return IMessage
object. When a mail is sent and the NewMail action is triggered the mail
item doesn't have an entry ID, so I cannot use Extended MAPI further.
How can I avoid this dialog ? This happens only when I use Outlook XP; if I
use Outlook 2003 the security dialogs don't appears.
Thanks
I have an Outlook add-in which should perform some operations with the email
addresses ( recipients ) from a sent email.
When the OnNewMail function is triggered I call the
spMailItem->get_Recipients(&spRecipients); method. When this method is
called the Outlook security dialog appears.
In other parts of the add-in I used Extended MAPI to avoid the security
dialogs: I read the entry ID from the mail item, called the OpenEntry
function and after that I read the email address from the return IMessage
object. When a mail is sent and the NewMail action is triggered the mail
item doesn't have an entry ID, so I cannot use Extended MAPI further.
How can I avoid this dialog ? This happens only when I use Outlook XP; if I
use Outlook 2003 the security dialogs don't appears.
Thanks