MessageBuilderConfigAddressDelimeter Property
Gets or sets the character to be used as a delimiter for e-mail addresses.

Namespace: MailBee.Mime
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.2.0 build 630 for .NET 4.5
public AddressDelimeterChar AddressDelimeter { get; set; }

Property Value

Type: AddressDelimeterChar
An AddressDelimeterChar value representing the delimiter character.

This property allows the developer to select a comma (",") or semicolon (";") character to be used as a delimiter for e-mail addresses when composing e-mail address strings consisting of multiple e-mail addresses. The default value is Comma.

This property has no effect on parsing e-mail address strings. During parsing, MailBee accepts both comma and semicolon as valid delimiters.

Note Note
MessageBuilderConfig object cannot be used on its own. To access its members, the developer should use MailMessage.Builder property.
The sample creates a new message, sets two recipient e-mail addresses, and demonstrates the effect of changing the delimiter character.
// To use the code below, import MailBee namespaces at the top of your code.
using MailBee;
using MailBee.Mime;

// Create a new MailMessage object.
MailMessage msg = new MailMessage();

// Add message recipients.

// Set semicolon as a delimiter character.
msg.Builder.AddressDelimeter = AddressDelimeterChar.Semicolon;


// Set comma as a delimiter character.
msg.Builder.AddressDelimeter = AddressDelimeterChar.Comma;

See Also