SendRequest Class

A request for sending a message.

Definition

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public class SendRequest : ISendRequest
Inheritance
Object    SendRequest
Derived
Implements
ISendRequest

Remarks

A request for sending a message.

Constructors

SendRequest(MimeMessage) Initializes a new instance of the SendRequest class.
SendRequest(MimeMessage, MailboxAddress, IEnumerableMailboxAddress) Initializes a new instance of the SendRequest class.

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

Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetType Gets the Type of the current instance.
(Inherited from Object)
MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
OnCompleted Called when the server has accepted the message for delivery.
OnStarted Called when the message is about to be sent to the server.
ToString Returns a string that represents the current object.
(Inherited from Object)

See Also

Reference