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