SmtpClientForward Method (IConnection, String, String, MailMessage)

Forwards specified message to recipient

Namespace:  Aspose.Email.Clients.Smtp
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntax
public void Forward(
	IConnection connection,
	string sender,
	string recipient,
	MailMessage message
)

Parameters

connection
Type: Aspose.Email.ClientsIConnection
Connection to a server
sender
Type: SystemString
Sender of the forwarded message.
recipient
Type: SystemString
Recipient of the forwarded message.
message
Type: Aspose.EmailMailMessage
The message for a forwarding.
See Also