Redemption RTFBody question

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.
 
D

Dmitry Streblechenko \(MVP\)

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
 
B

Bingo

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





.
 

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