imap change mailitem body creates deleted message

S

spareway

hi,

i have written an outlook addin in c# .net that changes the message
body of an email after it is received. When my code assigns a new
value to mailitem.body, the original email message(with the old body)
is deleted and a new mail message is created. In the users inbox,
both messages are listed. The "deleted"item has a line thru it. I
have few questions:

1. is there any way to change this 'delete' behaviour? Is there a
workaround for this?

2. if not, is there a programtic way for me to change the view to not
display deleted messages?

3. any other idea on how i can fix this?

thanks in advance,

craig
 

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