Forward

Forward (1 of 6)

Forwards specified message to recipient

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

Forward(System::SharedPtr < IConnection > connection, System::String sender, System::SharedPtr < MailAddressCollection > recipients, System::SharedPtr < MailMessage > message)
ParameterDescription
connectionConnection to a server
senderSender of the forwarded message.
recipientsRecipients of the forwarded message.
messageThe message for a forwarding.

Forward (2 of 6)

Forwards specified message to recipient

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

Forward(System::SharedPtr < IConnection > connection, System::String sender, System::SharedPtr < MailAddressCollection > recipients, System::SharedPtr < System::IO::Stream > messageStream)
ParameterDescription
connectionConnection to a server
senderSender of the forwarded message.
recipientsRecipients of the forwarded message.
messageStreamThe stream that represents message in eml format.

Forward (3 of 6)

Forwards specified message to recipient

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

Forward(System::SharedPtr < IConnection > connection, System::String sender, System::String recipient, System::SharedPtr < MailMessage > message)
ParameterDescription
connectionConnection to a server
senderSender of the forwarded message.
recipientRecipient of the forwarded message.
messageThe message for a forwarding.

Forward (4 of 6)

Forwards specified message to recipient

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

Forward(System::String sender, System::SharedPtr < MailAddressCollection > recipients, System::SharedPtr < MailMessage > message)
ParameterDescription
senderSender of the forwarded message.
recipientsRecipients of the forwarded message.
messageThe message for a forwarding.

Forward (5 of 6)

Forwards specified message to recipient

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

Forward(System::String sender, System::SharedPtr < MailAddressCollection > recipients, System::SharedPtr < System::IO::Stream > messageStream)
ParameterDescription
senderSender of the forwarded message.
recipientsRecipients of the forwarded message.
messageStreamThe stream that represents message in eml format.

Forward (6 of 6)

Forwards specified message to recipient

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

Forward(System::String sender, System::String recipient, System::SharedPtr < MailMessage > message)
ParameterDescription
senderSender of the forwarded message.
recipientRecipient of the forwarded message.
messageThe message for a forwarding.