org.apache.james.protocols.smtp
Class SMTPRetCode

java.lang.Object
  extended by org.apache.james.protocols.smtp.SMTPRetCode

public class SMTPRetCode
extends java.lang.Object

Result code defined in RFC 2821


Field Summary
static java.lang.String AUTH_ENCRYPTION_REQUIRED
          This response to the AUTH command indicates that the selected authentication mechanism may only be used when the underlying SMTP connection is encrypted.
static java.lang.String AUTH_FAILED
          Auth failed
static java.lang.String AUTH_MECHANISM_WEAK
          This response to the AUTH command indicates that the selected authentication mechanism is weaker than server policy permits for that user.
static java.lang.String AUTH_OK
          Auth ok
static java.lang.String AUTH_PASSWORD_TRANSITION_ERROR
          This response to the AUTH command indicates that the user needs to transition to the selected authentication mechanism.
static java.lang.String AUTH_READY
           
static java.lang.String AUTH_REQUIRED
          This response may be returned by any command other than AUTH, EHLO, HELO, NOOP, RSET, or QUIT.
static java.lang.String AUTH_TEMPORARY_ERROR
          This response to the AUTH command indicates that the authentication failed due to a temporary server failure.
static java.lang.String BAD_SEQUENCE
          Bad sequence of commands
static java.lang.String DATA_READY
          Start mail input; end with .
static java.lang.String HELP_MESSAGE
          Help message (Information on how to use the receiver or the meaning of a particular non-standard command; this reply is useful only to the human user)
static java.lang.String LOCAL_ERROR
          Requested action aborted: local error in processing
static java.lang.String MAIL_FORWARDING
          251 User not local; will forward to (See section 3.4)
static java.lang.String MAIL_OK
          Requested mail action okay, completed
static java.lang.String MAIL_UNDEFINDED
          Cannot VRFY user, but will accept message and attempt delivery (See section 3.5.3)
static java.lang.String MAILBOX_PERM_UNAVAILABLE
          Requested action not taken: mailbox unavailable (e.g., mailbox not found, no access, or command rejected for policy reasons)
static java.lang.String MAILBOX_TEMP_UNAVAILABLE
          Requested mail action not taken: mailbox unavailable (e.g., mailbox busy)
static java.lang.String PARAMETER_NOT_IMPLEMENTED
          Command parameter not implemented
static java.lang.String QUOTA_EXCEEDED
          Requested mail action aborted: exceeded storage allocation
static java.lang.String SERVICE_NOT_AVAILABLE
           Service not available, closing transmission channel (This may be a reply to any command if the service knows it must shut down)
static java.lang.String SERVICE_READY
           Service ready
static java.lang.String SYNTAX_ERROR_ARGUMENTS
          Syntax error in parameters or arguments
static java.lang.String SYNTAX_ERROR_COMMAND_UNRECOGNIZED
          Syntax error, command unrecognized (This may include errors such as command line too long)
static java.lang.String SYNTAX_ERROR_MAILBOX
          Requested action not taken: mailbox name not allowed (e.g., mailbox syntax incorrect)
static java.lang.String SYSTEM_QUIT
           Service closing transmission channel
static java.lang.String SYSTEM_STATUS
          System status, or system help reply
static java.lang.String SYSTEM_STORAGE_ERROR
          Requested action not taken: insufficient system storage
static java.lang.String TRANSACTION_FAILED
          Transaction failed (Or, in the case of a connection-opening response, "No SMTP service here")
static java.lang.String UNIMPLEMENTED_COMMAND
          Command not implemented (see section 4.2.4)
static java.lang.String USER_NOT_LOCAL
          User not local; please try (See section 3.4)
 
Constructor Summary
SMTPRetCode()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SYSTEM_STATUS

public static final java.lang.String SYSTEM_STATUS
System status, or system help reply

See Also:
Constant Field Values

HELP_MESSAGE

public static final java.lang.String HELP_MESSAGE
Help message (Information on how to use the receiver or the meaning of a particular non-standard command; this reply is useful only to the human user)

See Also:
Constant Field Values

SERVICE_READY

public static final java.lang.String SERVICE_READY
Service ready

See Also:
Constant Field Values

SYSTEM_QUIT

public static final java.lang.String SYSTEM_QUIT
Service closing transmission channel

See Also:
Constant Field Values

AUTH_OK

public static final java.lang.String AUTH_OK
Auth ok

See Also:
Constant Field Values

MAIL_OK

public static final java.lang.String MAIL_OK
Requested mail action okay, completed

See Also:
Constant Field Values

MAIL_FORWARDING

public static final java.lang.String MAIL_FORWARDING
251 User not local; will forward to (See section 3.4)

See Also:
Constant Field Values

MAIL_UNDEFINDED

public static final java.lang.String MAIL_UNDEFINDED
Cannot VRFY user, but will accept message and attempt delivery (See section 3.5.3)

See Also:
Constant Field Values

AUTH_READY

public static final java.lang.String AUTH_READY
See Also:
Constant Field Values

DATA_READY

public static final java.lang.String DATA_READY
Start mail input; end with .

See Also:
Constant Field Values

SERVICE_NOT_AVAILABLE

public static final java.lang.String SERVICE_NOT_AVAILABLE
Service not available, closing transmission channel (This may be a reply to any command if the service knows it must shut down)

See Also:
Constant Field Values

AUTH_PASSWORD_TRANSITION_ERROR

public static final java.lang.String AUTH_PASSWORD_TRANSITION_ERROR
This response to the AUTH command indicates that the user needs to transition to the selected authentication mechanism. This typically done by authenticating once using the PLAIN authentication mechanism.

See Also:
Constant Field Values

MAILBOX_TEMP_UNAVAILABLE

public static final java.lang.String MAILBOX_TEMP_UNAVAILABLE
Requested mail action not taken: mailbox unavailable (e.g., mailbox busy)

See Also:
Constant Field Values

LOCAL_ERROR

public static final java.lang.String LOCAL_ERROR
Requested action aborted: local error in processing

See Also:
Constant Field Values

SYSTEM_STORAGE_ERROR

public static final java.lang.String SYSTEM_STORAGE_ERROR
Requested action not taken: insufficient system storage

See Also:
Constant Field Values

AUTH_TEMPORARY_ERROR

public static final java.lang.String AUTH_TEMPORARY_ERROR
This response to the AUTH command indicates that the authentication failed due to a temporary server failure.

See Also:
Constant Field Values

SYNTAX_ERROR_COMMAND_UNRECOGNIZED

public static final java.lang.String SYNTAX_ERROR_COMMAND_UNRECOGNIZED
Syntax error, command unrecognized (This may include errors such as command line too long)

See Also:
Constant Field Values

SYNTAX_ERROR_ARGUMENTS

public static final java.lang.String SYNTAX_ERROR_ARGUMENTS
Syntax error in parameters or arguments

See Also:
Constant Field Values

UNIMPLEMENTED_COMMAND

public static final java.lang.String UNIMPLEMENTED_COMMAND
Command not implemented (see section 4.2.4)

See Also:
Constant Field Values

BAD_SEQUENCE

public static final java.lang.String BAD_SEQUENCE
Bad sequence of commands

See Also:
Constant Field Values

PARAMETER_NOT_IMPLEMENTED

public static final java.lang.String PARAMETER_NOT_IMPLEMENTED
Command parameter not implemented

See Also:
Constant Field Values

AUTH_REQUIRED

public static final java.lang.String AUTH_REQUIRED
This response may be returned by any command other than AUTH, EHLO, HELO, NOOP, RSET, or QUIT. It indicates that server policy requires authentication in order to perform the requested action.

See Also:
Constant Field Values

AUTH_FAILED

public static final java.lang.String AUTH_FAILED
Auth failed

See Also:
Constant Field Values

AUTH_MECHANISM_WEAK

public static final java.lang.String AUTH_MECHANISM_WEAK
This response to the AUTH command indicates that the selected authentication mechanism is weaker than server policy permits for that user.

See Also:
Constant Field Values

AUTH_ENCRYPTION_REQUIRED

public static final java.lang.String AUTH_ENCRYPTION_REQUIRED
This response to the AUTH command indicates that the selected authentication mechanism may only be used when the underlying SMTP connection is encrypted.

See Also:
Constant Field Values

MAILBOX_PERM_UNAVAILABLE

public static final java.lang.String MAILBOX_PERM_UNAVAILABLE
Requested action not taken: mailbox unavailable (e.g., mailbox not found, no access, or command rejected for policy reasons)

See Also:
Constant Field Values

USER_NOT_LOCAL

public static final java.lang.String USER_NOT_LOCAL
User not local; please try (See section 3.4)

See Also:
Constant Field Values

QUOTA_EXCEEDED

public static final java.lang.String QUOTA_EXCEEDED
Requested mail action aborted: exceeded storage allocation

See Also:
Constant Field Values

SYNTAX_ERROR_MAILBOX

public static final java.lang.String SYNTAX_ERROR_MAILBOX
Requested action not taken: mailbox name not allowed (e.g., mailbox syntax incorrect)

See Also:
Constant Field Values

TRANSACTION_FAILED

public static final java.lang.String TRANSACTION_FAILED
Transaction failed (Or, in the case of a connection-opening response, "No SMTP service here")

See Also:
Constant Field Values
Constructor Detail

SMTPRetCode

public SMTPRetCode()


Copyright © 2010 The Apache Software Foundation. All Rights Reserved.