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: 4.7.1
Syntax
C#
public static explicit operator MailAddress (
	MailboxAddress mailbox
)

Parameters

mailbox  MailboxAddress
The mailbox.

Return Value

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