Click or drag to resize
MimeKit

MailboxAddress  Conversion (MailAddress to MailboxAddress)

Explicit cast to convert a MailAddress to a MailboxAddress.

Namespace:  MimeKit
Assembly:  MimeKit (in MimeKit.dll) Version: 2.2.0
Syntax
C#
public static explicit operator MailboxAddress (
	MailAddress address
)

Parameters

address
Type: System.Net.MailMailAddress
The mail address.

Return Value

Type: MailboxAddress
The equivalent MailboxAddress.
Remarks
Casts a MailAddress to a MailboxAddress in cases where you might want to make use of the the superior MimeKit APIs.
See Also