AddMessage

AddMessage (1 of 2)

Add a message to send.

Returns: System::SharedPtr < SmtpSend > Aspose::Email::Clients::Smtp::Models::

AddMessage(System::SharedPtr < MailMessage > message)
ParameterDescription
messageThe message to send.

AddMessage (2 of 2)

Add a message to send.

Returns: System::SharedPtr < SmtpSend > Aspose::Email::Clients::Smtp::Models::

AddMessage(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.