ForwardAsync

SmtpClient.ForwardAsync method (1 of 12)

Forwards specified message to recipient

public Task ForwardAsync(IConnection connection, string sender, string recipient, 
    MailMessage message)
Parameter Type Description
connection IConnection Connection to a server
sender String Sender of the forwarded message.
recipient String Recipient of the forwarded message.
message MailMessage The message for a forwarding.

Return Value

Task object, with delegate for this operation

See Also


SmtpClient.ForwardAsync method (2 of 12)

Forwards specified message to recipient

public Task ForwardAsync(IConnection connection, string sender, MailAddressCollection recipients, 
    MailMessage message)
Parameter Type Description
connection IConnection Connection to a server
sender String Sender of the forwarded message.
recipients MailAddressCollection Recipients of the forwarded message.
message MailMessage The message for a forwarding.

Return Value

Task object, with delegate for this operation

See Also


SmtpClient.ForwardAsync method (3 of 12)

Forwards specified message to recipient

public Task ForwardAsync(string sender, string recipient, MailMessage message)
Parameter Type Description
sender String Sender of the forwarded message.
recipient String Recipient of the forwarded message.
message MailMessage The message for a forwarding.

Return Value

Task object, with delegate for this operation

See Also


SmtpClient.ForwardAsync method (4 of 12)

Forwards specified message to recipient

public Task ForwardAsync(string sender, MailAddressCollection recipients, MailMessage message)
Parameter Type Description
sender String Sender of the forwarded message.
recipients MailAddressCollection Recipients of the forwarded message.
message MailMessage The message for a forwarding.

Return Value

Task object, with delegate for this operation

See Also


SmtpClient.ForwardAsync method (5 of 12)

Forwards specified message to recipient

public Task ForwardAsync(IConnection connection, string sender, MailAddressCollection recipients, 
    Stream messageStream)
Parameter Type Description
connection IConnection Connection to a server
sender String Sender of the forwarded message.
recipients MailAddressCollection Recipients of the forwarded message.
messageStream Stream The stream that represents message in eml format.

Return Value

Task object, with delegate for this operation

See Also


SmtpClient.ForwardAsync method (6 of 12)

Forwards specified message to recipient

public Task ForwardAsync(string sender, MailAddressCollection recipients, Stream messageStream)
Parameter Type Description
sender String Sender of the forwarded message.
recipients MailAddressCollection Recipients of the forwarded message.
messageStream Stream The stream that represents message in eml format.

Return Value

Task object, with delegate for this operation

See Also


SmtpClient.ForwardAsync method (7 of 12)

Forwards specified message to recipient

public Task ForwardAsync(IConnection connection, string sender, string recipient, 
    MailMessage message, CancellationToken token)
Parameter Type Description
connection IConnection Connection to a server
sender String Sender of the forwarded message.
recipient String Recipient of the forwarded message.
message MailMessage The message for a forwarding.
token CancellationToken Propagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


SmtpClient.ForwardAsync method (8 of 12)

Forwards specified message to recipient

public Task ForwardAsync(IConnection connection, string sender, MailAddressCollection recipients, 
    MailMessage message, CancellationToken token)
Parameter Type Description
connection IConnection Connection to a server
sender String Sender of the forwarded message.
recipients MailAddressCollection Recipients of the forwarded message.
message MailMessage The message for a forwarding.
token CancellationToken Propagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


SmtpClient.ForwardAsync method (9 of 12)

Forwards specified message to recipient

public Task ForwardAsync(string sender, string recipient, MailMessage message, 
    CancellationToken token)
Parameter Type Description
sender String Sender of the forwarded message.
recipient String Recipient of the forwarded message.
message MailMessage The message for a forwarding.
token CancellationToken Propagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


SmtpClient.ForwardAsync method (10 of 12)

Forwards specified message to recipient

public Task ForwardAsync(string sender, MailAddressCollection recipients, MailMessage message, 
    CancellationToken token)
Parameter Type Description
sender String Sender of the forwarded message.
recipients MailAddressCollection Recipients of the forwarded message.
message MailMessage The message for a forwarding.
token CancellationToken Propagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


SmtpClient.ForwardAsync method (11 of 12)

Forwards specified message to recipient

public Task ForwardAsync(IConnection connection, string sender, MailAddressCollection recipients, 
    Stream messageStream, CancellationToken token)
Parameter Type Description
connection IConnection Connection to a server
sender String Sender of the forwarded message.
recipients MailAddressCollection Recipients of the forwarded message.
messageStream Stream The stream that represents message in eml format.
token CancellationToken Propagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


SmtpClient.ForwardAsync method (12 of 12)

Forwards specified message to recipient

public Task ForwardAsync(string sender, MailAddressCollection recipients, Stream messageStream, 
    CancellationToken token)
Parameter Type Description
sender String Sender of the forwarded message.
recipients MailAddressCollection Recipients of the forwarded message.
messageStream Stream The stream that represents message in eml format.
token CancellationToken Propagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also