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

I

IceKettle

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?
 

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