Specifies various options for MIME parser and writer.

Namespace:  Rebex.Mime
Assembly:  Rebex.Mail (in Rebex.Mail.dll)

Syntax

Visual Basic
<FlagsAttribute> _
Public Enumeration MimeOptions
C#
[FlagsAttribute]
public enum MimeOptions
Visual C++
[FlagsAttribute]
public enum class MimeOptions
JavaScript
Rebex.Mime.MimeOptions = function();
Rebex.Mime.MimeOptions.createEnum('Rebex.Mime.MimeOptions', true);

Members

Member nameDescription
Supported by the .NET Compact FrameworkSupported by the Xamarin.iOSSupported by the Xamarin.AndroidDoNotWriteBcc
Do not write the "Bcc" header into output stream.
Supported by the .NET Compact FrameworkSupported by the Xamarin.iOSSupported by the Xamarin.AndroidDoNotParseMimeTree
Ignore the MIME tree and parse the message as a single-level entity.
Supported by the .NET Compact FrameworkSupported by the Xamarin.iOSSupported by the Xamarin.AndroidProcessAllHeaders
Parses and reencodes all headers, even when not needed or modified.
Supported by the .NET Compact FrameworkSupported by the Xamarin.iOSSupported by the Xamarin.AndroidIgnoreUnparsableHeaders
Ignore unparsable headers when parsing mail message.
Supported by the .NET Compact FrameworkSupported by the Xamarin.iOSSupported by the Xamarin.AndroidAlwaysWriteContentTransferEncoding
Always write a content-transfer-encoding, even if it has a default value of "7bit"
Supported by the .NET Compact FrameworkSupported by the Xamarin.iOSSupported by the Xamarin.AndroidIgnoreUnparsableSignatures
Ignore unparsable S/MIME signature entities when parsing mail message.
Supported by the .NET Compact FrameworkSupported by the Xamarin.iOSSupported by the Xamarin.AndroidAllowAnyTextCharacters
Skips checking of text content for text/* entities. When this options is enabled, it is possible to use any characters inside text entities.
Supported by the .NET Compact FrameworkSupported by the Xamarin.iOSSupported by the Xamarin.AndroidDoNotQuoteProblematicSequences
Disables encoding of leading 'F', '.' and '-' character in body parts using quoted-printable content transfer encoding. These leading characters used to cause problems to legacy mail transfer agents, so quoted-printable-encoding them was used as a workaround that doesn't cause any problems to properly-implemented mail agents.
Supported by the .NET Compact FrameworkSupported by the Xamarin.iOSSupported by the Xamarin.AndroidOnlyParseHeaders
Only parses message headers and ignores the body.
Supported by the .NET Compact FrameworkSupported by the Xamarin.iOSSupported by the Xamarin.AndroidDoNotAddDateIfNoSubjectAndFrom
Do not automatically add a date header if 'date', 'subject' or 'from' headers are missing from a top-level or embedded message.
Supported by the .NET Compact FrameworkSupported by the Xamarin.iOSSupported by the Xamarin.AndroidDisableEncryptionKeyPreference
Do not include encryption key preference attribute in signed message attributes.
Supported by the .NET Compact FrameworkSupported by the Xamarin.iOSSupported by the Xamarin.AndroidDisableSMimeCapabilitiesAttribute
Do not include S/MIME options attribute in signed message attributes.
Supported by the .NET Compact FrameworkSupported by the Xamarin.iOSSupported by the Xamarin.AndroidSkipCertificateUsageCheck
Skip certificate usage check.
Supported by the .NET Compact FrameworkSupported by the Xamarin.iOSSupported by the Xamarin.AndroidIgnoreInvalidTnefMessages
Ignore invalid TNEF (winmail.dat) attachments when parsing mail messages.
Supported by the .NET Compact FrameworkSupported by the Xamarin.iOSSupported by the Xamarin.AndroidSkipSenderCheck
Skip sender check.
Supported by the .NET Compact FrameworkSupported by the Xamarin.iOSSupported by the Xamarin.AndroidKeepRawEntityBody
Keep the raw entity body when parsing MIME messages and make it accessible using GetRawContentStream()()()().
Supported by the .NET Compact FrameworkSupported by the Xamarin.iOSSupported by the Xamarin.AndroidDoNotCloseStreamAfterLoad
Keep the input stream open when Load(Stream) method is done.
Supported by the .NET Compact FrameworkSupported by the Xamarin.iOSSupported by the Xamarin.AndroidDoNotPreloadAttachments
Try to conserve memory by not preloading attachment content when constructing a message.
Supported by the .NET Compact FrameworkSupported by the Xamarin.iOSSupported by the Xamarin.AndroidDisableSinglePartHtmlWorkaround
Disable a workaround for broken mail clients such as Mac mail that don't correctly parse HTML-only messages. By default, MailMessage class constructs a single-part multipart/alternative structure to solve this. Enabling this flag turns off this behavior.
Supported by the .NET Compact FrameworkSupported by the Xamarin.iOSSupported by the Xamarin.AndroidLoadMsgProperties
Load Outlook MSG properties into custom MIME headers. All these MIME headers start with X-Outlook- string.
Supported by the .NET Compact FrameworkSupported by the Xamarin.iOSSupported by the Xamarin.AndroidDoNotTrimHeaderValues
Instructs the MIME header parser not to trim the headers while parsing them.
Supported by the .NET Compact FrameworkSupported by the Xamarin.iOSSupported by the Xamarin.AndroidDisableRtfToHtmlConversion
Do not convert RTF views to HTML.
Supported by the .NET Compact FrameworkSupported by the Xamarin.iOSSupported by the Xamarin.AndroidTreatBinaryRtfAsAlternateView
Treat binary RTF as AlternateView.
Supported by the .NET Compact FrameworkSupported by the Xamarin.iOSSupported by the Xamarin.AndroidSkipTnefMessageProcessing
Skip TNEF (winmail.dat) attachment processing. If specified, the 'winmail.dat' attachment is not processed at all.

Version Information

.NET Framework

Supported in: 4.6, 4.5, 4.0, 3.5, 3.0, 2.0

.NET Compact Framework

Supported in: 3.9, 3.5

Xamarin.iOS

Supported in: Xamarin.iOS 8.6 or later

Xamarin.Android

Supported in: Xamarin.Android 4 or later

See Also