Redemption RTFBody question

  • Thread starter Thread starter Bingo
  • Start date Start date
B

Bingo

I've an email in RTF format. The oMapiMail is the object
for this email. I then create another oMapiMailNew =
oMapiMail.Forward. Since I want to have the same body in
oMapiMailNew as that in oMapiMail, I create a
SafeMailItem, oRdpMail for oMapiMail and another one,
oRdpMailNew for oMapiMailNew. I copy the RTFBody from
oRdpMail to oRdpMailNew, oRdpMailNew.RTFBody =
oRdpMail.RTFBody. Then I do oRdpMailNew.Send. But the
email I got still has the --- Original Message ---
section in it. How do I copy the RTFBody correctly?
Thanks.
 
Save the new (forwarded) message before assigning the RTF body - this way
Outlook won't overwrite the body set by Redemption.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
That solved my problem. Thanks!

-----Original Message-----
Save the new (forwarded) message before assigning the RTF body - this way
Outlook won't overwrite the body set by Redemption.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool





.
 
Back
Top