MessageElements Enumeration
Defines a set of flags which specify message elements to be cleared by MailMessage.Clear method call.

Namespace: MailBee.Mime
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
[FlagsAttribute]
public enum MessageElements
Members
  Member nameValueDescription
None0 No elements to remove.
Recipients1 Remove all message recipients specified in To, Cc, and Bcc fields.
Attachments2 Remove all items from Attachments collection.
CustomHeaders4 Remove all non-standard headers from the message.
RouteHeaders8 Remove all Received and Return-Path headers from the message.
RawBody16 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