• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class SmtpRecipientResult

The result of a single RCPT TO command within a message delivery. Immutable.

Inheritance
object
SmtpRecipientResult
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: DRIT.Mail.Rfc.Smtp
Assembly: DRIT.Mail.dll
Syntax
public sealed class SmtpRecipientResult

Constructors

View Source

SmtpRecipientResult(string, bool, SmtpResponse?)

Initializes a new instance of the SmtpRecipientResult class.

Declaration
public SmtpRecipientResult(string address, bool accepted, SmtpResponse? response)
Parameters
Type Name Description
string address

The recipient email address.

bool accepted

Whether the server accepted the recipient.

SmtpResponse response

The server reply to the RCPT TO command, or null.

Properties

View Source

Accepted

Gets a value indicating whether the server accepted the recipient.

Declaration
public bool Accepted { get; }
Property Value
Type Description
bool
View Source

Address

Gets the recipient email address.

Declaration
public string Address { get; }
Property Value
Type Description
string
View Source

Response

Gets the server reply to the RCPT TO command, or null if no reply was received.

Declaration
public SmtpResponse? Response { get; }
Property Value
Type Description
SmtpResponse

Methods

View Source

ToString()

Returns the string representation of this result.

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()
  • View Source
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX