Send Result Constructor
Initializes a new instance of the SendResult class.
Definition
Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public SendResult(
string responseText,
IReadOnlyList<MailboxAddress> acceptedRecipients,
IReadOnlyList<MailboxAddress> rejectedRecipients
)Parameters
- responseText String
- The final free-form text response from the server.
- acceptedRecipients IReadOnlyListMailboxAddress
- The recipients that were accepted by the server.
- rejectedRecipients IReadOnlyListMailboxAddress
- The recipients that were rejected by the server.
Remarks
Creates a new SendResult.
Exceptions
| ArgumentNullException |
responseText is . -or- acceptedRecipients is . -or- rejectedRecipients is . |