deletion of an attachment from outlook mail

M

Mohan Bisht

Hi,
I am working on an addin, which traps OnSend event for mail items, The
issue that I am facing is when the mail format is specified to be RTF
mail format, the attachments behave awkwardly.

while enumerating the attachments through
Outlook::AttachmentsPtr, I always get the attachments even though user
has deleted them while composing (in case of forwarded attachments).

in case of Business card, like say If i have selected to attach a
v-card, when user composes a new mail, the v-card is automatically
attached to the new mail, now if the user deletes the v-card, and
presses Send button,

When I loop through the AttachmentsPtr I still get the V-card attached
to the mail.

How to handle or solve these issues in an outlook addin, I hope
someone must have faced similar kind of problem.

I have noticed this issue is with RTF mails only, and not with other
kind of mails (Plain Text, HTML).

with regards
Mohan Bisht
 

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