RelatedAlternativeMimePartNestingOrder Enumeration |
Defines the available schemes how MIME parts are nested into each other when building an e-mail message.
Namespace: MailBee.MimeAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public enum RelatedAlternativeMimePartNestingOrder
Public Enumeration RelatedAlternativeMimePartNestingOrder
Members
| Member name | Value | Description |
---|
| Default | 0 |
For new e-mails, "multipart/related" will be on an upper level while "multipart/alternative" part will be enclosed in "multipart/related" part. For existing e-mails (when you process
and re-send the existing e-mail, MailBee will use the order in that e-mail.
|
| RelatedAlternative | 1 |
"multipart/related" will be on an upper level while "multipart/alternative" part will be enclosed in "multipart/related" part.
|
| AlternativeRelated | 2 |
"alternative/related" will be on an upper level while "multipart/related" part will be enclosed in "multipart/alternative" part.
|
Remarks
Different e-mail clients build MIME part hierarchy differently when it comes to related and alternative parts. Usually it's not important but in case if for some reason you need
to control how e-mails with related and alternative parts get build, you can use
MailMessage.Builder.RelatedAlternativeNestingOrder property.
See Also