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

How to obtain the body of a MailItem which has not been saved and just only stayed in memory?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old November 7th 06, 03:24 AM posted to microsoft.public.outlook.program_addins
IceKettle
external usenet poster
 
Posts: 21
Default How to obtain the body of a MailItem which has not been saved and just only stayed in memory?

I have made a Outlook-plugin with VC2005 .It's an Exchange Client Extension
..

Outlook::_MailItemPtr spMailItem = ....;
Outlook::_MailItemPtr spFwdItem = NULL;

spMailItem-Forward(&spFwdItem);

I'd like to obtain the body of spFwdItem,but I can't use
spMailItem-get_Body(...),
because it will popup a security warning dialog.If I use MAPI to do
it,before it can work I need to call spMailItem-Save() first, but this is
not what I expected .


Any idea?


 




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
2 GB of memory over 1 GB of memory free, and outlook complains of being out of memory David Hettel Outlook Express 7 October 18th 06 01:08 PM
Changing RTF Body on MailItem Read event [email protected] Add-ins for Outlook 3 September 13th 06 08:30 PM
extracting mailitem.body text to Excel columns Junoon Outlook and VBA 3 April 20th 06 06:45 AM
Read body of MailItem ? Trey Shaffer Outlook and VBA 1 March 18th 06 08:56 PM
How to recover e-mail addresses saved in memory/egistry henpat Outlook - General Queries 6 March 9th 06 03:04 PM


All times are GMT +1. The time now is 08:47 PM.


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.