The members of System.Net.Mail.SmtpClient are listed below.
See Also: Inherited members from System.Object
![]() Initializes a new instance of the System.Net.Mail.SmtpClient class by using configuration file settings. | ||
![]() Initializes a new instance of the System.Net.Mail.SmtpClient class that sends e-mail by using the specified SMTP server. | ||
![]() Initializes a new instance of the System.Net.Mail.SmtpClient class that sends e-mail by using the specified SMTP server and port. |
[read-only] | ClientCertificates | System.Security.Cryptography.X509Certificates.X509CertificateCollection.
![]() Specify which certificates should be used to establish the Secure Sockets Layer (SSL) connection. |
Credentials | System.Net.ICredentialsByHost.
![]() Gets or sets the credentials used to authenticate the sender. | |
DeliveryMethod | SmtpDeliveryMethod.
![]() Specifies how outgoing email messages will be handled. | |
EnableSsl | bool.
![]() Specify whether the System.Net.Mail.SmtpClient uses Secure Sockets Layer (SSL) to encrypt the connection. | |
Host | string.
![]() Gets or sets the name or IP address of the host used for SMTP transactions. | |
PickupDirectoryLocation | string.
![]() Gets or sets the folder where applications save mail messages to be processed by the local SMTP server. | |
Port | int.
![]() Gets or sets the port used for SMTP transactions. | |
[read-only] | ServicePoint | System.Net.ServicePoint.
![]() Gets the network connection used to transmit the e-mail message. |
TargetName | string.
![]() Gets or sets the Service Provider Name (SPN) to use for authentication when using extended protection. | |
Timeout | int.
![]() Gets or sets a value that specifies the amount of time after which a synchronous erload:System.Net.Mail.SmtpClient.Send call times out. | |
UseDefaultCredentials | bool.
![]() Gets or sets a bool value that controls whether the System.Net.CredentialCache.DefaultCredentials are sent with requests. |
Dispose()
| ||
Send(MailMessage)
| ||
Send(string, string, string, string)
| ||
SendAsync(MailMessage, object)
| ||
SendAsync(string, string, string, string, object)
| ||
SendAsyncCancel()
|
Dispose(bool)
| ||
OnSendCompleted(System.ComponentModel.AsyncCompletedEventArgs)
|
SendCompleted |
![]() Occurs when an asynchronous e-mail send operation completes. |