org.apache.james.protocols.smtp
Class SMTPRetCode

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

public class SMTPRetCode
extends Object

Result code defined in RFC 2821


Field Summary
static 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 String AUTH_FAILED
          Auth failed
static 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 String AUTH_OK
          Auth ok
static String AUTH_PASSWORD_TRANSITION_ERROR
          This response to the AUTH command indicates that the user needs to transition to the selected authentication mechanism.
static String AUTH_READY
           
static String AUTH_REQUIRED
          This response may be returned by any command other than AUTH, EHLO, HELO, NOOP, RSET, or QUIT.
static String AUTH_TEMPORARY_ERROR
          This response to the AUTH command indicates that the authentication failed due to a temporary server failure.
static String BAD_SEQUENCE
          Bad sequence of commands
static String DATA_READY
          Start mail input; end with .
static 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 String LOCAL_ERROR
          Requested action aborted: local error in processing
static String MAIL_FORWARDING
          251 User not local; will forward to (See section 3.4)
static String MAIL_OK
          Requested mail action okay, completed
static String MAIL_UNDEFINDED
          Cannot VRFY user, but will accept message and attempt delivery (See section 3.5.3)
static String MAILBOX_PERM_UNAVAILABLE
          Requested action not taken: mailbox unavailable (e.g., mailbox not found, no access, or command rejected for policy reasons)
static String MAILBOX_TEMP_UNAVAILABLE
          Requested mail action not taken: mailbox unavailable (e.g., mailbox busy)
static String PARAMETER_NOT_IMPLEMENTED
          Command parameter not implemented
static String QUOTA_EXCEEDED
          Requested mail action aborted: exceeded storage allocation
static 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 String SERVICE_READY
           Service ready
static String SYNTAX_ERROR_ARGUMENTS
          Syntax error in parameters or arguments
static String SYNTAX_ERROR_COMMAND_UNRECOGNIZED
          Syntax error, command unrecognized (This may include errors such as command line too long)
static String SYNTAX_ERROR_MAILBOX
          Requested action not taken: mailbox name not allowed (e.g., mailbox syntax incorrect)
static String SYSTEM_QUIT
           Service closing transmission channel
static String SYSTEM_STATUS
          System status, or system help reply
static String SYSTEM_STORAGE_ERROR
          Requested action not taken: insufficient system storage
static String TRANSACTION_FAILED
          Transaction failed (Or, in the case of a connection-opening response, "No SMTP service here")
static String UNIMPLEMENTED_COMMAND
          Command not implemented (see section 4.2.4)
static 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 String SYSTEM_STATUS
System status, or system help reply

See Also:
Constant Field Values

HELP_MESSAGE

public static final 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 String SERVICE_READY
Service ready

See Also:
Constant Field Values

SYSTEM_QUIT

public static final String SYSTEM_QUIT
Service closing transmission channel

See Also:
Constant Field Values

AUTH_OK

public static final String AUTH_OK
Auth ok

See Also:
Constant Field Values

MAIL_OK

public static final String MAIL_OK
Requested mail action okay, completed

See Also:
Constant Field Values

MAIL_FORWARDING

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

See Also:
Constant Field Values

MAIL_UNDEFINDED

public static final 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 String AUTH_READY
See Also:
Constant Field Values

DATA_READY

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

See Also:
Constant Field Values

SERVICE_NOT_AVAILABLE

public static final 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 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 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 String LOCAL_ERROR
Requested action aborted: local error in processing

See Also:
Constant Field Values

SYSTEM_STORAGE_ERROR

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

See Also:
Constant Field Values

AUTH_TEMPORARY_ERROR

public static final 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 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 String SYNTAX_ERROR_ARGUMENTS
Syntax error in parameters or arguments

See Also:
Constant Field Values

UNIMPLEMENTED_COMMAND

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

See Also:
Constant Field Values

BAD_SEQUENCE

public static final String BAD_SEQUENCE
Bad sequence of commands

See Also:
Constant Field Values

PARAMETER_NOT_IMPLEMENTED

public static final String PARAMETER_NOT_IMPLEMENTED
Command parameter not implemented

See Also:
Constant Field Values

AUTH_REQUIRED

public static final 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 String AUTH_FAILED
Auth failed

See Also:
Constant Field Values

AUTH_MECHANISM_WEAK

public static final 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 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 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 String USER_NOT_LOCAL
User not local; please try (See section 3.4)

See Also:
Constant Field Values

QUOTA_EXCEEDED

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

See Also:
Constant Field Values

SYNTAX_ERROR_MAILBOX

public static final 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 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-2011 The Apache Software Foundation. All Rights Reserved.