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