ISmtp |
InternetAddressList Expand( string alias, CancellationToken cancellationToken = default )
| Exception | Condition |
|---|---|
| ArgumentNullException | alias is . |
| ArgumentException | alias is an empty string. |
| ObjectDisposedException | The SmtpClient has been disposed. |
| ServiceNotConnectedException | The SmtpClient is not connected. |
| ServiceNotAuthenticatedException | Authentication is required before verifying the existence of an address. |
| OperationCanceledException | The operation has been canceled. |
| IOException | An I/O error occurred. |
| SmtpCommandException | The SMTP command failed. |
| SmtpProtocolException | An SMTP protocol exception occurred. |