MailSettings Class
Namespace: Rebex.Mail
Assembly: Rebex.Mail.dll (version 7.0.9147)
Specifies various MailMessage settings.
Syntax
public class MailSettings
Inherited Members
Constructors
Name | Description |
---|---|
Mail |
Creates an instance of MailSettings. |
Properties
Name | Description |
---|---|
Allow |
Allow parsing of oversized lines. Using this option is discouraged. |
Always |
Always write the content-transfer-encoding, even if it has default value of "7bit" |
Disable |
Do not include encryption key preference attribute in signed message attributes. |
Disable |
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. This property turns off this behavior. |
Disable |
Do not include S/MIME options attribute in signed message attributes. |
Do |
Do not automatically add a date header if 'date', 'subject' or 'from' headers are missing from a top-level or embedded message. |
Do |
Keep the input stream open when Load(Stream) method is done. |
Do |
Ignore the MIME tree and parse the message as a single-level entity. |
Do |
Disable 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. |
Do |
Instructs the MIME header parser not to trim MIME headers while parsing them. |
Ignore |
Ignore invalid TNEF (winmail.dat) attachments when parsing mail message. |
Ignore |
Ignore TransportMessageHeaders field when loading .msg file. If set to true, some fields are taken directly from the .msg structure instead of the TransportMessageHeaders field. The affected fields are: Sender, From, To, CC, Bcc, Subject, Date, MessageId. Any MIME headers stored in TransportMessageHeaders field are not loaded either. |
Ignore |
Ignore unparsable headers when parsing mail message. |
Ignore |
Ignore unparsable S/MIME signature entities when parsing mail message. |
Load |
Load Outlook MSG properties into custom MIME headers. All these MIME headers start with X-Outlook- string. |
Only |
Only parse message headers and ignore the body. |
Prefer |
Prefer BodyText and BodyHtml to be taken from its original .msg message fields. Default is false, which means BodyText and BodyHtml are taken from BodyRtf if possible (if embedded). |
Process |
Parse and reencode all headers, even when not needed or modified. |
Rtf |
The mode to process RTF in mails. |
Skip |
Skip certificate usage check. |
Skip |
Skip sender check. |
Skip |
Skip TNEF (winmail.dat) attachment processing. If specified, the 'winmail.dat' attachment is not processed at all. |
Treat |
Treat additional 'text/*' sub-entities of 'multipart/mixed' as alternative view unless thair Content-Disposition indicates otehrwise. |
Treat |
Treat sub-entities of 'multipart/mixed' as attachments even if their Content-Disposition is 'inline'. |
Use |
/// Use Default |
Methods
Name | Description |
---|---|
Clone() | Creates a new object that is a shallow copy of the current instance. |