javax.mail
Class FetchProfile.Item
java.lang.Object
javax.mail.FetchProfile.Item
- FetchProfile
public static class FetchProfile.Item
extends java.lang.Object
Inner class that defines sets of headers that are commonly bundled together
in a FetchProfile.
CONTENT_INFO
public static final FetchProfile.Item CONTENT_INFO
Item for fetching information about the content of the message.
This includes all the headers about the content including but not limited to:
Content-Type, Content-Disposition, Content-Description, Size and Line-Count
ENVELOPE
public static final FetchProfile.Item ENVELOPE
Item for fetching information about the envelope of the message.
This includes all the headers comprising the envelope including but not limited to:
From, To, Cc, Bcc, Reply-To, Subject and Date
For IMAP4, this should also include the ENVELOPE data item.
FLAGS
public static final FetchProfile.Item FLAGS
Item for fetching information about message flags.
Generall corresponds to the X-Flags header.
Item
protected Item(String name)