Send

Send (1 of 10)

Send the specified message.

Returns: void Aspose::Email::Clients::Smtp::

Send(const System::ArrayPtr< System::SharedPtr < MailMessage >> & messages)
ParameterDescription
messagesThe array of MailMessage that represents an email-messages to send.

Send (2 of 10)

Send the specified message.

Returns: void Aspose::Email::Clients::Smtp::

Send(System::SharedPtr < IConnection > connection, const System::ArrayPtr< System::SharedPtr < MailMessage >> & messages)
ParameterDescription
connectionConnection to a server
messagesThe array of MailMessage that represents an email-messages to send.

Send (3 of 10)

Send the specified message.

Returns: void Aspose::Email::Clients::Smtp::

Send(System::SharedPtr < IConnection > connection, System::SharedPtr < MailMessage > message)
ParameterDescription
connectionConnection to a server
messageThe MailMessage that represents an email-message.

Send (4 of 10)

Send the specified message collection.

Returns: void Aspose::Email::Clients::Smtp::

Send(System::SharedPtr < IConnection > connection, System::SharedPtr < MailMessageCollection > messages)
ParameterDescription
connectionConnection to a server
messagesThe collection of messages.

Send (5 of 10)

Send the specified messages.

Returns: void Aspose::Email::Clients::Smtp::

Send(System::SharedPtr < IConnection > connection, System::SharedPtr < System::Collections::Generic::IEnumerable< System::SharedPtr < MailMessage >>> messages)
ParameterDescription
connectionConnection to a server
messagesThe IEnumerator that supports a message iteration.

Send (6 of 10)

Creates and sends the specified message.

Returns: void Aspose::Email::Clients::Smtp::

Send(System::SharedPtr < IConnection > connection, System::String from, System::String recipients, System::String subject, System::String body)
ParameterDescription
connectionConnection to a server
fromA String that contains the address of message sender.
recipientsA String that contains the address of recipients.
subjectA subject of message.
bodyA body of message.

Send (7 of 10)

Send the specified message.

Returns: void Aspose::Email::Clients::Smtp::

Send(System::SharedPtr < MailMessage > message)
ParameterDescription
messageThe MailMessage that represents an email-message.

Send (8 of 10)

Send the specified message collection.

Returns: void Aspose::Email::Clients::Smtp::

Send(System::SharedPtr < MailMessageCollection > messages)
ParameterDescription
messagesThe collection of messages.

Send (9 of 10)

Send the specified messages.

Returns: void Aspose::Email::Clients::Smtp::

Send(System::SharedPtr < System::Collections::Generic::IEnumerable< System::SharedPtr < MailMessage >>> messages)
ParameterDescription
messagesThe IEnumerator that supports a message iteration.

Send (10 of 10)

Creates and sends the specified message.

Returns: void Aspose::Email::Clients::Smtp::

Send(System::String from, System::String recipients, System::String subject, System::String body)
ParameterDescription
fromA String that contains the address of message sender.
recipientsA String that contains the address of recipients.
subjectA subject of message.
bodyA body of message.