MimePartMailEncodingOriginal Property
Gets the name of the mail transfer encoding of the MIME part.

Namespace: MailBee.Mime
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public string MailEncodingOriginal { get; }

Property Value

Type: String
A string containing the name of the mail transfer encoding of the MIME part, or an empty string if the mail transfer encoding information is not available.
Remarks
The value of this property is taken from Content-Transfer-Encoding header. The examples of such encodings are Base64, Quoted-Printable, etc. If missing, this the mail transfer encoding is not used and the MIME part data should be read as is.
Note Note
This value is for advanced use only. You do not need to manually decode MIME part data because MailBee always decodes it automatically.
Examples
This sample loads the message from .EML file and displays the mail transfer encoding of the root MIME part.
// To use the code below, import MailBee namespaces at the top of your code.
using MailBee;
using MailBee.Mime;

// The actual code (put it into a method of your class).
MailMessage msg = new MailMessage();
msg.LoadMessage(@"C:\Docs\TestMail.eml");
Console.WriteLine(msg.MimePartTree.MailEncodingOriginal);
See Also