org.apache.james.util.mail.dsn
Class DSNStatus

java.lang.Object
  extended by org.apache.james.util.mail.dsn.DSNStatus

public class DSNStatus
extends java.lang.Object

Constants and getters for RFC 3463 Enhanced Mail System Status Codes


Field Summary
static int ADDRESS
          Addressing Status
static java.lang.String ADDRESS_AMBIGUOUS
          Destination mailbox address ambiguous
static java.lang.String ADDRESS_MAILBOX
          Bad destination mailbox address
static java.lang.String ADDRESS_MOVED
          Destimation mailbox has moved, no forwarding address
static java.lang.String ADDRESS_OTHER
          Other address status
static java.lang.String ADDRESS_SYNTAX
          Bad destination mailbox address syntax
static java.lang.String ADDRESS_SYNTAX_SENDER
          Bad sender's mailbox address syntax
static java.lang.String ADDRESS_SYSTEM
          Bad destination system address
static java.lang.String ADDRESS_SYSTEM_SENDER
          Bad sender's system address
static java.lang.String ADDRESS_VALID
          Destination Address valid
static int CONTENT
          Message Content or Media Status
static java.lang.String CONTENT_CONVERSION_FAILED
          Conversion failed
static java.lang.String CONTENT_CONVERSION_LOSS
          Conversion with loss performed
static java.lang.String CONTENT_CONVERSION_NOT_ALLOWED
          Conversion required and prohibited
static java.lang.String CONTENT_CONVERSION_NOT_SUPPORTED
          Conversion required, but not supported
static java.lang.String CONTENT_OTHER
          Other or undefined media error
static java.lang.String CONTENT_UNSUPPORTED
          Media not supported
static int DELIVERY
          Mail Delivery Protocol Status
static java.lang.String DELIVERY_INVALID_ARG
          Invalid command arguments
static java.lang.String DELIVERY_INVALID_CMD
          Invalid command
static java.lang.String DELIVERY_OTHER
          Other or undefined (SMTP) protocol status
static java.lang.String DELIVERY_SYNTAX
          Syntax error
static java.lang.String DELIVERY_TOO_MANY_REC
          Too many recipients
static java.lang.String DELIVERY_VERSION
          Wrong protocol version
static int MAILBOX
          Mailbox Status
static java.lang.String MAILBOX_DISABLED
          Mailbox disabled, not accepting messages
static java.lang.String MAILBOX_FULL
          Mailbox full
static java.lang.String MAILBOX_LIST_EXPANSION
          Mailing list expansion problem
static java.lang.String MAILBOX_MSG_TOO_BIG
          Message length exceeds administrative limit
static java.lang.String MAILBOX_OTHER
          Other or Undefined Mailbox Status
static int NETWORK
          Network and Routing Status
static java.lang.String NETWORK_CONGESTION
          Mail system congestion
static java.lang.String NETWORK_CONNECTION
          Bad Connection
static java.lang.String NETWORK_DIR_SERVER
          Directory server failure
static java.lang.String NETWORK_EXPIRED
          Delivery time expired
static java.lang.String NETWORK_LOOP
          Routing loop detected
static java.lang.String NETWORK_NO_ANSWER
          No answer form host
static java.lang.String NETWORK_OTHER
          Other or undefined network or routing status
static java.lang.String NETWORK_ROUTE
          Unable to route
static int PERMANENT
          Permanent Failure
static int SECURITY
          Security or Policy Status
static java.lang.String SECURITY_AUTH
          Delivery not authorized, message refused
static java.lang.String SECURITY_CONVERSION
          Security conversion required, but not possible
static java.lang.String SECURITY_CRYPT_ALGO
          Cryptographic algorithm not supported
static java.lang.String SECURITY_CRYPT_FAIL
          Cryptographic failure
static java.lang.String SECURITY_INTEGRITY
          Message integrity failure
static java.lang.String SECURITY_LIST_EXP
          Mailing list expansion prohibited
static java.lang.String SECURITY_OTHER
          Other or undefined security status
static java.lang.String SECURITY_UNSUPPORTED
          Security features not supported
static int SUCCESS
          Success
static int SYSTEM
          Mail System Status
static java.lang.String SYSTEM_CFG_ERROR
          System incorrectly configured
static java.lang.String SYSTEM_FULL
          Mail system full
static java.lang.String SYSTEM_MSG_TOO_BIG
          Message too big for system
static java.lang.String SYSTEM_NOT_ACCEPTING
          System not accepting messages
static java.lang.String SYSTEM_NOT_CAPABLE
          System not capable of selected features
static java.lang.String SYSTEM_OTHER
          Other or undefined mail system status
static int TRANSIENT
          Persistent Transient Failure
static int UNDEFINED
          Other or Undefined Status
static java.lang.String UNDEFINED_STATUS
          Other undefined status
 
Constructor Summary
DSNStatus()
           
 
Method Summary
static java.lang.String getStatus(int type, int subject, int detail)
           
static java.lang.String getStatus(int type, java.lang.String detail)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SUCCESS

public static final int SUCCESS
Success

See Also:
Constant Field Values

TRANSIENT

public static final int TRANSIENT
Persistent Transient Failure

See Also:
Constant Field Values

PERMANENT

public static final int PERMANENT
Permanent Failure

See Also:
Constant Field Values

UNDEFINED

public static final int UNDEFINED
Other or Undefined Status

See Also:
Constant Field Values

UNDEFINED_STATUS

public static final java.lang.String UNDEFINED_STATUS
Other undefined status

See Also:
Constant Field Values

ADDRESS

public static final int ADDRESS
Addressing Status

See Also:
Constant Field Values

ADDRESS_OTHER

public static final java.lang.String ADDRESS_OTHER
Other address status

See Also:
Constant Field Values

ADDRESS_MAILBOX

public static final java.lang.String ADDRESS_MAILBOX
Bad destination mailbox address

See Also:
Constant Field Values

ADDRESS_SYSTEM

public static final java.lang.String ADDRESS_SYSTEM
Bad destination system address

See Also:
Constant Field Values

ADDRESS_SYNTAX

public static final java.lang.String ADDRESS_SYNTAX
Bad destination mailbox address syntax

See Also:
Constant Field Values

ADDRESS_AMBIGUOUS

public static final java.lang.String ADDRESS_AMBIGUOUS
Destination mailbox address ambiguous

See Also:
Constant Field Values

ADDRESS_VALID

public static final java.lang.String ADDRESS_VALID
Destination Address valid

See Also:
Constant Field Values

ADDRESS_MOVED

public static final java.lang.String ADDRESS_MOVED
Destimation mailbox has moved, no forwarding address

See Also:
Constant Field Values

ADDRESS_SYNTAX_SENDER

public static final java.lang.String ADDRESS_SYNTAX_SENDER
Bad sender's mailbox address syntax

See Also:
Constant Field Values

ADDRESS_SYSTEM_SENDER

public static final java.lang.String ADDRESS_SYSTEM_SENDER
Bad sender's system address

See Also:
Constant Field Values

MAILBOX

public static final int MAILBOX
Mailbox Status

See Also:
Constant Field Values

MAILBOX_OTHER

public static final java.lang.String MAILBOX_OTHER
Other or Undefined Mailbox Status

See Also:
Constant Field Values

MAILBOX_DISABLED

public static final java.lang.String MAILBOX_DISABLED
Mailbox disabled, not accepting messages

See Also:
Constant Field Values

MAILBOX_FULL

public static final java.lang.String MAILBOX_FULL
Mailbox full

See Also:
Constant Field Values

MAILBOX_MSG_TOO_BIG

public static final java.lang.String MAILBOX_MSG_TOO_BIG
Message length exceeds administrative limit

See Also:
Constant Field Values

MAILBOX_LIST_EXPANSION

public static final java.lang.String MAILBOX_LIST_EXPANSION
Mailing list expansion problem

See Also:
Constant Field Values

SYSTEM

public static final int SYSTEM
Mail System Status

See Also:
Constant Field Values

SYSTEM_OTHER

public static final java.lang.String SYSTEM_OTHER
Other or undefined mail system status

See Also:
Constant Field Values

SYSTEM_FULL

public static final java.lang.String SYSTEM_FULL
Mail system full

See Also:
Constant Field Values

SYSTEM_NOT_ACCEPTING

public static final java.lang.String SYSTEM_NOT_ACCEPTING
System not accepting messages

See Also:
Constant Field Values

SYSTEM_NOT_CAPABLE

public static final java.lang.String SYSTEM_NOT_CAPABLE
System not capable of selected features

See Also:
Constant Field Values

SYSTEM_MSG_TOO_BIG

public static final java.lang.String SYSTEM_MSG_TOO_BIG
Message too big for system

See Also:
Constant Field Values

SYSTEM_CFG_ERROR

public static final java.lang.String SYSTEM_CFG_ERROR
System incorrectly configured

See Also:
Constant Field Values

NETWORK

public static final int NETWORK
Network and Routing Status

See Also:
Constant Field Values

NETWORK_OTHER

public static final java.lang.String NETWORK_OTHER
Other or undefined network or routing status

See Also:
Constant Field Values

NETWORK_NO_ANSWER

public static final java.lang.String NETWORK_NO_ANSWER
No answer form host

See Also:
Constant Field Values

NETWORK_CONNECTION

public static final java.lang.String NETWORK_CONNECTION
Bad Connection

See Also:
Constant Field Values

NETWORK_DIR_SERVER

public static final java.lang.String NETWORK_DIR_SERVER
Directory server failure

See Also:
Constant Field Values

NETWORK_ROUTE

public static final java.lang.String NETWORK_ROUTE
Unable to route

See Also:
Constant Field Values

NETWORK_CONGESTION

public static final java.lang.String NETWORK_CONGESTION
Mail system congestion

See Also:
Constant Field Values

NETWORK_LOOP

public static final java.lang.String NETWORK_LOOP
Routing loop detected

See Also:
Constant Field Values

NETWORK_EXPIRED

public static final java.lang.String NETWORK_EXPIRED
Delivery time expired

See Also:
Constant Field Values

DELIVERY

public static final int DELIVERY
Mail Delivery Protocol Status

See Also:
Constant Field Values

DELIVERY_OTHER

public static final java.lang.String DELIVERY_OTHER
Other or undefined (SMTP) protocol status

See Also:
Constant Field Values

DELIVERY_INVALID_CMD

public static final java.lang.String DELIVERY_INVALID_CMD
Invalid command

See Also:
Constant Field Values

DELIVERY_SYNTAX

public static final java.lang.String DELIVERY_SYNTAX
Syntax error

See Also:
Constant Field Values

DELIVERY_TOO_MANY_REC

public static final java.lang.String DELIVERY_TOO_MANY_REC
Too many recipients

See Also:
Constant Field Values

DELIVERY_INVALID_ARG

public static final java.lang.String DELIVERY_INVALID_ARG
Invalid command arguments

See Also:
Constant Field Values

DELIVERY_VERSION

public static final java.lang.String DELIVERY_VERSION
Wrong protocol version

See Also:
Constant Field Values

CONTENT

public static final int CONTENT
Message Content or Media Status

See Also:
Constant Field Values

CONTENT_OTHER

public static final java.lang.String CONTENT_OTHER
Other or undefined media error

See Also:
Constant Field Values

CONTENT_UNSUPPORTED

public static final java.lang.String CONTENT_UNSUPPORTED
Media not supported

See Also:
Constant Field Values

CONTENT_CONVERSION_NOT_ALLOWED

public static final java.lang.String CONTENT_CONVERSION_NOT_ALLOWED
Conversion required and prohibited

See Also:
Constant Field Values

CONTENT_CONVERSION_NOT_SUPPORTED

public static final java.lang.String CONTENT_CONVERSION_NOT_SUPPORTED
Conversion required, but not supported

See Also:
Constant Field Values

CONTENT_CONVERSION_LOSS

public static final java.lang.String CONTENT_CONVERSION_LOSS
Conversion with loss performed

See Also:
Constant Field Values

CONTENT_CONVERSION_FAILED

public static final java.lang.String CONTENT_CONVERSION_FAILED
Conversion failed

See Also:
Constant Field Values

SECURITY

public static final int SECURITY
Security or Policy Status

See Also:
Constant Field Values

SECURITY_OTHER

public static final java.lang.String SECURITY_OTHER
Other or undefined security status

See Also:
Constant Field Values

SECURITY_AUTH

public static final java.lang.String SECURITY_AUTH
Delivery not authorized, message refused

See Also:
Constant Field Values

SECURITY_LIST_EXP

public static final java.lang.String SECURITY_LIST_EXP
Mailing list expansion prohibited

See Also:
Constant Field Values

SECURITY_CONVERSION

public static final java.lang.String SECURITY_CONVERSION
Security conversion required, but not possible

See Also:
Constant Field Values

SECURITY_UNSUPPORTED

public static final java.lang.String SECURITY_UNSUPPORTED
Security features not supported

See Also:
Constant Field Values

SECURITY_CRYPT_FAIL

public static final java.lang.String SECURITY_CRYPT_FAIL
Cryptographic failure

See Also:
Constant Field Values

SECURITY_CRYPT_ALGO

public static final java.lang.String SECURITY_CRYPT_ALGO
Cryptographic algorithm not supported

See Also:
Constant Field Values

SECURITY_INTEGRITY

public static final java.lang.String SECURITY_INTEGRITY
Message integrity failure

See Also:
Constant Field Values
Constructor Detail

DSNStatus

public DSNStatus()
Method Detail

getStatus

public static java.lang.String getStatus(int type,
                                         java.lang.String detail)

getStatus

public static java.lang.String getStatus(int type,
                                         int subject,
                                         int detail)


Copyright © 2002-2007 The Apache Software Foundation. All Rights Reserved.