MailBee.NET Objects 4.0

MailMessage.Parser Property

Gets or sets the options which affect how the MailMessage object is parsed.

public MessageParserConfig Parser {get; set;}

Property Value

A MessageParserConfig object containing the options which affect how the MailMessage object is parsed.

Remarks

This property provides access to such features as automatic creation of plain-text or HTML parts of the message, automatic saving of the message to disk, converting URLs to HTML links, etc.

To set options which affect how the mail message is being built (for instance, when it gets sent or saved to disk), use the Builder property.

Exceptions

Exception TypeCondition
MailBeeInvalidArgumentExceptionvalue is a null reference (Nothing in Visual Basic).

Example

The example is available in MessageParserConfig topic.

See Also

MailMessage Class | MailBee.Mime Namespace | Builder