SmtpClient.Forward

Forward(IConnection, string, string, MailMessage)

Forwards specified message to recipient

public void Forward(IConnection connection, string sender, string recipient, MailMessage message)
ParameterTypeDescription
connectionIConnectionConnection to a server
senderStringSender of the forwarded message.
recipientStringRecipient of the forwarded message.
messageMailMessageThe message for a forwarding.

See Also


Forward(IConnection, string, MailAddressCollection, MailMessage)

Forwards specified message to recipient

public void Forward(IConnection connection, string sender, MailAddressCollection recipients, 
    MailMessage message)
ParameterTypeDescription
connectionIConnectionConnection to a server
senderStringSender of the forwarded message.
recipientsMailAddressCollectionRecipients of the forwarded message.
messageMailMessageThe message for a forwarding.

See Also


Forward(string, string, MailMessage)

Forwards specified message to recipient

public void Forward(string sender, string recipient, MailMessage message)
ParameterTypeDescription
senderStringSender of the forwarded message.
recipientStringRecipient of the forwarded message.
messageMailMessageThe message for a forwarding.

See Also


Forward(string, MailAddressCollection, MailMessage)

Forwards specified message to recipient

public void Forward(string sender, MailAddressCollection recipients, MailMessage message)
ParameterTypeDescription
senderStringSender of the forwarded message.
recipientsMailAddressCollectionRecipients of the forwarded message.
messageMailMessageThe message for a forwarding.

See Also


Forward(IConnection, string, MailAddressCollection, Stream)

Forwards specified message to recipient

public void Forward(IConnection connection, string sender, MailAddressCollection recipients, 
    Stream messageStream)
ParameterTypeDescription
connectionIConnectionConnection to a server
senderStringSender of the forwarded message.
recipientsMailAddressCollectionRecipients of the forwarded message.
messageStreamStreamThe stream that represents message in eml format.

See Also


Forward(string, MailAddressCollection, Stream)

Forwards specified message to recipient

public void Forward(string sender, MailAddressCollection recipients, Stream messageStream)
ParameterTypeDescription
senderStringSender of the forwarded message.
recipientsMailAddressCollectionRecipients of the forwarded message.
messageStreamStreamThe stream that represents message in eml format.

See Also