Allows applications to send messages by using the Simple Mail Transfer Protocol (SMTP). More...
Inherits Aspose::Email::Clients::EmailClient, and Aspose::Email::Clients::Smtp::IMailTransferAgent.
Public Member Functions | |
System::SharedPtr< SmtpConnectionPool > | get_Pool () |
Gets connection pool for the client More... | |
int32_t | get_DefaultPort () override |
Gets default port for client More... | |
System::String | get_HelloMessage () |
Gets a HELO/EHLO string. More... | |
void | set_HelloMessage (System::String value) |
Sets a HELO/EHLO string. More... | |
SmtpDeliveryMethod | get_DeliveryMethod () |
Gets the delivery method. More... | |
void | set_DeliveryMethod (SmtpDeliveryMethod value) |
Sets the delivery method. More... | |
System::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. More... | |
void | set_PickupDirectoryLocation (System::String value) |
Sets the directory where applications save mail messages to be processed by the local SMTP server. Please note: only absolute path is allowed. More... | |
System::String | 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. More... | |
void | set_SmtpQueueLocation (System::String value) |
Sets the directory where applications save mail messages to be processed by sending in SMTP queue. Please note: only absolute path is allowed. More... | |
bool | get_UseDefaultCredentials () override |
Gets a Boolean value that controls whether the DefaultCredentials are sent with requests. More... | |
void | set_UseDefaultCredentials (bool value) override |
Sets a Boolean value that controls whether the DefaultCredentials are sent with requests. More... | |
bool | 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. More... | |
void | set_UseTnef (bool value) |
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. More... | |
SmtpKnownAuthenticationType | get_AllowedAuthentication () |
Gets enumeration of allowed by user authentication types More... | |
void | set_AllowedAuthentication (SmtpKnownAuthenticationType value) |
Sets enumeration of allowed by user authentication types More... | |
SmtpKnownAuthenticationType | get_SupportedAuthentication () |
Gets enumeration of supported by server authentication types More... | |
SmtpClient () | |
Initializes a new instance of the SmtpClient class. More... | |
SmtpClient (System::String host) | |
Initializes a new instance of the SmtpClient class. More... | |
SmtpClient (System::String host, Aspose::Email::Clients::SecurityOptions securityOptions) | |
Initializes a new instance of the SmtpClient class. More... | |
SmtpClient (System::String host, int32_t port) | |
Initializes a new instance of the SmtpClient class. More... | |
SmtpClient (System::String host, int32_t port, Aspose::Email::Clients::SecurityOptions securityOptions) | |
Initializes a new instance of the SmtpClient class. More... | |
SmtpClient (System::String host, System::String username, System::String password) | |
Initializes a new instance of the SmtpClient class. More... | |
SmtpClient (System::String host, System::String username, System::String password, Aspose::Email::Clients::SecurityOptions securityOptions) | |
Initializes a new instance of the SmtpClient class. More... | |
SmtpClient (System::String host, int32_t port, System::String username, System::String password) | |
Initializes a new instance of the SmtpClient class. More... | |
SmtpClient (System::String host, int32_t port, System::String username, System::String password, Aspose::Email::Clients::SecurityOptions securityOptions) | |
Initializes a new instance of the SmtpClient class. More... | |
SmtpClient (System::String host, System::String username, System::String authInfo, bool useOAuth) | |
Initializes a new instance of the SmtpClient class. More... | |
SmtpClient (System::String host, System::String username, System::String authInfo, bool useOAuth, Aspose::Email::Clients::SecurityOptions securityOptions) | |
Initializes a new instance of the SmtpClient class. More... | |
SmtpClient (System::String host, int32_t port, System::String username, System::String authInfo, bool useOAuth) | |
Initializes a new instance of the SmtpClient class. More... | |
SmtpClient (System::String host, int32_t port, System::String username, System::String authInfo, bool useOAuth, Aspose::Email::Clients::SecurityOptions securityOptions) | |
Initializes a new instance of the SmtpClient class. More... | |
SmtpClient (System::String host, System::String username, System::SharedPtr< ITokenProvider > tokenProvider) | |
Initializes a new instance of the SmtpClient class. More... | |
SmtpClient (System::String host, System::String username, System::SharedPtr< ITokenProvider > tokenProvider, Aspose::Email::Clients::SecurityOptions securityOptions) | |
Initializes a new instance of the SmtpClient class. More... | |
SmtpClient (System::String host, int32_t port, System::String username, System::SharedPtr< ITokenProvider > tokenProvider) | |
Initializes a new instance of the SmtpClient class. More... | |
SmtpClient (System::String host, int32_t port, System::String username, System::SharedPtr< ITokenProvider > tokenProvider, Aspose::Email::Clients::SecurityOptions securityOptions) | |
Initializes a new instance of the SmtpClient class. More... | |
System::SharedPtr< System::IAsyncResult > | BeginForward (System::SharedPtr< IConnection > connection, System::String sender, System::String recipient, System::SharedPtr< MailMessage > message) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginForward (System::SharedPtr< IConnection > connection, System::String sender, System::String recipient, System::SharedPtr< MailMessage > message, System::AsyncCallback callback) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginForward (System::SharedPtr< IConnection > connection, System::String sender, System::String recipient, System::SharedPtr< MailMessage > message, System::AsyncCallback callback, System::SharedPtr< System::Object > state) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginForward (System::String sender, System::String recipient, System::SharedPtr< MailMessage > message) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginForward (System::String sender, System::String recipient, System::SharedPtr< MailMessage > message, System::AsyncCallback callback) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginForward (System::String sender, System::String recipient, System::SharedPtr< MailMessage > message, System::AsyncCallback callback, System::SharedPtr< System::Object > state) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginForward (System::SharedPtr< IConnection > connection, System::String sender, System::SharedPtr< MailAddressCollection > recipients, System::SharedPtr< MailMessage > message) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginForward (System::SharedPtr< IConnection > connection, System::String sender, System::SharedPtr< MailAddressCollection > recipients, System::SharedPtr< MailMessage > message, System::AsyncCallback callback) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginForward (System::SharedPtr< IConnection > connection, System::String sender, System::SharedPtr< MailAddressCollection > recipients, System::SharedPtr< MailMessage > message, System::AsyncCallback callback, System::SharedPtr< System::Object > state) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginForward (System::SharedPtr< IConnection > connection, System::String sender, System::SharedPtr< MailAddressCollection > recipients, System::SharedPtr< System::IO::Stream > messageStream, System::AsyncCallback callback, System::SharedPtr< System::Object > state) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginForward (System::String sender, System::SharedPtr< MailAddressCollection > recipients, System::SharedPtr< MailMessage > message) |
Begins forward email asynchronously. More... | |
System::SharedPtr< System::IAsyncResult > | BeginForward (System::String sender, System::SharedPtr< MailAddressCollection > recipients, System::SharedPtr< MailMessage > message, System::AsyncCallback callback) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginForward (System::String sender, System::SharedPtr< MailAddressCollection > recipients, System::SharedPtr< MailMessage > message, System::AsyncCallback callback, System::SharedPtr< System::Object > state) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
void | EndForward (System::SharedPtr< System::IAsyncResult > asyncResult) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
void | Forward (System::SharedPtr< IConnection > connection, System::String sender, System::String recipient, System::SharedPtr< MailMessage > message) |
Forwards specified message to recipient More... | |
void | Forward (System::SharedPtr< IConnection > connection, System::String sender, System::SharedPtr< MailAddressCollection > recipients, System::SharedPtr< MailMessage > message) |
Forwards specified message to recipient More... | |
void | Forward (System::String sender, System::String recipient, System::SharedPtr< MailMessage > message) |
Forwards specified message to recipient More... | |
void | Forward (System::String sender, System::SharedPtr< MailAddressCollection > recipients, System::SharedPtr< MailMessage > message) |
Forwards specified message to recipient More... | |
void | Forward (System::SharedPtr< IConnection > connection, System::String sender, System::SharedPtr< MailAddressCollection > recipients, System::SharedPtr< System::IO::Stream > messageStream) |
Forwards specified message to recipient More... | |
void | Forward (System::String sender, System::SharedPtr< MailAddressCollection > recipients, System::SharedPtr< System::IO::Stream > messageStream) |
Forwards specified message to recipient More... | |
System::SharedPtr< System::IAsyncResult > | BeginNoop (System::SharedPtr< IConnection > connection) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginNoop (System::SharedPtr< IConnection > connection, System::AsyncCallback callback) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginNoop (System::SharedPtr< IConnection > connection, System::AsyncCallback callback, System::SharedPtr< System::Object > state) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginNoop () |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginNoop (System::AsyncCallback callback) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginNoop (System::AsyncCallback callback, System::SharedPtr< System::Object > state) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
void | EndNoop (System::SharedPtr< System::IAsyncResult > asyncResult) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
void | Noop (System::SharedPtr< IConnection > connection) override |
'No operation' command More... | |
void | Noop () override |
'No operation' command More... | |
void | Noop (System::SharedPtr< Connection > connection, int32_t timeout) override |
'No operation' command More... | |
System::SharedPtr< System::IAsyncResult > | BeginSend (System::SharedPtr< IConnection > connection, System::SharedPtr< MailMessage > message) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginSend (System::SharedPtr< IConnection > connection, System::SharedPtr< MailMessage > message, System::AsyncCallback callback) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginSend (System::SharedPtr< IConnection > connection, System::SharedPtr< MailMessage > message, System::AsyncCallback callback, System::SharedPtr< System::Object > state) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginSend (System::SharedPtr< IConnection > connection, System::String from, System::String recipients, System::String subject, System::String body) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginSend (System::SharedPtr< IConnection > connection, System::String from, System::String recipients, System::String subject, System::String body, System::AsyncCallback callback) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginSend (System::SharedPtr< IConnection > connection, System::String from, System::String recipients, System::String subject, System::String body, System::AsyncCallback callback, System::SharedPtr< System::Object > state) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginSend (System::SharedPtr< IConnection > connection, const System::ArrayPtr< System::SharedPtr< MailMessage >> &messages) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginSend (System::SharedPtr< IConnection > connection, System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< MailMessage >>> messages) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginSend (System::SharedPtr< IConnection > connection, System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< MailMessage >>> messages, System::AsyncCallback callback) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginSend (System::SharedPtr< IConnection > connection, System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< MailMessage >>> messages, System::AsyncCallback callback, System::SharedPtr< System::Object > state) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginSend (System::SharedPtr< MailMessage > message) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginSend (System::SharedPtr< MailMessage > message, System::AsyncCallback callback) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginSend (System::SharedPtr< MailMessage > message, System::AsyncCallback callback, System::SharedPtr< System::Object > state) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginSend (System::String from, System::String recipients, System::String subject, System::String body) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginSend (System::String from, System::String recipients, System::String subject, System::String body, System::AsyncCallback callback) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginSend (System::String from, System::String recipients, System::String subject, System::String body, System::AsyncCallback callback, System::SharedPtr< System::Object > state) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginSend (const System::ArrayPtr< System::SharedPtr< MailMessage >> &messages) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginSend (System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< MailMessage >>> messages) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginSend (System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< MailMessage >>> messages, System::AsyncCallback callback) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginSend (System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< MailMessage >>> messages, System::AsyncCallback callback, System::SharedPtr< System::Object > state) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginSend (System::SharedPtr< IConnection > connection, System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< MailMessage >>> messages, System::EventHandler< System::SharedPtr< MailMessageEventArgs >> messageSentDelegate) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginSend (System::SharedPtr< IConnection > connection, System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< MailMessage >>> messages, System::EventHandler< System::SharedPtr< MailMessageEventArgs >> messageSentDelegate, System::AsyncCallback callback) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginSend (System::SharedPtr< IConnection > connection, System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< MailMessage >>> messages, System::EventHandler< System::SharedPtr< MailMessageEventArgs >> messageSentDelegate, System::AsyncCallback callback, System::SharedPtr< System::Object > state) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginSend (System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< MailMessage >>> messages, System::EventHandler< System::SharedPtr< MailMessageEventArgs >> messageSentDelegate) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginSend (System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< MailMessage >>> messages, System::EventHandler< System::SharedPtr< MailMessageEventArgs >> messageSentDelegate, System::AsyncCallback callback) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginSend (System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< MailMessage >>> messages, System::EventHandler< System::SharedPtr< MailMessageEventArgs >> messageSentDelegate, System::AsyncCallback callback, System::SharedPtr< System::Object > state) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
void | EndSend (System::SharedPtr< System::IAsyncResult > asyncResult) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
void | Send (System::String from, System::String recipients, System::String subject, System::String body) |
Creates and sends the specified message. More... | |
void | Send (System::SharedPtr< MailMessage > message) override |
Send the specified message. More... | |
void | Send (const System::ArrayPtr< System::SharedPtr< MailMessage >> &messages) |
Send the specified message. More... | |
void | Send (System::SharedPtr< MailMessageCollection > messages) |
Send the specified message collection. More... | |
void | Send (System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< MailMessage >>> messages) |
Send the specified messages. More... | |
void | Send (System::SharedPtr< IConnection > connection, System::String from, System::String recipients, System::String subject, System::String body) |
Creates and sends the specified message. More... | |
void | Send (System::SharedPtr< IConnection > connection, System::SharedPtr< MailMessage > message) |
Send the specified message. More... | |
void | Send (System::SharedPtr< IConnection > connection, const System::ArrayPtr< System::SharedPtr< MailMessage >> &messages) |
Send the specified message. More... | |
void | Send (System::SharedPtr< IConnection > connection, System::SharedPtr< MailMessageCollection > messages) |
Send the specified message collection. More... | |
void | Send (System::SharedPtr< IConnection > connection, System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< MailMessage >>> messages) |
Send the specified messages. More... | |
System::SharedPtr< System::IAsyncResult > | BeginSendQueue () |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginSendQueue (System::AsyncCallback callback) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginSendQueue (System::AsyncCallback callback, System::SharedPtr< System::Object > state) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
void | EndBeginSendQueue (System::SharedPtr< System::IAsyncResult > asyncResult) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
void | SendToQueue (System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< MailMessage >>> messages) |
Append messages to queue More... | |
System::SharedPtr< System::IAsyncResult > | BeginValidateCredentials (System::SharedPtr< IConnection > connection) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginValidateCredentials (System::SharedPtr< IConnection > connection, System::AsyncCallback callback) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginValidateCredentials (System::SharedPtr< IConnection > connection, System::AsyncCallback callback, System::SharedPtr< System::Object > state) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginValidateCredentials () |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginValidateCredentials (System::AsyncCallback callback) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
System::SharedPtr< System::IAsyncResult > | BeginValidateCredentials (System::AsyncCallback callback, System::SharedPtr< System::Object > state) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
bool | EndValidateCredentials (System::SharedPtr< System::IAsyncResult > asyncResult) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5. More... | |
bool | ValidateCredentials (System::SharedPtr< IConnection > connection) |
Executes credentials validation More... | |
bool | ValidateCredentials () override |
Executes credentials validation More... | |
Public Member Functions inherited from Aspose::Email::Clients::EmailClient | |
bool | get_EnableLogger () |
Gets value which allows enable/disable logger More... | |
void | set_EnableLogger (bool value) |
Sets value which allows enable/disable logger More... | |
System::String | get_LogFileName () |
Gets log file name More... | |
void | set_LogFileName (System::String value) |
Sets log file name More... | |
bool | get_UseDateInLogFileName () const |
Gets value which indicates if date has to be used in log file name. More... | |
void | set_UseDateInLogFileName (bool value) |
Sets value which indicates if date has to be used in log file name. More... | |
virtual System::SharedPtr< Aspose::Email::Tools::Logging::Logger > | get_Logger () |
virtual void | set_Logger (System::SharedPtr< Aspose::Email::Tools::Logging::Logger > value) |
virtual System::SharedPtr< System::Text::Encoding > | get_DefaultEncoding () |
Gets default encoding for email client More... | |
virtual void | set_DefaultEncoding (System::SharedPtr< System::Text::Encoding > value) |
Sets default encoding for email client More... | |
virtual Base::EncryptionProtocols | get_SupportedEncryption () |
Defines the versions of SSL/TLS encryption protocols to be used. PLEASE PAY YOUR ATTENTION, you may set only those versions of protocol, which are supported by .net framework. IF SOME VERSIONS OF PROTOCOL ARE NOT SUPPORTED BY YOUR CURRENT VERSION OF .NET FRAMEWORK, THEY WILL BE IGNORED AND SKIPPED. IT MAY LEAD TO DOWNGRADE TLS SECURITY LEVEL. IN THIS CASE EXCEPTION WON'T BE GENERATED!!! Please, see EncryptionProtocols documentation for more details. Please use SetSupportedEncryptionUnsafe method if you want to set the encryption protocols without any compatibility checks. Default value is: Tls | Tls11 | Tls12 | Tls13 (in case if your current version of .net framework supports these versions of TLS) More... | |
virtual void | set_SupportedEncryption (Base::EncryptionProtocols value) |
Defines the versions of SSL/TLS encryption protocols to be used. PLEASE PAY YOUR ATTENTION, you may set only those versions of protocol, which are supported by .net framework. IF SOME VERSIONS OF PROTOCOL ARE NOT SUPPORTED BY YOUR CURRENT VERSION OF .NET FRAMEWORK, THEY WILL BE IGNORED AND SKIPPED. IT MAY LEAD TO DOWNGRADE TLS SECURITY LEVEL. IN THIS CASE EXCEPTION WON'T BE GENERATED!!! Please, see EncryptionProtocols documentation for more details. Please use SetSupportedEncryptionUnsafe method if you want to set the encryption protocols without any compatibility checks. Default value is: Tls | Tls11 | Tls12 | Tls13 (in case if your current version of .net framework supports these versions of TLS) More... | |
virtual System::SharedPtr< System::Security::Cryptography::X509Certificates::X509CertificateCollection > | get_ClientCertificates () |
Contains collection of clients certificates More... | |
virtual System::SharedPtr< PipeliningStatus > | get_UsePipelining () |
Gets object which indicates whether the pipelining mode is enabled. More... | |
virtual void | set_UsePipelining (System::SharedPtr< PipeliningStatus > value) |
Sets object which indicates whether the pipelining mode is enabled. More... | |
virtual System::String | get_Host () |
Gets the host name. More... | |
virtual void | set_Host (System::String value) |
Sets the host name. More... | |
virtual int32_t | get_Port () |
Gets the port. More... | |
virtual void | set_Port (int32_t value) |
Sets the port. More... | |
virtual Aspose::Email::Clients::SecurityOptions | get_SecurityOptions () |
Security mode for a mail client More... | |
virtual void | set_SecurityOptions (Aspose::Email::Clients::SecurityOptions value) |
Security mode for a mail client More... | |
virtual bool | get_UseAuthentication () |
Indicates whether authentication is used. More... | |
virtual void | set_UseAuthentication (bool value) |
Indicates whether authentication is used. More... | |
virtual int32_t | get_ConnectionCheckupPeriod () |
Period of connection checking up in milliseconds. Default value is 5 min. More... | |
virtual void | set_ConnectionCheckupPeriod (int32_t value) |
Period of connection checking up in milliseconds. Default value is 5 min. More... | |
virtual System::SharedPtr< Aspose::Email::Clients::Proxy > | get_Proxy () |
Gets proxy for the client More... | |
virtual void | set_Proxy (System::SharedPtr< Aspose::Email::Clients::Proxy > value) |
Sets proxy for the client More... | |
int32_t | get_Timeout () |
Gets the timeout for mail operations More... | |
void | set_Timeout (int32_t value) |
Sets the timeout for mail operations More... | |
int32_t | get_GreetingTimeout () |
Gets the greeting timeout that is used when establishing a connection. Please note, greeting timeout can't be infinite. More... | |
void | set_GreetingTimeout (int32_t value) |
Sets the greeting timeout that is used when establishing a connection. Please note, greeting timeout can't be infinite. More... | |
System::SharedPtr< System::Net::ICredentialsByHost > | get_Credentials () |
void | set_Credentials (System::SharedPtr< System::Net::ICredentialsByHost > value) |
virtual System::String | get_Password () |
Gets the password. Password limitations are defined by server implementation, which client connects. More... | |
virtual void | set_Password (System::String value) |
Sets the password. Password limitations are defined by server implementation, which client connects. More... | |
virtual System::String | get_AccessToken () |
Gets the access token. More... | |
virtual void | set_AccessToken (System::String value) |
Sets the access token. More... | |
System::SharedPtr< ITokenProvider > | get_TokenProvider () const |
Gets TokenProvider allowing to retrieve access token. More... | |
void | set_TokenProvider (System::SharedPtr< ITokenProvider > value) |
Sets TokenProvider allowing to retrieve access token. More... | |
virtual System::String | get_Username () |
Gets the username. More... | |
virtual void | set_Username (System::String value) |
Sets the username. More... | |
Aspose::Email::Clients::ConnectionState | get_ConnectionState () |
Gets the current state of the connection. More... | |
System::SharedPtr< Aspose::Email::Clients::ConnectionPool > | get_ConnectionPool () const |
Gets connection pool for the client More... | |
void | set_ConnectionPool (System::SharedPtr< Aspose::Email::Clients::ConnectionPool > value) |
Sets connection pool for the client More... | |
virtual System::SharedPtr< IConnection > | get_CurrentConnection () |
Gets current connection according to ConnectionAsgmtMode option More... | |
virtual ConnectionAsgmtType | get_ConnectionAsgmtMode () |
Gets value which defines mode of connection allocation in multiple threads environment More... | |
virtual void | set_ConnectionAsgmtMode (ConnectionAsgmtType value) |
Sets value which defines mode of connection allocation in multiple threads environment More... | |
virtual MultiConnectionMode | get_UseMultiConnection () |
Gets value which indicates if client has to use multiple connections for heavy loaded operations. Please note, using of this mode not necessary has to lead to performance increasing. More... | |
virtual void | set_UseMultiConnection (MultiConnectionMode value) |
Sets value which indicates if client has to use multiple connections for heavy loaded operations. Please note, using of this mode not necessary has to lead to performance increasing. More... | |
virtual int32_t | get_ConnectionsQuantity () |
Gets quantity of connections in multy-connection mode More... | |
virtual void | set_ConnectionsQuantity (int32_t value) |
Sets quantity of connections in multy-connection mode More... | |
void | InitializeConnectionPool () |
void | ResetLogSettings () |
Resets logging settings to default. More... | |
void | initializeLogger () |
void | SetSupportedEncryptionUnsafe (Base::EncryptionProtocols value) |
Defines the versions of SSL/TLS encryption protocols to be used. This method is not safe and sets the encryption protocols without any compatibility checks. Use SupportedEncryption property to safely set only protocols that definitely supported by .net framework. Please note, if your current .net framework does not support this level of security, an exception will be thrown when trying to establish a connection to the server. More... | |
void | SetCredentials () |
virtual System::ArrayPtr< System::String > | GetCapabilities () |
void | CancelAsyncOperation (System::SharedPtr< System::IAsyncResult > asyncResult) |
Cancels asynchronous operation. This method is used only with APM operations also known as Begin/End methods. Please do not use this method with TAP operations! More... | |
virtual void | ConnectionFinalize (System::SharedPtr< System::Object > sender, System::SharedPtr< Base::ConnectionEventArgs > args) |
Performs finalization operation for specified connection More... | |
System::SharedPtr< System::Object > | EndGroupOperation (System::SharedPtr< System::IAsyncResult > asyncResult) |
Waits for the pending asynchronous operation to complete. More... | |
void | Dispose () override |
Finalizes all operations with a server. More... | |
virtual System::SharedPtr< IConnection > | CreateConnection () |
Creates new independent connection for operations not linked to threads (not default connection). Invocation of this method is similar to invocation of CreateConnection(createAsDefaultConnection = false) Please see more in documentation for EmailClient.ConnectionAsgmtMode property. More... | |
virtual System::SharedPtr< IConnection > | CreateConnection (bool createAsDefaultConnection) |
Creates new (default or independent) connection for operations. Please see more in documentation for EmailClient.ConnectionAsgmtMode property. More... | |
Protected Member Functions | |
virtual | ~SmtpClient () |
Protected Member Functions inherited from Aspose::Email::Clients::EmailClient | |
EmailClient (System::String type) | |
Initializes a new instance of the EmailClient class. More... | |
EmailClient (System::String type, System::String host, int32_t port) | |
Initializes a new instance of the EmailClient class. More... | |
EmailClient (System::String type, System::String host, int32_t port, Aspose::Email::Clients::SecurityOptions securityOptions) | |
Initializes a new instance of the EmailClient class. More... | |
EmailClient (System::String type, System::String host, int32_t port, System::String username, System::String password) | |
Initializes a new instance of the EmailClient class. More... | |
EmailClient (System::String type, System::String host, int32_t port, System::String username, System::String password, Aspose::Email::Clients::SecurityOptions securityOptions) | |
Initializes a new instance of the EmailClient class. More... | |
EmailClient (System::String type, System::String host, int32_t port, System::String username, System::String authInfo, bool useOAuth) | |
Initializes a new instance of the EmailClient class. More... | |
EmailClient (System::String type, System::String host, int32_t port, System::String username, System::String authInfo, bool useOAuth, Aspose::Email::Clients::SecurityOptions securityOptions) | |
Initializes a new instance of the EmailClient class. More... | |
EmailClient (System::String type, System::String host, int32_t port, System::String username, System::SharedPtr< ITokenProvider > tokenProvider) | |
Initializes a new instance of the EmailClient class. More... | |
EmailClient (System::String type, System::String host, int32_t port, System::String username, System::SharedPtr< ITokenProvider > tokenProvider, Aspose::Email::Clients::SecurityOptions securityOptions) | |
Initializes a new instance of the EmailClient class. More... | |
virtual void | Dispose (bool disposing) |
Finalizes all operations with a server. More... | |
virtual | ~EmailClient () |
Additional Inherited Members | |
Public Attributes inherited from Aspose::Email::Clients::EmailClient | |
System::SharedPtr< System::Object > | loggerSyncObj |
System::SharedPtr< Aspose::Email::Tools::Logging::Logger > | logger |
System::String | password |
System::String | username |
System::String | accessToken |
System::SharedPtr< ITokenProvider > | tokenProvider |
System::SharedPtr< Aspose::Email::Clients::ConnectionPool > | connectionPool |
System::String | clientType |
Static Public Attributes inherited from Aspose::Email::Clients::EmailClient | |
static System::SharedPtr< System::Object > | logManagerSyncObj |
Allows applications to send messages by using the Simple Mail Transfer Protocol (SMTP).
Aspose::Email::Clients::Smtp::SmtpClient::SmtpClient | ( | ) |
Initializes a new instance of the SmtpClient class.
Aspose::Email::Clients::Smtp::SmtpClient::SmtpClient | ( | System::String | host | ) |
Initializes a new instance of the SmtpClient class.
host | The name of the host used for SMTP. |
Aspose::Email::Clients::Smtp::SmtpClient::SmtpClient | ( | System::String | host, |
Aspose::Email::Clients::SecurityOptions | securityOptions | ||
) |
Initializes a new instance of the SmtpClient class.
host | The name of the host used for SMTP. |
securityOptions | Security mode for a mail client |
Aspose::Email::Clients::Smtp::SmtpClient::SmtpClient | ( | System::String | host, |
int32_t | port | ||
) |
Initializes a new instance of the SmtpClient class.
host | The name of the host used for SMTP. |
port | The port used for SMTP. |
Aspose::Email::Clients::Smtp::SmtpClient::SmtpClient | ( | System::String | host, |
int32_t | port, | ||
Aspose::Email::Clients::SecurityOptions | securityOptions | ||
) |
Initializes a new instance of the SmtpClient class.
host | The name of the host used for SMTP. |
port | The port used for SMTP. |
securityOptions | Security mode for a mail client |
Aspose::Email::Clients::Smtp::SmtpClient::SmtpClient | ( | System::String | host, |
System::String | username, | ||
System::String | password | ||
) |
Initializes a new instance of the SmtpClient class.
host | The name of the host used for SMTP. |
username | The username. |
password | The password. Password limitations are defined by server implementation, which the client connects. |
Aspose::Email::Clients::Smtp::SmtpClient::SmtpClient | ( | System::String | host, |
System::String | username, | ||
System::String | password, | ||
Aspose::Email::Clients::SecurityOptions | securityOptions | ||
) |
Initializes a new instance of the SmtpClient class.
host | The name of the host used for SMTP. |
username | The username. |
password | The password. Password limitations are defined by server implementation, which the client connects. |
securityOptions | Security mode for a mail client |
Aspose::Email::Clients::Smtp::SmtpClient::SmtpClient | ( | System::String | host, |
int32_t | port, | ||
System::String | username, | ||
System::String | password | ||
) |
Initializes a new instance of the SmtpClient class.
host | The name of the host used for SMTP. |
port | The port used for SMTP. |
username | The username. |
password | The password. Password limitations are defined by server implementation, which the client connects. |
Aspose::Email::Clients::Smtp::SmtpClient::SmtpClient | ( | System::String | host, |
int32_t | port, | ||
System::String | username, | ||
System::String | password, | ||
Aspose::Email::Clients::SecurityOptions | securityOptions | ||
) |
Initializes a new instance of the SmtpClient class.
host | The name of the host used for SMTP. |
port | The port used for SMTP. |
username | The username. |
password | The password. Password limitations are defined by server implementation, which the client connects. |
securityOptions | Security mode for a mail client |
Aspose::Email::Clients::Smtp::SmtpClient::SmtpClient | ( | System::String | host, |
System::String | username, | ||
System::String | authInfo, | ||
bool | useOAuth | ||
) |
Initializes a new instance of the SmtpClient class.
host | The name of the host used for SMTP. |
username | The username. |
authInfo | The user password or XOAUTH2 access token |
useOAuth | Defines whether SASL XOAUTH2 mechanism is used to login to the server |
Aspose::Email::Clients::Smtp::SmtpClient::SmtpClient | ( | System::String | host, |
System::String | username, | ||
System::String | authInfo, | ||
bool | useOAuth, | ||
Aspose::Email::Clients::SecurityOptions | securityOptions | ||
) |
Initializes a new instance of the SmtpClient class.
host | The name of the host used for SMTP. |
username | The username. |
authInfo | The user password or XOAUTH2 access token |
useOAuth | Defines whether SASL XOAUTH2 mechanism is used to login to the server |
securityOptions | Security mode for a mail client |
Aspose::Email::Clients::Smtp::SmtpClient::SmtpClient | ( | System::String | host, |
int32_t | port, | ||
System::String | username, | ||
System::String | authInfo, | ||
bool | useOAuth | ||
) |
Initializes a new instance of the SmtpClient class.
host | The name of the host used for SMTP. |
port | The port used for SMTP. |
username | The username. |
authInfo | The user password or XOAUTH2 access token |
useOAuth | Defines whether SASL XOAUTH2 mechanism is used to login to the server |
Aspose::Email::Clients::Smtp::SmtpClient::SmtpClient | ( | System::String | host, |
int32_t | port, | ||
System::String | username, | ||
System::String | authInfo, | ||
bool | useOAuth, | ||
Aspose::Email::Clients::SecurityOptions | securityOptions | ||
) |
Initializes a new instance of the SmtpClient class.
host | The name of the host used for SMTP. |
port | The port used for SMTP. |
username | The username. |
authInfo | The user password or XOAUTH2 access token |
useOAuth | Defines whether SASL XOAUTH2 mechanism is used to login to the server |
securityOptions | Security mode for a mail client |
Aspose::Email::Clients::Smtp::SmtpClient::SmtpClient | ( | System::String | host, |
System::String | username, | ||
System::SharedPtr< ITokenProvider > | tokenProvider | ||
) |
Initializes a new instance of the SmtpClient class.
host | The name of the host used for SMTP. |
username | The username. |
tokenProvider | TokenProvider allowing to retrieve access token. |
Aspose::Email::Clients::Smtp::SmtpClient::SmtpClient | ( | System::String | host, |
System::String | username, | ||
System::SharedPtr< ITokenProvider > | tokenProvider, | ||
Aspose::Email::Clients::SecurityOptions | securityOptions | ||
) |
Initializes a new instance of the SmtpClient class.
host | The name of the host used for SMTP. |
username | The username. |
tokenProvider | TokenProvider allowing to retrieve access token. |
securityOptions | Security mode for a mail client |
Aspose::Email::Clients::Smtp::SmtpClient::SmtpClient | ( | System::String | host, |
int32_t | port, | ||
System::String | username, | ||
System::SharedPtr< ITokenProvider > | tokenProvider | ||
) |
Initializes a new instance of the SmtpClient class.
host | The name of the host used for SMTP. |
port | The port used for SMTP. |
username | The username. |
tokenProvider | TokenProvider allowing to retrieve access token. |
Aspose::Email::Clients::Smtp::SmtpClient::SmtpClient | ( | System::String | host, |
int32_t | port, | ||
System::String | username, | ||
System::SharedPtr< ITokenProvider > | tokenProvider, | ||
Aspose::Email::Clients::SecurityOptions | securityOptions | ||
) |
Initializes a new instance of the SmtpClient class.
host | The name of the host used for SMTP. |
port | The port used for SMTP. |
username | The username. |
tokenProvider | TokenProvider allowing to retrieve access token. |
securityOptions | Security mode for a mail client |
|
protectedvirtual |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginForward | ( | System::SharedPtr< IConnection > | connection, |
System::String | sender, | ||
System::SharedPtr< MailAddressCollection > | recipients, | ||
System::SharedPtr< MailMessage > | message | ||
) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins forward email asynchronously.
connection | Connection to a server |
sender | Sender of the forwarded message. |
recipients | Recipients of the forwarded message. |
message | The message for a forwarding. |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginForward | ( | System::SharedPtr< IConnection > | connection, |
System::String | sender, | ||
System::SharedPtr< MailAddressCollection > | recipients, | ||
System::SharedPtr< MailMessage > | message, | ||
System::AsyncCallback | callback | ||
) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins forward email asynchronously.
connection | Connection to a server |
sender | Sender of the forwarded message. |
recipients | Recipients of the forwarded message. |
message | The message for a forwarding. |
callback | References a method to be called when a corresponding asynchronous operation completes. |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginForward | ( | System::SharedPtr< IConnection > | connection, |
System::String | sender, | ||
System::SharedPtr< MailAddressCollection > | recipients, | ||
System::SharedPtr< MailMessage > | message, | ||
System::AsyncCallback | callback, | ||
System::SharedPtr< System::Object > | state | ||
) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins forward email asynchronously.
connection | Connection to a server |
sender | Sender of the forwarded message. |
recipients | Recipients of the forwarded message. |
message | The message for a forwarding. |
callback | References a method to be called when a corresponding asynchronous operation completes. |
state | The state. |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginForward | ( | System::SharedPtr< IConnection > | connection, |
System::String | sender, | ||
System::SharedPtr< MailAddressCollection > | recipients, | ||
System::SharedPtr< System::IO::Stream > | messageStream, | ||
System::AsyncCallback | callback, | ||
System::SharedPtr< System::Object > | state | ||
) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins forward email asynchronously.
connection | Connection to a server |
sender | Sender of the forwarded message. |
recipients | Recipients of the forwarded message. |
messageStream | The stream that represents message in eml format. |
callback | References a method to be called when a corresponding asynchronous operation completes. |
state | The state. |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginForward | ( | System::SharedPtr< IConnection > | connection, |
System::String | sender, | ||
System::String | recipient, | ||
System::SharedPtr< MailMessage > | message | ||
) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins forward email asynchronously.
connection | Connection to a server |
sender | Sender of the forwarded message. |
recipient | Recipient of the forwarded message. |
message | The message for a forwarding. |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginForward | ( | System::SharedPtr< IConnection > | connection, |
System::String | sender, | ||
System::String | recipient, | ||
System::SharedPtr< MailMessage > | message, | ||
System::AsyncCallback | callback | ||
) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins forward email asynchronously.
connection | Connection to a server |
sender | Sender of the forwarded message. |
recipient | Recipients of the forwarded message. |
message | The message for a forwarding. |
callback | References a method to be called when a corresponding asynchronous operation completes. |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginForward | ( | System::SharedPtr< IConnection > | connection, |
System::String | sender, | ||
System::String | recipient, | ||
System::SharedPtr< MailMessage > | message, | ||
System::AsyncCallback | callback, | ||
System::SharedPtr< System::Object > | state | ||
) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins forward email asynchronously.
connection | Connection to a server |
sender | Sender of the forwarded message. |
recipient | Recipients of the forwarded message. |
message | The message for a forwarding. |
callback | References a method to be called when a corresponding asynchronous operation completes. |
state | The state. |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginForward | ( | System::String | sender, |
System::SharedPtr< MailAddressCollection > | recipients, | ||
System::SharedPtr< MailMessage > | message | ||
) |
Begins forward email asynchronously.
sender | Sender of the forwarded message. |
recipients | Recipients of the forwarded message. |
message | The message for a forwarding. |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginForward | ( | System::String | sender, |
System::SharedPtr< MailAddressCollection > | recipients, | ||
System::SharedPtr< MailMessage > | message, | ||
System::AsyncCallback | callback | ||
) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins forward email asynchronously.
sender | Sender of the forwarded message. |
recipients | Recipients of the forwarded message. |
message | The message for a forwarding. |
callback | References a method to be called when a corresponding asynchronous operation completes. |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginForward | ( | System::String | sender, |
System::SharedPtr< MailAddressCollection > | recipients, | ||
System::SharedPtr< MailMessage > | message, | ||
System::AsyncCallback | callback, | ||
System::SharedPtr< System::Object > | state | ||
) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins forward email asynchronously.
sender | Sender of the forwarded message. |
recipients | Recipients of the forwarded message. |
message | The message for a forwarding. |
callback | References a method to be called when a corresponding asynchronous operation completes. |
state | The state. |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginForward | ( | System::String | sender, |
System::String | recipient, | ||
System::SharedPtr< MailMessage > | message | ||
) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins forward email asynchronously.
sender | Sender of the forwarded message. |
recipient | Recipients of the forwarded message. |
message | The message for a forwarding. |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginForward | ( | System::String | sender, |
System::String | recipient, | ||
System::SharedPtr< MailMessage > | message, | ||
System::AsyncCallback | callback | ||
) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins forward email asynchronously.
sender | Sender of the forwarded message. |
recipient | Recipients of the forwarded message. |
message | The message for a forwarding. |
callback | References a method to be called when a corresponding asynchronous operation completes. |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginForward | ( | System::String | sender, |
System::String | recipient, | ||
System::SharedPtr< MailMessage > | message, | ||
System::AsyncCallback | callback, | ||
System::SharedPtr< System::Object > | state | ||
) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins forward email asynchronously.
sender | Sender of the forwarded message. |
recipient | Recipients of the forwarded message. |
message | The message for a forwarding. |
callback | References a method to be called when a corresponding asynchronous operation completes. |
state | The state. |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginNoop | ( | ) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins to execute 'No operation' command
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginNoop | ( | System::AsyncCallback | callback | ) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins to execute 'No operation' command
callback | References a method to be called when a corresponding asynchronous operation completes. |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginNoop | ( | System::AsyncCallback | callback, |
System::SharedPtr< System::Object > | state | ||
) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins to execute 'No operation' command
callback | References a method to be called when a corresponding asynchronous operation completes. |
state | The state. |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginNoop | ( | System::SharedPtr< IConnection > | connection | ) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins to execute 'No operation' command
connection | Connection to a server |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginNoop | ( | System::SharedPtr< IConnection > | connection, |
System::AsyncCallback | callback | ||
) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins to execute 'No operation' command
connection | Connection to a server |
callback | References a method to be called when a corresponding asynchronous operation completes. |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginNoop | ( | System::SharedPtr< IConnection > | connection, |
System::AsyncCallback | callback, | ||
System::SharedPtr< System::Object > | state | ||
) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins to execute 'No operation' command
connection | Connection to a server |
callback | References a method to be called when a corresponding asynchronous operation completes. |
state | The state. |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginSend | ( | const System::ArrayPtr< System::SharedPtr< MailMessage >> & | messages | ) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins sending email asynchronously.
messages | The array of MailMessage that represents an email-messages to send. |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginSend | ( | System::SharedPtr< IConnection > | connection, |
const System::ArrayPtr< System::SharedPtr< MailMessage >> & | messages | ||
) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins sending email asynchronously.
connection | Connection to a server |
messages | The array of MailMessage that represents an email-messages to send. |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginSend | ( | System::SharedPtr< IConnection > | connection, |
System::SharedPtr< MailMessage > | message | ||
) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins sending email asynchronously.
connection | Connection to a server |
message | Represents an e-mail message |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginSend | ( | System::SharedPtr< IConnection > | connection, |
System::SharedPtr< MailMessage > | message, | ||
System::AsyncCallback | callback | ||
) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins sending email asynchronously.
connection | Connection to a server |
message | Represents an e-mail message |
callback | References a method to be called when a corresponding asynchronous operation completes. |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginSend | ( | System::SharedPtr< IConnection > | connection, |
System::SharedPtr< MailMessage > | message, | ||
System::AsyncCallback | callback, | ||
System::SharedPtr< System::Object > | state | ||
) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins sending email asynchronously.
connection | Connection to a server |
message | Represents an e-mail message |
callback | References a method to be called when a corresponding asynchronous operation completes. |
state | The state. |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginSend | ( | System::SharedPtr< IConnection > | connection, |
System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< MailMessage >>> | messages | ||
) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins sending email asynchronously.
connection | Connection to a server |
messages | The array of MailMessage that represents an email-messages to send. |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginSend | ( | System::SharedPtr< IConnection > | connection, |
System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< MailMessage >>> | messages, | ||
System::AsyncCallback | callback | ||
) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins sending email asynchronously.
connection | Connection to a server |
messages | The array of MailMessage that represents an email-messages to send. |
callback | References a method to be called when a corresponding asynchronous operation completes. |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginSend | ( | System::SharedPtr< IConnection > | connection, |
System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< MailMessage >>> | messages, | ||
System::AsyncCallback | callback, | ||
System::SharedPtr< System::Object > | state | ||
) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins sending email asynchronously.
connection | Connection to a server |
messages | The array of MailMessage that represents an email-messages to send. |
callback | References a method to be called when a corresponding asynchronous operation completes. |
state | The state. |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginSend | ( | System::SharedPtr< IConnection > | connection, |
System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< MailMessage >>> | messages, | ||
System::EventHandler< System::SharedPtr< MailMessageEventArgs >> | messageSentDelegate | ||
) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins sending email asynchronously.
connection | Connection to a server |
messages | The array of MailMessage that represents an email-messages to send. |
messageSentDelegate | References a method to be called when a message has been sent. |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginSend | ( | System::SharedPtr< IConnection > | connection, |
System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< MailMessage >>> | messages, | ||
System::EventHandler< System::SharedPtr< MailMessageEventArgs >> | messageSentDelegate, | ||
System::AsyncCallback | callback | ||
) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins sending email asynchronously.
connection | Connection to a server |
messages | The array of MailMessage that represents an email-messages to send. |
messageSentDelegate | References a method to be called when a message has been sent. |
callback | References a method to be called when a corresponding asynchronous operation completes. |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginSend | ( | System::SharedPtr< IConnection > | connection, |
System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< MailMessage >>> | messages, | ||
System::EventHandler< System::SharedPtr< MailMessageEventArgs >> | messageSentDelegate, | ||
System::AsyncCallback | callback, | ||
System::SharedPtr< System::Object > | state | ||
) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins sending email asynchronously.
connection | Connection to a server |
messages | The array of MailMessage that represents an email-messages to send. |
messageSentDelegate | References a method to be called when a message has been sent. |
callback | References a method to be called when a corresponding asynchronous operation completes. |
state | The state. |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginSend | ( | System::SharedPtr< IConnection > | connection, |
System::String | from, | ||
System::String | recipients, | ||
System::String | subject, | ||
System::String | body | ||
) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins sending email asynchronously.
connection | Connection to a server |
from | A String that contains the address of message sender. |
recipients | A String that contains the address of recipients. |
subject | A subject of message. |
body | A body of message. |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginSend | ( | System::SharedPtr< IConnection > | connection, |
System::String | from, | ||
System::String | recipients, | ||
System::String | subject, | ||
System::String | body, | ||
System::AsyncCallback | callback | ||
) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins sending email asynchronously.
connection | Connection to a server |
from | A String that contains the address of message sender. |
recipients | A String that contains the address of recipients. |
subject | A subject of message. |
body | A body of message. |
callback | References a method to be called when a corresponding asynchronous operation completes. |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginSend | ( | System::SharedPtr< IConnection > | connection, |
System::String | from, | ||
System::String | recipients, | ||
System::String | subject, | ||
System::String | body, | ||
System::AsyncCallback | callback, | ||
System::SharedPtr< System::Object > | state | ||
) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins sending email asynchronously.
connection | Connection to a server |
from | A String that contains the address of message sender. |
recipients | A String that contains the address of recipients. |
subject | A subject of message. |
body | A body of message. |
callback | References a method to be called when a corresponding asynchronous operation completes. |
state | The state. |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginSend | ( | System::SharedPtr< MailMessage > | message | ) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins sending email asynchronously.
message | Represents an e-mail message |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginSend | ( | System::SharedPtr< MailMessage > | message, |
System::AsyncCallback | callback | ||
) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins sending email asynchronously.
message | Represents an e-mail message |
callback | References a method to be called when a corresponding asynchronous operation completes. |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginSend | ( | System::SharedPtr< MailMessage > | message, |
System::AsyncCallback | callback, | ||
System::SharedPtr< System::Object > | state | ||
) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins sending email asynchronously.
message | Represents an e-mail message |
callback | References a method to be called when a corresponding asynchronous operation completes. |
state | The state. |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginSend | ( | System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< MailMessage >>> | messages | ) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins sending email asynchronously.
messages | The array of MailMessage that represents an email-messages to send. |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginSend | ( | System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< MailMessage >>> | messages, |
System::AsyncCallback | callback | ||
) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins sending email asynchronously.
messages | The array of MailMessage that represents an email-messages to send. |
callback | References a method to be called when a corresponding asynchronous operation completes. |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginSend | ( | System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< MailMessage >>> | messages, |
System::AsyncCallback | callback, | ||
System::SharedPtr< System::Object > | state | ||
) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins sending email asynchronously.
messages | The array of MailMessage that represents an email-messages to send. |
callback | References a method to be called when a corresponding asynchronous operation completes. |
state | The state. |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginSend | ( | System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< MailMessage >>> | messages, |
System::EventHandler< System::SharedPtr< MailMessageEventArgs >> | messageSentDelegate | ||
) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins sending email asynchronously.
messages | The array of MailMessage that represents an email-messages to send. |
messageSentDelegate | References a method to be called when a message has been sent. |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginSend | ( | System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< MailMessage >>> | messages, |
System::EventHandler< System::SharedPtr< MailMessageEventArgs >> | messageSentDelegate, | ||
System::AsyncCallback | callback | ||
) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins sending email asynchronously.
messages | The array of MailMessage that represents an email-messages to send. |
messageSentDelegate | References a method to be called when a message has been sent. |
callback | References a method to be called when a corresponding asynchronous operation completes. |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginSend | ( | System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< MailMessage >>> | messages, |
System::EventHandler< System::SharedPtr< MailMessageEventArgs >> | messageSentDelegate, | ||
System::AsyncCallback | callback, | ||
System::SharedPtr< System::Object > | state | ||
) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins sending email asynchronously.
messages | The array of MailMessage that represents an email-messages to send. |
messageSentDelegate | References a method to be called when a message has been sent. |
callback | References a method to be called when a corresponding asynchronous operation completes. |
state | The state. |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginSend | ( | System::String | from, |
System::String | recipients, | ||
System::String | subject, | ||
System::String | body | ||
) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins sending email asynchronously.
from | A String that contains the address of message sender. |
recipients | A String that contains the address of recipients. |
subject | A subject of message. |
body | A body of message. |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginSend | ( | System::String | from, |
System::String | recipients, | ||
System::String | subject, | ||
System::String | body, | ||
System::AsyncCallback | callback | ||
) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins sending email asynchronously.
from | A String that contains the address of message sender. |
recipients | A String that contains the address of recipients. |
subject | A subject of message. |
body | A body of message. |
callback | References a method to be called when a corresponding asynchronous operation completes. |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginSend | ( | System::String | from, |
System::String | recipients, | ||
System::String | subject, | ||
System::String | body, | ||
System::AsyncCallback | callback, | ||
System::SharedPtr< System::Object > | state | ||
) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins sending email asynchronously.
from | A String that contains the address of message sender. |
recipients | A String that contains the address of recipients. |
subject | A subject of message. |
body | A body of message. |
callback | References a method to be called when a corresponding asynchronous operation completes. |
state | The state. |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginSendQueue | ( | ) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins to execute 'No operation' command
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginSendQueue | ( | System::AsyncCallback | callback | ) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins to execute 'No operation' command
callback | References a method to be called when a corresponding asynchronous operation completes. |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginSendQueue | ( | System::AsyncCallback | callback, |
System::SharedPtr< System::Object > | state | ||
) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins to execute 'No operation' command
callback | References a method to be called when a corresponding asynchronous operation completes. |
state | The state. |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginValidateCredentials | ( | ) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins to execute credentials validation
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginValidateCredentials | ( | System::AsyncCallback | callback | ) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins to execute credentials validation
callback | References a method to be called when a corresponding asynchronous operation completes. |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginValidateCredentials | ( | System::AsyncCallback | callback, |
System::SharedPtr< System::Object > | state | ||
) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins to execute credentials validation
callback | References a method to be called when a corresponding asynchronous operation completes. |
state | The state. |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginValidateCredentials | ( | System::SharedPtr< IConnection > | connection | ) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins to execute credentials validation
connection | Connection to a server |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginValidateCredentials | ( | System::SharedPtr< IConnection > | connection, |
System::AsyncCallback | callback | ||
) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins to execute credentials validation
connection | Connection to a server |
callback | References a method to be called when a corresponding asynchronous operation completes. |
System::SharedPtr<System::IAsyncResult> Aspose::Email::Clients::Smtp::SmtpClient::BeginValidateCredentials | ( | System::SharedPtr< IConnection > | connection, |
System::AsyncCallback | callback, | ||
System::SharedPtr< System::Object > | state | ||
) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Begins to execute credentials validation
connection | Connection to a server |
callback | References a method to be called when a corresponding asynchronous operation completes. |
state | The state. |
void Aspose::Email::Clients::Smtp::SmtpClient::EndBeginSendQueue | ( | System::SharedPtr< System::IAsyncResult > | asyncResult | ) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Waits for the pending asynchronous operation to complete.
asyncResult | The reference to the pending asynchronous request to wait for. |
void Aspose::Email::Clients::Smtp::SmtpClient::EndForward | ( | System::SharedPtr< System::IAsyncResult > | asyncResult | ) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Waits for the asynchronous operation to complete.
asyncResult | The reference to the pending asynchronous request to wait for. |
void Aspose::Email::Clients::Smtp::SmtpClient::EndNoop | ( | System::SharedPtr< System::IAsyncResult > | asyncResult | ) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Waits for the pending asynchronous operation to complete.
asyncResult | The reference to the pending asynchronous request to wait for. |
void Aspose::Email::Clients::Smtp::SmtpClient::EndSend | ( | System::SharedPtr< System::IAsyncResult > | asyncResult | ) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Waits for the asynchronous operation to complete.
asyncResult | The reference to the pending asynchronous request to wait for. |
bool Aspose::Email::Clients::Smtp::SmtpClient::EndValidateCredentials | ( | System::SharedPtr< System::IAsyncResult > | asyncResult | ) |
Please note: this method is used only for the .NET framework with versions earlier than 4.5.
Waits for the pending asynchronous operation to complete.
asyncResult | The reference to the pending asynchronous request to wait for. |
void Aspose::Email::Clients::Smtp::SmtpClient::Forward | ( | System::SharedPtr< IConnection > | connection, |
System::String | sender, | ||
System::SharedPtr< MailAddressCollection > | recipients, | ||
System::SharedPtr< MailMessage > | message | ||
) |
Forwards specified message to recipient
connection | Connection to a server |
sender | Sender of the forwarded message. |
recipients | Recipients of the forwarded message. |
message | The message for a forwarding. |
void Aspose::Email::Clients::Smtp::SmtpClient::Forward | ( | System::SharedPtr< IConnection > | connection, |
System::String | sender, | ||
System::SharedPtr< MailAddressCollection > | recipients, | ||
System::SharedPtr< System::IO::Stream > | messageStream | ||
) |
Forwards specified message to recipient
connection | Connection to a server |
sender | Sender of the forwarded message. |
recipients | Recipients of the forwarded message. |
messageStream | The stream that represents message in eml format. |
void Aspose::Email::Clients::Smtp::SmtpClient::Forward | ( | System::SharedPtr< IConnection > | connection, |
System::String | sender, | ||
System::String | recipient, | ||
System::SharedPtr< MailMessage > | message | ||
) |
Forwards specified message to recipient
connection | Connection to a server |
sender | Sender of the forwarded message. |
recipient | Recipient of the forwarded message. |
message | The message for a forwarding. |
void Aspose::Email::Clients::Smtp::SmtpClient::Forward | ( | System::String | sender, |
System::SharedPtr< MailAddressCollection > | recipients, | ||
System::SharedPtr< MailMessage > | message | ||
) |
Forwards specified message to recipient
sender | Sender of the forwarded message. |
recipients | Recipients of the forwarded message. |
message | The message for a forwarding. |
void Aspose::Email::Clients::Smtp::SmtpClient::Forward | ( | System::String | sender, |
System::SharedPtr< MailAddressCollection > | recipients, | ||
System::SharedPtr< System::IO::Stream > | messageStream | ||
) |
Forwards specified message to recipient
sender | Sender of the forwarded message. |
recipients | Recipients of the forwarded message. |
messageStream | The stream that represents message in eml format. |
void Aspose::Email::Clients::Smtp::SmtpClient::Forward | ( | System::String | sender, |
System::String | recipient, | ||
System::SharedPtr< MailMessage > | message | ||
) |
Forwards specified message to recipient
sender | Sender of the forwarded message. |
recipient | Recipient of the forwarded message. |
message | The message for a forwarding. |
SmtpKnownAuthenticationType Aspose::Email::Clients::Smtp::SmtpClient::get_AllowedAuthentication | ( | ) |
Gets enumeration of allowed by user authentication types
|
overridevirtual |
Gets default port for client
Reimplemented from Aspose::Email::Clients::EmailClient.
SmtpDeliveryMethod Aspose::Email::Clients::Smtp::SmtpClient::get_DeliveryMethod | ( | ) |
Gets the delivery method.
An SmtpDeliveryMethod that indicates how messages are delivered.
System::String Aspose::Email::Clients::Smtp::SmtpClient::get_HelloMessage | ( | ) |
Gets a HELO/EHLO string.
System::String Aspose::Email::Clients::Smtp::SmtpClient::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.
A String that represents the pickup directory
System::SharedPtr<SmtpConnectionPool> Aspose::Email::Clients::Smtp::SmtpClient::get_Pool | ( | ) |
Gets connection pool for the client
System::String Aspose::Email::Clients::Smtp::SmtpClient::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.
A String that represents the pickup directory
SmtpKnownAuthenticationType Aspose::Email::Clients::Smtp::SmtpClient::get_SupportedAuthentication | ( | ) |
Gets enumeration of supported by server authentication types
|
overridevirtual |
Gets a Boolean value that controls whether the DefaultCredentials are sent with requests.
Reimplemented from Aspose::Email::Clients::EmailClient.
bool Aspose::Email::Clients::Smtp::SmtpClient::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.
|
overridevirtual |
'No operation' command
Implements Aspose::Email::Clients::EmailClient.
|
overridevirtual |
'No operation' command
connection | Connection to a server |
timeout | timeout of a command |
Implements Aspose::Email::Clients::EmailClient.
|
overridevirtual |
'No operation' command
connection | Connection to a server |
Implements Aspose::Email::Clients::EmailClient.
void Aspose::Email::Clients::Smtp::SmtpClient::Send | ( | const System::ArrayPtr< System::SharedPtr< MailMessage >> & | messages | ) |
Send the specified message.
messages | The array of MailMessage that represents an email-messages to send. |
void Aspose::Email::Clients::Smtp::SmtpClient::Send | ( | System::SharedPtr< IConnection > | connection, |
const System::ArrayPtr< System::SharedPtr< MailMessage >> & | messages | ||
) |
Send the specified message.
connection | Connection to a server |
messages | The array of MailMessage that represents an email-messages to send. |
void Aspose::Email::Clients::Smtp::SmtpClient::Send | ( | System::SharedPtr< IConnection > | connection, |
System::SharedPtr< MailMessage > | message | ||
) |
Send the specified message.
connection | Connection to a server |
message | The MailMessage that represents an email-message. |
void Aspose::Email::Clients::Smtp::SmtpClient::Send | ( | System::SharedPtr< IConnection > | connection, |
System::SharedPtr< MailMessageCollection > | messages | ||
) |
Send the specified message collection.
connection | Connection to a server |
messages | The collection of messages. |
void Aspose::Email::Clients::Smtp::SmtpClient::Send | ( | System::SharedPtr< IConnection > | connection, |
System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< MailMessage >>> | messages | ||
) |
Send the specified messages.
connection | Connection to a server |
messages | The IEnumerator that supports a message iteration. |
void Aspose::Email::Clients::Smtp::SmtpClient::Send | ( | System::SharedPtr< IConnection > | connection, |
System::String | from, | ||
System::String | recipients, | ||
System::String | subject, | ||
System::String | body | ||
) |
Creates and sends the specified message.
connection | Connection to a server |
from | A String that contains the address of message sender. |
recipients | A String that contains the address of recipients. |
subject | A subject of message. |
body | A body of message. |
|
overridevirtual |
Send the specified message.
message | The MailMessage that represents an email-message. |
Implements Aspose::Email::Clients::Smtp::IMailTransferAgent.
void Aspose::Email::Clients::Smtp::SmtpClient::Send | ( | System::SharedPtr< MailMessageCollection > | messages | ) |
Send the specified message collection.
messages | The collection of messages. |
void Aspose::Email::Clients::Smtp::SmtpClient::Send | ( | System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< MailMessage >>> | messages | ) |
Send the specified messages.
messages | The IEnumerator that supports a message iteration. |
void Aspose::Email::Clients::Smtp::SmtpClient::Send | ( | System::String | from, |
System::String | recipients, | ||
System::String | subject, | ||
System::String | body | ||
) |
Creates and sends the specified message.
from | A String that contains the address of message sender. |
recipients | A String that contains the address of recipients. |
subject | A subject of message. |
body | A body of message. |
void Aspose::Email::Clients::Smtp::SmtpClient::SendToQueue | ( | System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< MailMessage >>> | messages | ) |
Append messages to queue
messages | MailMessages to send |
void Aspose::Email::Clients::Smtp::SmtpClient::set_AllowedAuthentication | ( | SmtpKnownAuthenticationType | value | ) |
Sets enumeration of allowed by user authentication types
void Aspose::Email::Clients::Smtp::SmtpClient::set_DeliveryMethod | ( | SmtpDeliveryMethod | value | ) |
Sets the delivery method.
An SmtpDeliveryMethod that indicates how messages are delivered.
void Aspose::Email::Clients::Smtp::SmtpClient::set_HelloMessage | ( | System::String | value | ) |
Sets a HELO/EHLO string.
void Aspose::Email::Clients::Smtp::SmtpClient::set_PickupDirectoryLocation | ( | System::String | value | ) |
Sets the directory where applications save mail messages to be processed by the local SMTP server. Please note: only absolute path is allowed.
A String that represents the pickup directory
void Aspose::Email::Clients::Smtp::SmtpClient::set_SmtpQueueLocation | ( | System::String | value | ) |
Sets the directory where applications save mail messages to be processed by sending in SMTP queue. Please note: only absolute path is allowed.
A String that represents the pickup directory
|
overridevirtual |
Sets a Boolean value that controls whether the DefaultCredentials are sent with requests.
Reimplemented from Aspose::Email::Clients::EmailClient.
void Aspose::Email::Clients::Smtp::SmtpClient::set_UseTnef | ( | bool | value | ) |
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.
|
overridevirtual |
Executes credentials validation
Implements Aspose::Email::Clients::EmailClient.
bool Aspose::Email::Clients::Smtp::SmtpClient::ValidateCredentials | ( | System::SharedPtr< IConnection > | connection | ) |
Executes credentials validation
connection | Connection to a server |