MailBee.NET Objects 3.1

MailMessage.Builder Property

Gets or sets the options which affect how the mail message is built by MailBee.

public MessageBuilderConfig Builder {get; set;}

Property Value

A MessageBuilderConfig object containing the options which affect how the mail message is built by MailBee.

Remarks

This property returns a reference to the instance of configuration class which allows the developer to tune how the mail message is being produced from the current values of the MailMessage object into MIME format. Using this property, you can, for example, tell MailBee to automatically generate plain-text version of the message body if you supplied only the HTML version.

Exceptions

Exception Type Condition
MailBeeInvalidArgumentException value is a null reference (Nothing in Visual Basic).

Example

The example is available in MessageBuilderConfig topic.

See Also

MailMessage Class | MailBee.Mime Namespace | Parser