M
mrstrong
Gday All,
I have a rich text box in a winforms app that I am attempting to copy
the rich text (with formatting in tact) to an outlook message that I
have created using Microsoft.Office.Interop.Outlook...
However copying the rtf straight to the message does not work - the
rtf code is displayed, rather than the formatted text.
There does not appear to be an exposed rtf property to copy to (which
would be ideal), unless you use something like Redemption by the looks
of it which costs money and is not an option for me right now.
So, then I tried to create a MSWord document, copy the rich text to
this, save as html (in MSWord), then open up the saved html file and
the generated html into the ..HTMLBody of the email message. I
thought for sure this would work, but the MSWord generated HTML is not
compatible with the Outlook HTML it would seem and as such some
characers are not recognised and are displayed as '?' - not pretty.
So I am wondering if anyone knows a way to copy rich text and have it
display correctly in an Outlook message??
Thanks in advance,
Peter
I have a rich text box in a winforms app that I am attempting to copy
the rich text (with formatting in tact) to an outlook message that I
have created using Microsoft.Office.Interop.Outlook...
However copying the rtf straight to the message does not work - the
rtf code is displayed, rather than the formatted text.
There does not appear to be an exposed rtf property to copy to (which
would be ideal), unless you use something like Redemption by the looks
of it which costs money and is not an option for me right now.
So, then I tried to create a MSWord document, copy the rich text to
this, save as html (in MSWord), then open up the saved html file and
the generated html into the ..HTMLBody of the email message. I
thought for sure this would work, but the MSWord generated HTML is not
compatible with the Outlook HTML it would seem and as such some
characers are not recognised and are displayed as '?' - not pretty.
So I am wondering if anyone knows a way to copy rich text and have it
display correctly in an Outlook message??
Thanks in advance,
Peter