Méthode | Description | |
---|---|---|
Send ( MimeKit.FormatOptions options, |
Sends the specified message. Sends the specified message. The sender address is determined by checking the following message headers (in order of precedence): Resent-Sender, Resent-From, Sender, and From. If either the Resent-Sender or Resent-From addresses are present, the recipients are collected from the Resent-To, Resent-Cc, and Resent-Bcc headers, otherwise the To, Cc, and Bcc headers are used. |
|
Send ( MimeKit.FormatOptions options, |
Sends the specified message using the supplied sender and recipients. Sends the specified message using the supplied sender and recipients. |
|
Send ( |
Sends the specified message. Sends the specified message. The sender address is determined by checking the following message headers (in order of precedence): Resent-Sender, Resent-From, Sender, and From. If either the Resent-Sender or Resent-From addresses are present, the recipients are collected from the Resent-To, Resent-Cc, and Resent-Bcc headers, otherwise the To, Cc, and Bcc headers are used. |
|
Send ( |
Sends the specified message using the supplied sender and recipients. Sends the specified message using the supplied sender and recipients. |
|
SendAsync ( MimeKit.FormatOptions options, |
Asynchronously sends the specified message. Asynchronously sends the specified message. The sender address is determined by checking the following message headers (in order of precedence): Resent-Sender, Resent-From, Sender, and From. If either the Resent-Sender or Resent-From addresses are present, the recipients are collected from the Resent-To, Resent-Cc, and Resent-Bcc headers, otherwise the To, Cc, and Bcc headers are used. |
|
SendAsync ( MimeKit.FormatOptions options, |
Asynchronously sends the specified message using the supplied sender and recipients. Asynchronously sends the specified message using the supplied sender and recipients. |
|
SendAsync ( |
Asynchronously sends the specified message. Asynchronously sends the specified message. The sender address is determined by checking the following message headers (in order of precedence): Resent-Sender, Resent-From, Sender, and From. If either the Resent-Sender or Resent-From addresses are present, the recipients are collected from the Resent-To, Resent-Cc, and Resent-Bcc headers, otherwise the To, Cc, and Bcc headers are used. |
|
SendAsync ( |
Asynchronously sends the specified message using the supplied sender and recipients. Asynchronously sends the specified message using the supplied sender and recipients. |
Méthode | Description | |
---|---|---|
MailTransport ( IProtocolLogger protocolLogger ) : System |
Initializes a new instance of the MailKit.MailTransport class. Initializes a new instance of the MailKit.MailTransport class. |
|
OnMessageSent ( |
Raise the message sent event. Raises the message sent event. |
protected MailTransport ( IProtocolLogger protocolLogger ) : System | ||
protocolLogger | IProtocolLogger | The protocol logger. |
Résultat | System |
protected OnMessageSent ( |
||
e | The message sent event args. | |
Résultat | void |
public abstract Send ( MimeKit.FormatOptions options, |
||
options | MimeKit.FormatOptions | The formatting options. |
message | The message. | |
cancellationToken | The cancellation token. | |
progress | ITransferProgress | The progress reporting mechanism. |
Résultat | void |
public abstract Send ( MimeKit.FormatOptions options, |
||
options | MimeKit.FormatOptions | The formatting options. |
message | The message. | |
sender | MimeKit.MailboxAddress | The mailbox address to use for sending the message. |
recipients | IEnumerable |
The mailbox addresses that should receive the message. |
cancellationToken | The cancellation token. | |
progress | ITransferProgress | The progress reporting mechanism. |
Résultat | void |
public Send ( |
||
message | The message. | |
cancellationToken | The cancellation token. | |
progress | ITransferProgress | The progress reporting mechanism. |
Résultat | void |
public Send ( |
||
message | The message. | |
sender | MimeKit.MailboxAddress | The mailbox address to use for sending the message. |
recipients | IEnumerable |
The mailbox addresses that should receive the message. |
cancellationToken | The cancellation token. | |
progress | ITransferProgress | The progress reporting mechanism. |
Résultat | void |
public SendAsync ( MimeKit.FormatOptions options, |
||
options | MimeKit.FormatOptions | The formatting options. |
message | The message. | |
cancellationToken | The cancellation token. | |
progress | ITransferProgress | The progress reporting mechanism. |
Résultat | Task |
public SendAsync ( MimeKit.FormatOptions options, |
||
options | MimeKit.FormatOptions | The formatting options. |
message | The message. | |
sender | MimeKit.MailboxAddress | The mailbox address to use for sending the message. |
recipients | IEnumerable |
The mailbox addresses that should receive the message. |
cancellationToken | The cancellation token. | |
progress | ITransferProgress | The progress reporting mechanism. |
Résultat | Task |
public SendAsync ( |
||
message | The message. | |
cancellationToken | The cancellation token. | |
progress | ITransferProgress | The progress reporting mechanism. |
Résultat | Task |
public SendAsync ( |
||
message | The message. | |
sender | MimeKit.MailboxAddress | The mailbox address to use for sending the message. |
recipients | IEnumerable |
The mailbox addresses that should receive the message. |
cancellationToken | The cancellation token. | |
progress | ITransferProgress | The progress reporting mechanism. |
Résultat | Task |