The properties of System.Net.Mail.SmtpClient are listed below. For a list of all members, see the SmtpClient Members list.
See Also: Inherited members from System.Object
| [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. |