IAsyncSmtpClient::SendAsync method parameter set.
More...
Inherits Object.
◆ ~SmtpSend()
virtual Aspose::Email::Clients::Smtp::Models::SmtpSend::~SmtpSend |
( |
| ) |
|
|
protectedvirtual |
◆ AddMessage() [1/2]
System::SharedPtr<SmtpSend> Aspose::Email::Clients::Smtp::Models::SmtpSend::AddMessage |
( |
System::SharedPtr< MailMessage > |
message | ) |
|
Add a message to send.
- Parameters
-
message | The message to send. |
- Returns
◆ AddMessage() [2/2]
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.
- Parameters
-
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. |
◆ AddMessages()
System::SharedPtr<SmtpSend> Aspose::Email::Clients::Smtp::Models::SmtpSend::AddMessages |
( |
System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< MailMessage >>> |
messages | ) |
|
Add messages to send.
- Parameters
-
messages | The messages to send. |
- Returns
◆ Create()
static System::SharedPtr<SmtpSend> Aspose::Email::Clients::Smtp::Models::SmtpSend::Create |
( |
| ) |
|
|
static |
◆ get_Connection()
System::SharedPtr<IConnection> Aspose::Email::Clients::Smtp::Models::SmtpSend::get_Connection |
( |
| ) |
const |
◆ get_Messages()
System::SharedPtr<MailMessageCollection> Aspose::Email::Clients::Smtp::Models::SmtpSend::get_Messages |
( |
| ) |
const |
◆ SetConnection()
System::SharedPtr<SmtpSend> Aspose::Email::Clients::Smtp::Models::SmtpSend::SetConnection |
( |
System::SharedPtr< IConnection > |
connection | ) |
|
Connection to a server (optional).