SmtpClientForward Method (IConnection, String, MailAddressCollection, Stream)

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,
	MailAddressCollection recipients,
	Stream messageStream
)

Parameters

connection
Type: Aspose.Email.ClientsIConnection
Connection to a server
sender
Type: SystemString
Sender of the forwarded message.
recipients
Type: Aspose.EmailMailAddressCollection
Recipients of the forwarded message.
messageStream
Type: System.IOStream
The stream that represents message in eml format.
See Also