다음을 통해 공유


SmtpResponse Members

The SmtpResponse structure provides properties and methods for responding to Simple Mail Transfer Protocol (SMTP) requests.

The following tables list the members exposed by the SmtpResponse type.

Public Constructors

  Name Description
SmtpResponse The SmtpResponse constructor initializes a new instance of the SmtpResponse structure.

Top

Public Fields

  Name Description
Aa580587.pubfield(en-us,EXCHG.80).gifAa580587.static(en-us,EXCHG.80).gif 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.
Aa580587.pubfield(en-us,EXCHG.80).gifAa580587.static(en-us,EXCHG.80).gif BadCommandSequence The BadCommandSequence field gets an instance of the SmtpResponse structure that represents a 503 5.5.1 Bad sequence of commands response.
Aa580587.pubfield(en-us,EXCHG.80).gifAa580587.static(en-us,EXCHG.80).gif ConnectionDroppedByAgentError The ConnectionDroppedByAgentError field gets an instance of the SmtpResponse structure that represents a 421 4.3.2 System not accepting network messages response.
Aa580587.pubfield(en-us,EXCHG.80).gifAa580587.static(en-us,EXCHG.80).gif ConnectionTimedOut The ConnectionTimedOut field gets an instance of the SmtpResponse structure that represents a 421 4.4.1 Connection timed out response.
Aa580587.pubfield(en-us,EXCHG.80).gifAa580587.static(en-us,EXCHG.80).gif DataTransactionFailed The DataTransactionFailed field gets an instance of the SmtpResponse structure that represents a 451 4.3.2 System not accepting network messages response.
Aa580587.pubfield(en-us,EXCHG.80).gifAa580587.static(en-us,EXCHG.80).gif Empty The Empty field gets an instance of the SmtpResponse structure that represents an empty, invalid response.
Aa580587.pubfield(en-us,EXCHG.80).gifAa580587.static(en-us,EXCHG.80).gif InsufficientResource The InsufficientResource field gets an instance of the SmtpResponse structure that represents a 452 4.3.1 Insufficient system resources response.
Aa580587.pubfield(en-us,EXCHG.80).gifAa580587.static(en-us,EXCHG.80).gif InvalidAddress The InvalidAddress field gets an instance of the SmtpResponse structure that represents a 501 5.1.3 Invalid address (recipient) response.
Aa580587.pubfield(en-us,EXCHG.80).gifAa580587.static(en-us,EXCHG.80).gif InvalidArguments The InvalidArguments field gets an instance of the SmtpResponse structure that represents a 501 5.5.4 Invalid arguments response.
Aa580587.pubfield(en-us,EXCHG.80).gifAa580587.static(en-us,EXCHG.80).gif InvalidContent The InvalidContent field gets an instance of the SmtpResponse structure that represents a 554 5.6.0 Invalid Content response.
Aa580587.pubfield(en-us,EXCHG.80).gifAa580587.static(en-us,EXCHG.80).gif 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.
Aa580587.pubfield(en-us,EXCHG.80).gifAa580587.static(en-us,EXCHG.80).gif 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.
Aa580587.pubfield(en-us,EXCHG.80).gifAa580587.static(en-us,EXCHG.80).gif InvalidSenderAddress The InvalidSenderAddress field gets an instance of the SmtpResponse structure that represents a 501 5.1.7 Invalid Address (Sender) response.
Aa580587.pubfield(en-us,EXCHG.80).gifAa580587.static(en-us,EXCHG.80).gif MailFromOk The MailFromOk field gets an instance of the SmtpResponse structure that represents a 250 2.1.0 Sender OK response.
Aa580587.pubfield(en-us,EXCHG.80).gifAa580587.static(en-us,EXCHG.80).gif 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.
Aa580587.pubfield(en-us,EXCHG.80).gifAa580587.static(en-us,EXCHG.80).gif 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.
Aa580587.pubfield(en-us,EXCHG.80).gifAa580587.static(en-us,EXCHG.80).gif NoopOk The NoopOk field gets an instance of the SmtpResponse structure that represents a 250 2.0.0 OK response.
Aa580587.pubfield(en-us,EXCHG.80).gifAa580587.static(en-us,EXCHG.80).gif RcptNotFound The RcptNotFound field gets an instance of the SmtpResponse structure that represents a 550 5.1.1 User unknown response.
Aa580587.pubfield(en-us,EXCHG.80).gifAa580587.static(en-us,EXCHG.80).gif RcptToOk The RcptToOk field gets an instance of the SmtpResponse structure that represents a 250 2.1.5 Recipient OK response.
Aa580587.pubfield(en-us,EXCHG.80).gifAa580587.static(en-us,EXCHG.80).gif RecipientAddressExpanded The RecipientAddressExpanded field gets an instance of the SmtpResponse structure that represents a 250 2.1.5 Recipient Address was Expanded response.
Aa580587.pubfield(en-us,EXCHG.80).gifAa580587.static(en-us,EXCHG.80).gif 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.
Aa580587.pubfield(en-us,EXCHG.80).gifAa580587.static(en-us,EXCHG.80).gif 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.
Aa580587.pubfield(en-us,EXCHG.80).gifAa580587.static(en-us,EXCHG.80).gif ServiceUnavailable The ServiceUnavailable field gets an instance of the SmtpResponse structure that represents a 421 Service not available, closing transmission channel response.
Aa580587.pubfield(en-us,EXCHG.80).gifAa580587.static(en-us,EXCHG.80).gif 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.
Aa580587.pubfield(en-us,EXCHG.80).gifAa580587.static(en-us,EXCHG.80).gif SuccessfulConnection The SuccessfulConnection field gets an instance of the SmtpResponse structure that represents a 250 Success response.
Aa580587.pubfield(en-us,EXCHG.80).gifAa580587.static(en-us,EXCHG.80).gif SystemMisconfiguration The SystemMisconfiguration field gets an instance of the SmtpResponse structure that represents a 550 5.3.5 System incorrectly configured response.
Aa580587.pubfield(en-us,EXCHG.80).gifAa580587.static(en-us,EXCHG.80).gif TimeoutOccurred The TimeoutOccurred field gets an instance of the SmtpResponse structure that represents a 451 Timeout waiting for client input response.
Aa580587.pubfield(en-us,EXCHG.80).gifAa580587.static(en-us,EXCHG.80).gif UnableToRoute The UnableToRoute field gets an instance of the SmtpResponse structure that represents a 554 5.4.4 Unable to route response.
Aa580587.pubfield(en-us,EXCHG.80).gifAa580587.static(en-us,EXCHG.80).gif UnrecognizedCommand The UnrecognizedCommand field gets an instance of the SmtpResponse structure that represents a 500 5.3.3 Unrecognized command response.
Aa580587.pubfield(en-us,EXCHG.80).gifAa580587.static(en-us,EXCHG.80).gif UnrecognizedParameter The UnrecognizedParameter field gets an instance of the SmtpResponse structure that represents a 501 5.5.4 Unrecognized parameter response.
Aa580587.pubfield(en-us,EXCHG.80).gifAa580587.static(en-us,EXCHG.80).gif UnsupportedCommand The UnsupportedCommand field gets an instance of the SmtpResponse structure that represents a 550 5.7.1 Command not allowed response.

Top

Public Properties

  Name Description
Aa580587.pubproperty(en-us,EXCHG.80).gif EnhancedStatusCode The EnhancedStatusCode property gets the enhanced status code for the response.
Aa580587.pubproperty(en-us,EXCHG.80).gif SmtpResponseType The SmtpResponseType property gets a value that indicates the classification of the Simple Mail Transfer Protocol (SMTP) response.
Aa580587.pubproperty(en-us,EXCHG.80).gif StatusCode The StatusCode property gets the status code for the response.
Aa580587.pubproperty(en-us,EXCHG.80).gif 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

Public Methods

(see also Protected Methods )

  Name Description
Aa580587.pubmethod(en-us,EXCHG.80).gif Equals Overloaded. Overridden. The Equals method compares the current instance of the SmtpResponse structure to the specified object.
Aa580587.pubmethod(en-us,EXCHG.80).gif GetHashCode Overridden. The GetHashCode method gets the hash code for the message.
Aa580587.pubmethod(en-us,EXCHG.80).gif GetType  (inherited from Object )
Aa580587.pubmethod(en-us,EXCHG.80).gifAa580587.static(en-us,EXCHG.80).gif QueuedMailForDelivery 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.
Aa580587.pubmethod(en-us,EXCHG.80).gifAa580587.static(en-us,EXCHG.80).gif ReferenceEquals  (inherited from Object )
Aa580587.pubmethod(en-us,EXCHG.80).gif ToString Overridden. The ToString method converts the current instance of the SmtpResponse structure to a Unicode string.
Aa580587.pubmethod(en-us,EXCHG.80).gifAa580587.static(en-us,EXCHG.80).gif 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

Protected Methods

  Name Description
Aa580587.protmethod(en-us,EXCHG.80).gif Finalize  (inherited from Object )
Aa580587.protmethod(en-us,EXCHG.80).gif MemberwiseClone  (inherited from Object )

Top