MailBee.NET Objects 7.2

MessageElements Enumeration

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

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

[Flags]
public enum MessageElements

Members

Member Name Description Value
None No elements to remove. 0
Recipients Remove all message recipients specified in To, Cc, and Bcc fields. 1
Attachments Remove all items from Attachments collection. 2
CustomHeaders Remove all non-standard headers from the message. 4
RouteHeaders Remove all Received and Return-Path headers from the message. 8
RawBody Clear the raw body presentation of the message (in MIME format). This can save memory when dealing with very large e-mails. See Clear topic for details. 16

Requirements

Namespace: MailBee.Mime

Assembly: MailBee.NET (in MailBee.NET.dll)

See Also

MailBee.Mime Namespace | Clear