IAsyncSmtpClient::SendAsync method parameter set. More...
Inherits Object.
Public Member Functions | |
| System::SharedPtr< MailMessageCollection > | get_Messages () const |
| System::SharedPtr< IConnection > | get_Connection () const |
| System::SharedPtr< SmtpSend > | SetConnection (System::SharedPtr< IConnection > connection) |
| Connection to a server (optional). More... | |
| System::SharedPtr< SmtpSend > | AddMessage (System::String from, System::String recipients, System::String subject, System::String body) |
| Add a message to send. More... | |
| System::SharedPtr< SmtpSend > | AddMessage (System::SharedPtr< MailMessage > message) |
| Add a message to send. More... | |
| System::SharedPtr< SmtpSend > | AddMessages (System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< MailMessage >>> messages) |
| Add messages to send. More... | |
Static Public Member Functions | |
| static System::SharedPtr< SmtpSend > | Create () |
| Create SmtpSend. More... | |
Protected Member Functions | |
| virtual | ~SmtpSend () |
IAsyncSmtpClient::SendAsync method parameter set.
|
protectedvirtual |
| System::SharedPtr<SmtpSend> Aspose::Email::Clients::Smtp::Models::SmtpSend::AddMessage | ( | System::SharedPtr< MailMessage > | message | ) |
Add a message to send.
| message | The message to send. |
| System::SharedPtr<SmtpSend> Aspose::Email::Clients::Smtp::Models::SmtpSend::AddMessage | ( | System::String | from, |
| System::String | recipients, | ||
| System::String | subject, | ||
| System::String | body | ||
| ) |
Add a message to send.
| 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<SmtpSend> Aspose::Email::Clients::Smtp::Models::SmtpSend::AddMessages | ( | System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< MailMessage >>> | messages | ) |
Add messages to send.
| messages | The messages to send. |
|
static |
Create SmtpSend.
| System::SharedPtr<IConnection> Aspose::Email::Clients::Smtp::Models::SmtpSend::get_Connection | ( | ) | const |
| System::SharedPtr<MailMessageCollection> Aspose::Email::Clients::Smtp::Models::SmtpSend::get_Messages | ( | ) | const |
| System::SharedPtr<SmtpSend> Aspose::Email::Clients::Smtp::Models::SmtpSend::SetConnection | ( | System::SharedPtr< IConnection > | connection | ) |
Connection to a server (optional).