ISendRequest Interface

A request for sending a message.

Definition

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public interface ISendRequest

Remarks

A request for sending a message.

Transport-specific options may be specified by using a transport-specific request, such as ISmtpSendRequest.

Properties

Message Get the message that should be sent.
Recipients Get or set the mailbox addresses to use as the envelope recipients.
Sender Get or set the mailbox address to use as the envelope sender.
TransferProgress Get or set the transfer progress reporting mechanism.

Methods

OnCompleted Called when the server has accepted the message for delivery.
OnStarted Called when the message is about to be sent to the server.

See Also

Reference