Click or drag to resize
MimeKit

MailboxAddress  Conversion (MailboxAddress to MailAddress)

Explicit cast to convert a MailboxAddress to a MailAddress.

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

Parameters

mailbox
Type: MimeKitMailboxAddress
The mailbox.

Return Value

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