SmtpClient
Contents
[
Hide
]SmtpClient class
Inherits: Aspose::Email::Clients::EmailClient, Aspose::Email::Clients::Smtp::IMailTransferAgent
Allows applications to send messages by using the Simple Mail Transfer Protocol (SMTP).
Constructors
| Name | Description |
|---|---|
| SmtpClient (17 overloads) | Initializes a new instance of the SmtpClient class. |
Methods
| Name | Description |
|---|---|
| BeginForward (13 overloads) | Please note: this method is used only for the .NET framework with versions earlier than 4.5. |
| BeginNoop (6 overloads) | Please note: this method is used only for the .NET framework with versions earlier than 4.5. |
| BeginSend (26 overloads) | Please note: this method is used only for the .NET framework with versions earlier than 4.5. |
| BeginSendQueue (3 overloads) | Please note: this method is used only for the .NET framework with versions earlier than 4.5. |
| BeginValidateCredentials (6 overloads) | Please note: this method is used only for the .NET framework with versions earlier than 4.5. |
| EndBeginSendQueue | Please note: this method is used only for the .NET framework with versions earlier than 4.5. |
| EndForward | Please note: this method is used only for the .NET framework with versions earlier than 4.5. |
| EndNoop | Please note: this method is used only for the .NET framework with versions earlier than 4.5. |
| EndSend | Please note: this method is used only for the .NET framework with versions earlier than 4.5. |
| EndValidateCredentials | Please note: this method is used only for the .NET framework with versions earlier than 4.5. |
| Forward (6 overloads) | Forwards specified message to recipient |
| get_AllowedAuthentication | Gets enumeration of allowed by user authentication types |
| get_DefaultPort | Gets default port for client |
| get_DeliveryMethod | Gets the delivery method. |
| get_HelloMessage | Gets a HELO/EHLO string. |
| get_PickupDirectoryLocation | Gets the directory where applications save mail messages to be processed by the local SMTP server. Please note: only absolute path is allowed. |
| get_Pool | Gets connection pool for the client |
| get_SmtpQueueLocation | Gets the directory where applications save mail messages to be processed by sending in SMTP queue. Please note: only absolute path is allowed. |
| get_SupportedAuthentication | Gets enumeration of supported by server authentication types |
| get_UseDefaultCredentials | Gets a Boolean value that controls whether the DefaultCredentials are sent with requests. |
| get_UseTnef | Gets a boolean value that controls whether the messages are sent in TNEF format. Note, that now message is sent in TNEF format when being loaded a message contains tnef. |
| Noop (3 overloads) | ‘No operation’ command |
| Send (10 overloads) | Send the specified message. |
| SendToQueue | Append messages to queue |
| set_AllowedAuthentication | Sets enumeration of allowed by user authentication types |
| set_DeliveryMethod | Sets the delivery method. |
| set_HelloMessage | Sets a HELO/EHLO string. |
| set_PickupDirectoryLocation | Sets the directory where applications save mail messages to be processed by the local SMTP server. Please note: only absolute path is allowed. |
| set_SmtpQueueLocation | Sets the directory where applications save mail messages to be processed by sending in SMTP queue. Please note: only absolute path is allowed. |
| set_UseDefaultCredentials | Sets a Boolean value that controls whether the DefaultCredentials are sent with requests. |
| set_UseTnef | Sets a boolean value that controls whether the messages are sent in TNEF format. Note, that now message is sent in TNEF format when being loaded a message contains tnef. |
| ValidateCredentials (2 overloads) | Executes credentials validation |