A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

imap change mailitem body creates deleted message



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old September 17th 08, 07:15 PM posted to microsoft.public.outlook.program_addins
spareway
external usenet poster
 
Posts: 11
Default imap change mailitem body creates deleted message

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
  #2  
Old September 17th 08, 07:49 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default imap change mailitem body creates deleted message

1. No.

2. No.

3. Don't use IMAP.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"spareway" wrote in message
...
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


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Regarding MailItem.Body Property Bharathi Outlook and VBA 3 June 22nd 07 02:47 PM
How to obtain the body of a temporary MailItem? IceKettle Add-ins for Outlook 0 November 7th 06 02:32 AM
Read body of MailItem ? Trey Shaffer Outlook and VBA 1 March 18th 06 07:56 PM
Change advanced find to 'subject field and message body' ©® Outlook - General Queries 0 February 23rd 06 02:57 PM
how to change the mail message body Ram Add-ins for Outlook 10 January 27th 06 05:21 PM


All times are GMT +1. The time now is 04:18 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.