FileDocCategorySizeDatePackage
DSNStatus.javaAPI DocApache James 2.3.18109Fri Jan 12 12:56:34 GMT 2007org.apache.james.util.mail.dsn

DSNStatus

public class DSNStatus extends Object
Constants and getters for RFC 3463 Enhanced Mail System Status Codes

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



    // get methods

           
        return type + "." + detail;
    
public static java.lang.StringgetStatus(int type, int subject, int detail)

        return type + "." + subject + "." + detail;