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 |
Members
Member name | Description | |
---|---|---|
![]() | DoNotWriteBcc |
Do not write the "Bcc" header into output stream.
|
![]() | DoNotParseMimeTree |
Ignore the MIME tree and parse the message as a single-level entity.
|
![]() | ProcessAllHeaders |
Parses and reencodes all headers, even when not needed or modified.
|
![]() | IgnoreUnparsableHeaders |
Ignore unparsable headers when parsing mail message.
|
![]() | AlwaysWriteContentTransferEncoding |
Always write a content-transfer-encoding, even if it has a default value of "7bit"
|
![]() | IgnoreUnparsableSignatures |
Ignore unparsable S/MIME signature entities when parsing mail message.
|
![]() | AllowAnyTextCharacters |
Skips checking of text content for text/* entities. When this options is enabled,
it is possible to use any characters inside text entities.
|
![]() | DoNotQuoteProblematicSequences |
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.
|
![]() | OnlyParseHeaders |
Only parses message headers and ignores the body.
|
![]() | DoNotAddDateIfNoSubjectAndFrom |
Do not automatically add a date header if 'date', 'subject' or 'from' headers are missing from a top-level or embedded message.
|
![]() | DisableEncryptionKeyPreference |
Do not include encryption key preference attribute in signed message attributes.
|
![]() | DisableSMimeCapabilitiesAttribute |
Do not include S/MIME options attribute in signed message attributes.
|
![]() | SkipCertificateUsageCheck |
Skip certificate usage check.
|
![]() | IgnoreInvalidTnefMessages |
Ignore invalid TNEF (winmail.dat) attachments when parsing mail messages.
|
![]() | SkipSenderCheck |
Skip sender check.
|
![]() | KeepRawEntityBody |
Keep the raw entity body when parsing MIME messages and make it accessible using GetRawContentStream()()()().
|
![]() | DoNotCloseStreamAfterLoad |
Keep the input stream open when Load(Stream) method is done.
|
![]() | DoNotPreloadAttachments |
Try to conserve memory by not preloading attachment content when constructing a message.
|
![]() | DisableSinglePartHtmlWorkaround |
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.
|
![]() | LoadMsgProperties |
Load Outlook MSG properties into custom MIME headers.
All these MIME headers start with X-Outlook- string.
|
![]() | DoNotTrimHeaderValues |
Instructs the MIME header parser not to trim the headers while parsing them.
|
![]() | DisableRtfToHtmlConversion |
Do not convert RTF views to HTML.
|
![]() | TreatBinaryRtfAsAlternateView |
Treat binary RTF as AlternateView.
|
![]() | SkipTnefMessageProcessing |
Skip TNEF (winmail.dat) attachment processing. If specified, the 'winmail.dat' attachment is not processed at all.
|
![]() | AllowOversizedLines |
Allow parsing of oversized lines. Using this option is discouraged.
|