MailBee.NET Objects 4.0

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.

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

Requirements

Namespace: MailBee.Mime

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

See Also

MailBee.Mime Namespace | Clear