imap change mailitem body creates deleted message

  • Thread starter Thread starter spareway
  • Start date Start date
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
 
Back
Top