Constant Field Values (JavaMail API documentation)
Date: 2016-12-03

# 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 java.lang.String` | `ID_ADDRESS` | `"address"`
  `public static final java.lang.String` | `ID_ARGUMENTS` | `"arguments"`
  `public static final java.lang.String` | `ID_COMMAND` | `"command"`
  `public static final java.lang.String` | `ID_DATE` | `"date"`
  `public static final java.lang.String` | `ID_ENVIRONMENT` | `"environment"`
  `public static final java.lang.String` | `ID_NAME` | `"name"`
  `public static final java.lang.String` | `ID_OS` | `"os"`
  `public static final java.lang.String` | `ID_OS_VERSION` | `"os-version"`
  `public static final java.lang.String` | `ID_SUPPORT_URL` | `"support-url"`
  `public static final java.lang.String` | `ID_VENDOR` | `"vendor"`
  `public static final java.lang.String` | `ID_VERSION` | `"version"`
  `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 java.lang.String` | `ATTACHMENT` | `"attachment"`
  `public static final java.lang.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 java.lang.String` | `MIME` | `"()<>@,;:\\\"\t []/?="`
  `public static final java.lang.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 © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms< /a>.