Class SmtpForward

SmtpForward class

The ForwardAsync arguments.

public class SmtpForward

Methods

NameDescription
static Create()Creates the SmtpForward instacne.
AddRecipient(MailAddress)Add recipient of the forwarded message.
AddRecipient(string)Add recipient of the forwarded message.
AddRecipients(IEnumerable<string>)Add recipients of the forwarded message.
AddRecipients(MailAddressCollection)Add recipients of the forwarded message.
SetCancellationToken(CancellationToken)Set the cancellation token (optional).
SetConnection(IConnection)Connection to a server (optional).
SetMessage(MailMessage)The message to forward.
SetMessage(Stream)The message to forward.
SetSender(string)Sender of the forwarded message.

See Also