MailBee.NET Objects 3.1

MessageBuilderConfig.HtmlToPlainMode Property

Gets or sets the condition which triggers automatic conversion of the HTML body of the message into plain-text.

public HtmlToPlainAutoConvert HtmlToPlainMode {get; set;}

Property Value

An HtmlToPlainAutoConvert value which specifies when the HTML body of the message should be automatically converted into the plain-text body. The default value is IfNoPlain.

Remarks

This property controls the condition of automatic converting of the HTML body of the message into plain-text. The original HTML version will not be removed anyway, the plain-text version will be added as alternative body.

Note   MessageBuilderConfig object cannot be used on its own. To access its members, the developer should use MailMessage.Builder property.

Example

The example is available in MessageBuilderConfig topic.

See Also

MessageBuilderConfig Class | MailBee.Mime Namespace | MailMessage