# Constant Field Values

## Contents

- com.sun.*
- javax.mail.*

## com.sun.*

- com.sun.mail.imap.IMAPFolder
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `protected static final char` | `UNKNOWN_SEPARATOR` | `65535`

- com.sun.mail.imap.IMAPStore
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `RESPONSE` | `1000`

- com.sun.mail.smtp.SMTPMessage
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `NOTIFY_DELAY` | `4`
  `public static final int` | `NOTIFY_FAILURE` | `2`
  `public static final int` | `NOTIFY_NEVER` | `-1`
  `public static final int` | `NOTIFY_SUCCESS` | `1`
  `public static final int` | `RETURN_FULL` | `1`
  `public static final int` | `RETURN_HDRS` | `2`

## javax.mail.*

- javax.mail.Folder
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `HOLDS_FOLDERS` | `2`
  `public static final int` | `HOLDS_MESSAGES` | `1`
  `public static final int` | `READ_ONLY` | `1`
  `public static final int` | `READ_WRITE` | `2`

- javax.mail.Part
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final String` | `ATTACHMENT` | `"attachment"`
  `public static final String` | `INLINE` | `"inline"`

- javax.mail.UIDFolder
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final long` | `LASTUID` | `-1L`

- javax.mail.event.ConnectionEvent
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `CLOSED` | `3`
  `public static final int` | `DISCONNECTED` | `2`
  `public static final int` | `OPENED` | `1`

- javax.mail.event.FolderEvent
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `CREATED` | `1`
  `public static final int` | `DELETED` | `2`
  `public static final int` | `RENAMED` | `3`

- javax.mail.event.MessageChangedEvent
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `ENVELOPE_CHANGED` | `2`
  `public static final int` | `FLAGS_CHANGED` | `1`

- javax.mail.event.MessageCountEvent
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `ADDED` | `1`
  `public static final int` | `REMOVED` | `2`

- javax.mail.event.StoreEvent
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `ALERT` | `1`
  `public static final int` | `NOTICE` | `2`

- javax.mail.event.TransportEvent
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `MESSAGE_DELIVERED` | `1`
  `public static final int` | `MESSAGE_NOT_DELIVERED` | `2`
  `public static final int` | `MESSAGE_PARTIALLY_DELIVERED` | `3`

- javax.mail.internet.HeaderTokenizer
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final String` | `MIME` | `"()<>@,;:\\\"\t []/?="`
  `public static final String` | `RFC822` | `"()<>@,;:\\\"\t .[]"`

- javax.mail.internet.HeaderTokenizer.Token
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `ATOM` | `-1`
  `public static final int` | `COMMENT` | `-3`
  `public static final int` | `EOF` | `-4`
  `public static final int` | `QUOTEDSTRING` | `-2`

- javax.mail.internet.MimeUtility
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `ALL` | `-1`

- javax.mail.search.ComparisonTerm
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `EQ` | `3`
  `public static final int` | `GE` | `6`
  `public static final int` | `GT` | `5`
  `public static final int` | `LE` | `1`
  `public static final int` | `LT` | `2`
  `public static final int` | `NE` | `4`

Copyright © 2013 Oracle. All Rights Reserved.