Smtp Send Result Class
The result of sending a message via SMTP.
Definition
Namespace: MailKit.Net.Smtp
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public class SmtpSendResult : SendResult- Inheritance
- Object SendResult SmtpSendResult
Remarks
The result of sending a message via SMTP.
The SmtpClient returns an SmtpSendResult from its Send and SendAsync methods.
Constructors
| SmtpSendResult | Initializes a new instance of the SmtpSendResult class. |
Properties
| AcceptedRecipients |
Get the recipients that were accepted by the server.
(Inherited from SendResult) |
| RejectedRecipients |
Get the recipients that were rejected by the server.
(Inherited from SendResult) |
| ResponseText |
Get the final free-form text response from the server.
(Inherited from SendResult) |
| StatusCode | Get the final status code from the server. |
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) |
| ToString | Returns a string that represents the current object. (Inherited from Object) |