A
Ashish
In outlook addin when i open a mail ActiveInspector_Activate event is
called. Here i add an attachment to this mail using MAPI. To add attachment
using MAPI
MapiSession->logon()
MapiMessage = MapiSession->GetMessage(entryid)
count = MapiMessage ->Attachment->Count
MapiMessage ->Attachment->Add(path)
MapiMessage ->Update();
count = MapiMessage ->Attachment->Count, new count returns one extra value.
it means attachment is added to mail but not display in mail. What should i
do to display attachment in open mail.
called. Here i add an attachment to this mail using MAPI. To add attachment
using MAPI
MapiSession->logon()
MapiMessage = MapiSession->GetMessage(entryid)
count = MapiMessage ->Attachment->Count
MapiMessage ->Attachment->Add(path)
MapiMessage ->Update();
count = MapiMessage ->Attachment->Count, new count returns one extra value.
it means attachment is added to mail but not display in mail. What should i
do to display attachment in open mail.