How to set RTF body for the message?

Is there an option to write RTF in body if email message?

Hi,

I am sorry RTF body cannot be set using the MapiMessage class. This class currently provides read only properties. We will consider to support setting these properties in future.

Alternatively, you may use MailMessage class to set all the properties like html body, subject, from, to, attachments etc.

The issues you have found earlier (filed as 17447) have been fixed in [this update](http://www.aspose.com/community/files/51/.net-components/aspose.network-for-.net/entry299819.aspx).

This message was posted using Notification2Forum from Downloads module by aspose.notifier.

To set the RTF body of the message, please see the following code sample:

MapiMessage msg = MapiMessage.FromFile(“test.msg”);
StreamReader reader = new StreamReader(“test.rtf”);
msg.BodyRtf = reader.ReadToEnd();
reader.Close();
msg.Save(“test-out.msg”);