SmtpResponse Members
Include Protected Members
Include Inherited Members
The SmtpResponse structure provides properties and methods for responding to Simple Mail Transfer Protocol (SMTP) requests.
The SmtpResponse type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SmtpResponse | The SmtpResponse constructor initializes a new instance of the SmtpResponse structure. |
Top
Properties
Name | Description | |
---|---|---|
EnhancedStatusCode | The EnhancedStatusCode property gets the enhanced status code for the response. | |
SmtpResponseType | The SmtpResponseType property gets a value that indicates the classification of the Simple Mail Transfer Protocol (SMTP) response. | |
StatusCode | The StatusCode property gets the status code for the response. | |
StatusText | The StatusText property gets a string collection that contains the section of each line of the response that comes after the status code and enhanced status code. |
Top
Methods
Name | Description | |
---|---|---|
ConnectionDroppedDueTo | ||
Equals(Object) | The Equals method compares the current instance of the SmtpResponse structure to the object specified by the comparand parameter. (Overrides ValueType.Equals(Object).) | |
Equals(SmtpResponse) | The Equals method compares the current instance of the SmtpResponse structure to the SmtpResponse structure specified by the comparand parameter. | |
Finalize | (Inherited from Object.) | |
GetHashCode | The GetHashCode method gets the hash code for the message. (Overrides ValueType.GetHashCode().) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
QueuedMailForDelivery(String) | The QueuedMailForDelivery field returns an instance of the SmtpResponse structure that represents a 250 2.6.0 response that indicates that the mail is queued for delivery. | |
QueuedMailForDelivery(String, String, String) | ||
ToString | The ToString method converts the current instance of the SmtpResponse structure to a Unicode string. (Overrides ValueType.ToString().) | |
TryParse | The TryParse method gets a value that indicates whether the string specified by the text parameter contains a valid Simple Mail Transfer Protocol (SMTP) response. |
Top
Fields
Name | Description | |
---|---|---|
AnonymousSendAsDenied | The AnonymousSendAsDenied field gets an instance of the SmtpResponse structure that represents a 550 5.7.1 Anonymous client does not have permission to send as this sender response. | |
BadCommandSequence | The BadCommandSequence field gets an instance of the SmtpResponse structure that represents a 503 5.5.1 Bad sequence of commands response. | |
ConnectionDroppedByAgentError | The ConnectionDroppedByAgentError field gets an instance of the SmtpResponse structure that represents a 421 4.3.2 System not accepting network messages response. | |
ConnectionTimedOut | The ConnectionTimedOut field gets an instance of the SmtpResponse structure that represents a 421 4.4.1 Connection timed out response. | |
DataTransactionFailed | The DataTransactionFailed field gets an instance of the SmtpResponse structure that represents a 451 4.3.2 System not accepting network messages response. | |
Empty | The Empty field gets an instance of the SmtpResponse structure that represents an empty, invalid response. | |
IncorrectTlsAuthLevel | ||
InsufficientResource | The InsufficientResource field gets an instance of the SmtpResponse structure that represents a 452 4.3.1 Insufficient system resources response. | |
InvalidAddress | The InvalidAddress field gets an instance of the SmtpResponse structure that represents a 501 5.1.3 Invalid address (recipient) response. | |
InvalidArguments | The InvalidArguments field gets an instance of the SmtpResponse structure that represents a 501 5.5.4 Invalid arguments response. | |
InvalidContent | The InvalidContent field gets an instance of the SmtpResponse structure that represents a 554 5.6.0 Invalid Content response. | |
InvalidContentBareLinefeeds | ||
InvalidRecipientAddress | The InvalidRecipientAddress field gets an instance of the SmtpResponse structure that represents a 554 5.4.4 Unable to route due to invalid recipient address response. | |
InvalidResponse | The InvalidResponse field gets an instance of the SmtpResponse structure that represents a 421 4.4.0 Remote server response was not RFC conformant response. | |
InvalidSenderAddress | The InvalidSenderAddress field gets an instance of the SmtpResponse structure that represents a 501 5.1.7 Invalid Address (Sender) response. | |
MailFromOk | The MailFromOk field gets an instance of the SmtpResponse structure that represents a 250 2.1.0 Sender OK response. | |
MessagePartialNotSupported | The MessagePartialNotSupported field gets and instance of the SmtpResponse structure that represents a 554 5.6.1 Messages of type message/partial are not supported response. | |
MessageTooLarge | The MessageTooLarge field gets an instance of the SmtpResponse structure that represents a 552 5.3.4 Message size exceeds fixed maximum message size response. | |
NoopOk | The NoopOk field gets an instance of the SmtpResponse structure that represents a 250 2.0.0 OK response. | |
RcptNotFound | The RcptNotFound field gets an instance of the SmtpResponse structure that represents a 550 5.1.1 User unknown response. | |
RcptToOk | The RcptToOk field gets an instance of the SmtpResponse structure that represents a 250 2.1.5 Recipient OK response. | |
RecipientAddressExpanded | The RecipientAddressExpanded field gets an instance of the SmtpResponse structure that represents a 250 2.1.5 Recipient Address was Expanded response. | |
RecipientAddressExpandedByRedirectionAgent | ||
SendAsDenied | The SendAsDenied field gets an instance of the SmtpResponse structure that represents a 550 5.7.1 Client does not have permission to send as this sender (Sender) response. | |
SendOnBehalfOfDenied | The SendOnBehalfOfDenied field gets an instance of the SmtpResponse structure that represents a 550 5.7.1 Client does not have permission to send on behalf of the from address (Sender) response. | |
ServiceUnavailable | The ServiceUnavailable field gets an instance of the SmtpResponse structure that represents a 421 Service not available, closing transmission channel response. | |
SubmitDenied | The SubmitDenied field gets an instance of the SmtpResponse structure that represents a 550 5.7.1 Client does not have permission to submit to this server (Sender) response. | |
SuccessfulConnection | The SuccessfulConnection field gets an instance of the SmtpResponse structure that represents a 250 Success response. | |
SystemMisconfiguration | The SystemMisconfiguration field gets an instance of the SmtpResponse structure that represents a 550 5.3.5 System incorrectly configured response. | |
TimeoutOccurred | The TimeoutOccurred field gets an instance of the SmtpResponse structure that represents a 451 Timeout waiting for client input response. | |
TlsDomainRequired | ||
UnableToRoute | The UnableToRoute field gets an instance of the SmtpResponse structure that represents a 554 5.4.4 Unable to route response. | |
UnrecognizedCommand | The UnrecognizedCommand field gets an instance of the SmtpResponse structure that represents a 500 5.3.3 Unrecognized command response. | |
UnrecognizedParameter | The UnrecognizedParameter field gets an instance of the SmtpResponse structure that represents a 501 5.5.4 Unrecognized parameter response. | |
UnsupportedCommand | The UnsupportedCommand field gets an instance of the SmtpResponse structure that represents a 550 5.7.1 Command not allowed response. |
Top