Add text to RTF message when forwarding using MAPI

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

I'm using MAPI to forward all incoming mail (MAPI.dll). I want to add the
original senders details ( Like Outlook would do it ) to the new forwarded
message. Is this possible? Can you add this extra "From" and "To" text to an
RTF message body? What else should I do?

Thanks
 
Create a hidden RTF control, stream the RTF in, modify the data using the
RTF control API, stream it out.
By MAPI you mean Extended MAPI, not Simple MAPI, right?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
I've changed the way that I do it by just using the Outlook Object model and
CDO to get the sender's email address. But thanks for the help, I will
remember and use it next time.
 
Back
Top