 | ISmtpClientVerify Method |
Verify the existence of a mailbox address.
Namespace: MailKit.Net.SmtpAssembly: MailKit (in MailKit.dll) Version: 4.10.0
SyntaxMailboxAddress Verify(
string address,
CancellationToken cancellationToken = default
)
Parameters
- address String
- The mailbox address.
- cancellationToken CancellationToken (Optional)
- The cancellation token.
Return Value
MailboxAddressThe expanded mailbox address.
Exceptions
Remarks
Verifies the existence a mailbox address with the SMTP server, returning the expanded
mailbox address if it exists.
See Also