Mail.OriginalBodyFormat Property


Gets the body text format of the e-mail message.

[Visual Basic]
Public Property OriginalBodyFormat As BodyTextFormat
[C#]
public BodyTextFormat OriginalBodyFormat {get; set;}
[C++]
public: __property BodyTextFormat get_OriginalBodyFormat();
public: __property void set_OriginalBodyFormat(BodyTextFormat);
[JScript]
public function get OriginalBodyFormat() : BodyTextFormat;
public function set OriginalBodyFormat(BodyTextFormat);

Property Value

One of BodyTextFormat values.

Remarks

If the email doesn't have a html body part, HtmlBody returns a html body converted from text body part; If the email doesn't have a text body part, TextBody returns a text body converted from html body. To detect the original body format of the email, you can use this property to get if the original email has text body or html body.

See Also

Mail.TextBody Property
Mail.HtmlBody Property

Online Tutorials

Parse Email in C# - Tutorial
Parse winmail.dat(TNEF) in C# - Tutorial
Parse Email in VB.NET - Tutorial
Parse winmail.dat(TNEF) in VB.NET - Tutorial
Parse Email in C++/CLI - Tutorial
Parse winmail.dat(TNEF) in C++/CLI - Tutorial