You will get errors in case of the embedded OLE objects since RTFBody refers
to the embedded objects which are attachments, but you do not copy
them.(andt here is no easy way to copy them)
Try to use SafeMailItem.CopyTo instead - it will copy all properties,
including the RTF body and attachments.
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
> Dmitry,
>
[quoted text clipped - 122 lines]
> >
> >.
Bingo - 26 Nov 2004 14:28 GMT
Dmitry,
I got what you say. But the unknown error only happens
with RTF formatted emails without OLE objects. In other
words, it works fine if there are OLE objects. For RTF
emails with either plain text or no empty body, the
unknown error happens. But I'm going to try the CopyTo
method as you recommended. I'm pretty sure if you try
the code I provided, you'll see the error. Thanks.
>-----Original Message-----
>You will get errors in case of the embedded OLE objects since RTFBody refers
[quoted text clipped - 136 lines]
>
>.
Bingo - 26 Nov 2004 15:23 GMT
Dmitry,
I use Outlook Spy checked on these emails. When I run
the Call of Forward function, I got Return Error Code
0xD0720009. The Return Code for Reply function is
0xD6A20009, the code for ReplyAll is 0xDAC20009, the code
for PrintOut is 0xE0F20009. All other functions are OK.
Hope this helps.
>-----Original Message-----
>You will get errors in case of the embedded OLE objects since RTFBody refers
[quoted text clipped - 136 lines]
>
>.
Dmitry Streblechenko \(MVP\) - 29 Nov 2004 18:03 GMT
Can you send to my private address the problematic messages saved as MSG
files (File|Save As), zipped (important!).
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
> Dmitry,
>
[quoted text clipped - 157 lines]
> >
> >.
Bingo - 30 Nov 2004 14:37 GMT
Dmitry,
After I rebuilt the custom form and cleared the form
cache, this problem went away. Thanks!
>-----Original Message-----
>Can you send to my private address the problematic messages saved as MSG
[quoted text clipped - 168 lines]
>
>.