MessageElements Enumeration |
Defines a set of flags which specify message elements to be cleared by
MailMessage.Clear method call.
Namespace: MailBee.MimeAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax [FlagsAttribute]
public enum MessageElements
<FlagsAttribute>
Public Enumeration MessageElements
Members
| Member name | Value | Description |
---|
| None | 0 |
No elements to remove.
|
| Recipients | 1 |
Remove all message recipients specified in To,
Cc, and Bcc fields.
|
| Attachments | 2 |
Remove all items from Attachments collection.
|
| CustomHeaders | 4 |
Remove all non-standard headers from the message.
|
| RouteHeaders | 8 |
Remove all Received and Return-Path headers from the message.
|
| RawBody | 16 |
Clear the raw body presentation of the message (in MIME format). This can save memory when dealing with very large e-mails.
See Clear(MessageElements) topic for details.
|
See Also