PstMessageRtfInEmlMethod Property |
Gets or sets whether RTF text body should be converted into attachment or body part of .EML message.
Namespace: MailBee.OutlookAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public RtfInEmlStorageMethod RtfInEmlMethod { get; set; }
Public Property RtfInEmlMethod As RtfInEmlStorageMethod
Get
Set
Property Value
Type:
RtfInEmlStorageMethodThe default value is
None which means that rtf part
will not be added to .EML message.
Remarks If property assigned to
AsAttachment,
RTF (rich-text format) body of message is converted into .RTF attachment named "richbody.rtf" which is added
to the resulting .EML message into
Attachments collection. If you, however,
need this body to be added to
BodyParts collection,
where plain-text and HTML bodies usually reside, set this property value to
AsBodyPart before making the conversion. This is useful if you need to get the contents
of the RTF body as a string (for instance, if you assign its value to
Rtf property to display it
in the RichTextBox control).
See Also