![]() | MailService Methods |
The MailService type exposes the following members.
Name | Description | |
---|---|---|
![]() | Authenticate(ICredentials, CancellationToken) |
Authenticate using the supplied credentials.
|
![]() | Authenticate(SaslMechanism, CancellationToken) |
Authenticate using the specified SASL mechanism.
|
![]() | Authenticate(Encoding, ICredentials, CancellationToken) |
Authenticate using the supplied credentials.
|
![]() ![]() | Authenticate(String, String, CancellationToken) |
Authenticate using the specified user name and password.
|
![]() | Authenticate(Encoding, String, String, CancellationToken) |
Authenticate using the specified user name and password.
|
![]() | AuthenticateAsync(ICredentials, CancellationToken) |
Asynchronously authenticate using the supplied credentials.
|
![]() | AuthenticateAsync(SaslMechanism, CancellationToken) |
Asynchronously authenticate using the specified SASL mechanism.
|
![]() | AuthenticateAsync(Encoding, ICredentials, CancellationToken) |
Asynchronously authenticate using the supplied credentials.
|
![]() | AuthenticateAsync(String, String, CancellationToken) |
Asynchronously authenticate using the specified user name and password.
|
![]() | AuthenticateAsync(Encoding, String, String, CancellationToken) |
Asynchronously authenticate using the specified user name and password.
|
![]() ![]() | Connect(Uri, CancellationToken) |
Establish a connection to the specified mail server.
|
![]() ![]() | Connect(String, Int32, SecureSocketOptions, CancellationToken) |
Establish a connection to the specified mail server.
|
![]() | Connect(String, Int32, Boolean, CancellationToken) |
Establish a connection to the specified mail server.
|
![]() | Connect(Socket, String, Int32, SecureSocketOptions, CancellationToken) |
Establish a connection to the specified mail server using the provided socket.
|
![]() | Connect(Stream, String, Int32, SecureSocketOptions, CancellationToken) |
Establish a connection to the specified mail server using the provided stream.
|
![]() | ConnectAsync(Uri, CancellationToken) |
Asynchronously establish a connection to the specified mail server.
|
![]() | ConnectAsync(String, Int32, SecureSocketOptions, CancellationToken) |
Asynchronously establish a connection to the specified mail server.
|
![]() | ConnectAsync(String, Int32, Boolean, CancellationToken) |
Asynchronously establish a connection to the specified mail server.
|
![]() | ConnectAsync(Socket, String, Int32, SecureSocketOptions, CancellationToken) |
Asynchronously establish a connection to the specified mail server using the provided socket.
|
![]() | ConnectAsync(Stream, String, Int32, SecureSocketOptions, CancellationToken) |
Asynchronously establish a connection to the specified mail server using the provided stream.
|
![]() ![]() | DefaultServerCertificateValidationCallback |
The default server certificate validation callback used when connecting via SSL or TLS.
|
![]() ![]() | Disconnect |
Disconnect the service.
|
![]() | DisconnectAsync |
Asynchronously disconnect the service.
|
![]() | Dispose |
Releases all resource used by the MailService object.
|
![]() | Dispose(Boolean) |
Releases the unmanaged resources used by the MailService and
optionally releases the managed resources.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize |
Releases unmanaged resources and performs other cleanup operations before the
MailService is reclaimed by garbage collection.
(Overrides ObjectFinalize.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | NoOp |
Ping the mail server to keep the connection alive.
|
![]() | NoOpAsync |
Asynchronously ping the mail server to keep the connection alive.
|
![]() | OnAuthenticated |
Raise the authenticated event.
|
![]() | OnConnected |
Raise the connected event.
|
![]() | OnDisconnected |
Raise the disconnected event.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |