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 temporary MailItem?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old November 7th 06, 03:32 AM posted to microsoft.public.outlook.program_addins
IceKettle
external usenet poster
 
Posts: 21
Default How to obtain the body of a temporary MailItem?

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

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

spMailItem-Forward(&spFwdItem);// spFwdItem here is a temporary object
until save it?

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 spFwdItem-Save() first, but this is
not what I expected .


Any idea?


Ads
 




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
How to obtain the body of a MailItem which has not been saved and just only stayed in memory? IceKettle Add-ins for Outlook 0 November 7th 06 03:24 AM
Changing RTF Body on MailItem Read event adobrzanski@gmail.com 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 can I create a MailItem that displays like a received MailItem ? Clive Outlook - Using Forms 0 February 27th 06 05:14 PM


All times are GMT +1. The time now is 07:36 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.