MimePartMailEncodingOriginal Property |
Gets the name of the mail transfer encoding of the MIME part.
Namespace: MailBee.MimeAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public string MailEncodingOriginal { get; }
Public ReadOnly Property MailEncodingOriginal As String
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 |
---|
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.
using MailBee;
using MailBee.Mime;
MailMessage msg = new MailMessage();
msg.LoadMessage(@"C:\Docs\TestMail.eml");
Console.WriteLine(msg.MimePartTree.MailEncodingOriginal);
Imports MailBee
Imports MailBee.Mime
Dim msg As New MailMessage
msg.LoadMessage("C:\Docs\TestMail.eml")
Console.WriteLine(msg.MimePartTree.MailEncodingOriginal)
See Also