A B C D E F G H I J L M N O P Q R S T U W

A

ADDED - Static variable in class javax.mail.event.MessageCountEvent
The messages were added to their folder
ALERT - Static variable in class javax.mail.event.StoreEvent
Indicates that this message is an ALERT.
ALL - Static variable in class javax.mail.internet.MimeUtility
 
ANSWERED - Static variable in class javax.mail.Flags.Flag
This message has been answered.
ATOM - Static variable in class javax.mail.internet.HeaderTokenizer.Token
Token type indicating an ATOM.
ATTACHMENT - Static variable in interface javax.mail.Part
This part should be presented as an attachment.
Address - class javax.mail.Address.
This abstract class models the addresses in a message.
Address() - Constructor for class javax.mail.Address
 
AddressException - exception javax.mail.internet.AddressException.
The exception thrown when a wrongly formatted address is encountered.
AddressException() - Constructor for class javax.mail.internet.AddressException
Constructs an AddressException with no detail message.
AddressException(String) - Constructor for class javax.mail.internet.AddressException
Constructs an AddressException with the specified detail message.
AddressException(String, String) - Constructor for class javax.mail.internet.AddressException
Constructs an AddressException with the specified detail message and reference info.
AddressException(String, String, int) - Constructor for class javax.mail.internet.AddressException
Constructs an AddressException with the specified detail message and reference info.
AddressStringTerm - class javax.mail.search.AddressStringTerm.
This abstract class implements string comparisons for Message addresses.
AddressTerm - class javax.mail.search.AddressTerm.
This class implements Message Address comparisons.
AndTerm - class javax.mail.search.AndTerm.
This class implements the logical AND operator on individual SearchTerms.
AndTerm(SearchTerm, SearchTerm) - Constructor for class javax.mail.search.AndTerm
Constructor that takes two terms.
AndTerm(SearchTerm[]) - Constructor for class javax.mail.search.AndTerm
Constructor that takes an array of SearchTerms.
AuthenticationFailedException - exception javax.mail.AuthenticationFailedException.
This exception is thrown when the connect method on a Store or Transport object fails due to an authentication failure (e.g., bad user name or password).
AuthenticationFailedException() - Constructor for class javax.mail.AuthenticationFailedException
Constructor
AuthenticationFailedException(String) - Constructor for class javax.mail.AuthenticationFailedException
Constructor
Authenticator - class javax.mail.Authenticator.
The class Authenticator represents an object that knows how to obtain authentication for a network connection.
Authenticator() - Constructor for class javax.mail.Authenticator
 
add(FetchProfile.Item) - Method in class javax.mail.FetchProfile
Add the given special item as one of the attributes to be prefetched.
add(String) - Method in class javax.mail.FetchProfile
Add the specified header-field to the list of attributes to be prefetched.
add(Flags.Flag) - Method in class javax.mail.Flags
Add the specified system flag to this Flags object.
add(String) - Method in class javax.mail.Flags
Add the specified user flag to this Flags object.
add(Flags) - Method in class javax.mail.Flags
Add all the flags in the given Flags object to this Flags object.
addBodyPart(BodyPart) - Method in class javax.mail.Multipart
Adds a Part to the multipart.
addBodyPart(BodyPart, int) - Method in class javax.mail.Multipart
Adds a BodyPart at position index.
addConnectionListener(ConnectionListener) - Method in class javax.mail.Folder
Add a listener for Connection events on this Folder.
addConnectionListener(ConnectionListener) - Method in class javax.mail.Service
Add a listener for Connection events on this service.
addFolderListener(FolderListener) - Method in class javax.mail.Folder
Add a listener for Folder events on this Folder.
addFolderListener(FolderListener) - Method in class javax.mail.Store
Add a listener for Folder events on any Folder object obtained from this Store.
addFrom(Address[]) - Method in class javax.mail.Message
Add these addresses to the existing "From" attribute
addFrom(Address[]) - Method in class javax.mail.internet.MimeMessage
Add the specified addresses to the existing "From" field.
addHeader(String, String) - Method in interface javax.mail.Part
Add this value to the existing values for this header_name.
addHeader(String, String) - Method in class javax.mail.internet.InternetHeaders
Add a header with the specified name and value to the header list.
addHeader(String, String) - Method in class javax.mail.internet.MimeBodyPart
Add this value to the existing values for this header_name.
addHeader(String, String) - Method in class javax.mail.internet.MimeMessage
Add this value to the existing values for this header_name.
addHeaderLine(String) - Method in class javax.mail.internet.InternetHeaders
Add an RFC822 header line to the header store.
addHeaderLine(String) - Method in class javax.mail.internet.MimeBodyPart
Add a header line to this body part
addHeaderLine(String) - Method in class javax.mail.internet.MimeMessage
Add a raw RFC 822 header-line.
addHeaderLine(String) - Method in interface javax.mail.internet.MimePart
Add a raw RFC822 header-line.
addMessageChangedListener(MessageChangedListener) - Method in class javax.mail.Folder
Add a listener for MessageChanged events on this Folder.
addMessageCountListener(MessageCountListener) - Method in class javax.mail.Folder
Add a listener for MessageCount events on this Folder.
addRecipient(Message.RecipientType, Address) - Method in class javax.mail.Message
Add this recipient address to the existing ones of the given type.
addRecipients(Message.RecipientType, Address[]) - Method in class javax.mail.Message
Add these recipient addresses to the existing ones of the given type.
addRecipients(Message.RecipientType, Address[]) - Method in class javax.mail.internet.MimeMessage
Add the given addresses to the specified recipient type.
addRecipients(Message.RecipientType, String) - Method in class javax.mail.internet.MimeMessage
Add the given addresses to the specified recipient type.
addStoreListener(StoreListener) - Method in class javax.mail.Store
Add a listener for StoreEvents on this Store.
addTransportListener(TransportListener) - Method in class javax.mail.Transport
Add a listener for Transport events.
appendMessages(Message[]) - Method in class javax.mail.Folder
Append given Messages to this folder.

B

BCC - Static variable in class javax.mail.Message.RecipientType
The "Bcc" (blind carbon copy) recipients.
BodyPart - class javax.mail.BodyPart.
This class models a Part that is contained within a Multipart.
BodyPart() - Constructor for class javax.mail.BodyPart
 
BodyTerm - class javax.mail.search.BodyTerm.
This class implements searches on Message Body.
BodyTerm(String) - Constructor for class javax.mail.search.BodyTerm
Constructor

C

CC - Static variable in class javax.mail.Message.RecipientType
The "Cc" (carbon copy) recipients.
CLOSED - Static variable in class javax.mail.event.ConnectionEvent
A connection was closed.
COMMENT - Static variable in class javax.mail.internet.HeaderTokenizer.Token
Token type indicating a comment.
CONTENT_INFO - Static variable in class javax.mail.FetchProfile.Item
This item is for fetching information about the content of the message.
CREATED - Static variable in class javax.mail.event.FolderEvent
The folder was created.
ComparisonTerm - class javax.mail.search.ComparisonTerm.
This class models the comparison operator.
ComparisonTerm() - Constructor for class javax.mail.search.ComparisonTerm
 
ConnectionAdapter - class javax.mail.event.ConnectionAdapter.
The adapter which receives connection events.
ConnectionAdapter() - Constructor for class javax.mail.event.ConnectionAdapter
 
ConnectionEvent - class javax.mail.event.ConnectionEvent.
This class models Connection events.
ConnectionEvent(Object, int) - Constructor for class javax.mail.event.ConnectionEvent
Constructor
ConnectionListener - interface javax.mail.event.ConnectionListener.
This is the Listener interface for Connection events.
ContentDisposition - class javax.mail.internet.ContentDisposition.
This class represents a MIME ContentDisposition value.
ContentDisposition() - Constructor for class javax.mail.internet.ContentDisposition
No-arg Constructor.
ContentDisposition(String, ParameterList) - Constructor for class javax.mail.internet.ContentDisposition
Constructor.
ContentDisposition(String) - Constructor for class javax.mail.internet.ContentDisposition
Constructor that takes a ContentDisposition string.
ContentType - class javax.mail.internet.ContentType.
This class represents a MIME ContentType value.
ContentType() - Constructor for class javax.mail.internet.ContentType
No-arg Constructor.
ContentType(String, String, ParameterList) - Constructor for class javax.mail.internet.ContentType
Constructor.
ContentType(String) - Constructor for class javax.mail.internet.ContentType
Constructor that takes a Content-Type string.
clone() - Method in class javax.mail.Flags
Returns a clone of this Flags object.
clone() - Method in class javax.mail.internet.InternetAddress
Return a copy of this InternetAddress object.
close(boolean) - Method in class javax.mail.Folder
Close this Folder.
close() - Method in class javax.mail.Service
Close this service and terminate its connection.
closed(ConnectionEvent) - Method in class javax.mail.event.ConnectionAdapter
 
closed(ConnectionEvent) - Method in interface javax.mail.event.ConnectionListener
Invoked when a Store/Folder/Transport is closed.
connect() - Method in class javax.mail.Service
A generic connect method that takes no parameters.
connect(String, String, String) - Method in class javax.mail.Service
Connect to the specified address.
connect(String, int, String, String) - Method in class javax.mail.Service
Similar to connect(host, user, password) except a specific port can be specified.
contains(FetchProfile.Item) - Method in class javax.mail.FetchProfile
Returns true if the fetch profile contains given special item.
contains(String) - Method in class javax.mail.FetchProfile
Returns true if the fetch profile contains given header name.
contains(Flags.Flag) - Method in class javax.mail.Flags
Check whether the specified system flag is present in this Flags object.
contains(String) - Method in class javax.mail.Flags
Check whether the specified user flag is present in this Flags object.
contains(Flags) - Method in class javax.mail.Flags
Check whether all the flags in the specified Flags object are present in this Flags object.
copyMessages(Message[], Folder) - Method in class javax.mail.Folder
Copy the specified Messages from this Folder into another Folder.
create(int) - Method in class javax.mail.Folder
Create this folder on the Store.

D

DELETED - Static variable in class javax.mail.Flags.Flag
This message is marked deleted.
DELETED - Static variable in class javax.mail.event.FolderEvent
The folder was deleted.
DISCONNECTED - Static variable in class javax.mail.event.ConnectionEvent
A connection was disconnected (not currently used).
DRAFT - Static variable in class javax.mail.Flags.Flag
This message is a draft.
DateTerm - class javax.mail.search.DateTerm.
This class implements comparisons for Dates
decode(InputStream, String) - Static method in class javax.mail.internet.MimeUtility
Decode the given input stream.
decodeText(String) - Static method in class javax.mail.internet.MimeUtility
Decode "unstructured" headers, that is, headers that are defined as '*text' as per RFC 822.
decodeWord(String) - Static method in class javax.mail.internet.MimeUtility
The string is parsed using the rules in RFC 2047 for parsing an "encoded-word".
delete(boolean) - Method in class javax.mail.Folder
Delete this Folder.
disconnected(ConnectionEvent) - Method in class javax.mail.event.ConnectionAdapter
 
disconnected(ConnectionEvent) - Method in interface javax.mail.event.ConnectionListener
Invoked when a Store is disconnected.
dispatch(Object) - Method in class javax.mail.event.ConnectionEvent
Invokes the appropriate ConnectionListener method
dispatch(Object) - Method in class javax.mail.event.FolderEvent
Invokes the appropriate FolderListener method
dispatch(Object) - Method in class javax.mail.event.MailEvent
This method invokes the appropriate method on a listener for this event.
dispatch(Object) - Method in class javax.mail.event.MessageChangedEvent
Invokes the appropriate MessageChangedListener method.
dispatch(Object) - Method in class javax.mail.event.MessageCountEvent
Invokes the appropriate MessageCountListener method.
dispatch(Object) - Method in class javax.mail.event.StoreEvent
Invokes the appropriate StoreListener method.
dispatch(Object) - Method in class javax.mail.event.TransportEvent
Invokes the appropriate TransportListener method.

E

ENVELOPE - Static variable in class javax.mail.FetchProfile.Item
This is the Envelope item.
ENVELOPE_CHANGED - Static variable in class javax.mail.event.MessageChangedEvent
The message's envelope (headers, but not body) changed.
EOF - Static variable in class javax.mail.internet.HeaderTokenizer.Token
Token type indicating end of input.
EQ - Static variable in class javax.mail.search.ComparisonTerm
 
encode(OutputStream, String) - Static method in class javax.mail.internet.MimeUtility
Wrap an encoder around the given output stream.
encode(OutputStream, String, String) - Static method in class javax.mail.internet.MimeUtility
Wrap an encoder around the given output stream.
encodeText(String) - Static method in class javax.mail.internet.MimeUtility
Encode a RFC 822 "text" token into mail-safe form as per RFC 2047.
encodeText(String, String, String) - Static method in class javax.mail.internet.MimeUtility
Encode a RFC 822 "text" token into mail-safe form as per RFC 2047.
encodeWord(String) - Static method in class javax.mail.internet.MimeUtility
Encode a RFC 822 "word" token into mail-safe form as per RFC 2047.
encodeWord(String, String, String) - Static method in class javax.mail.internet.MimeUtility
Encode a RFC 822 "word" token into mail-safe form as per RFC 2047.
equals(Object) - Method in class javax.mail.Address
The equality operator.
equals(Object) - Method in class javax.mail.Flags
Check whether the two Flags objects are equal.
equals(Object) - Method in class javax.mail.URLName
Compares two URLNames.
equals(Object) - Method in class javax.mail.internet.InternetAddress
The equality operator.
equals(Object) - Method in class javax.mail.internet.NewsAddress
The equality operator.
equals(Object) - Method in class javax.mail.search.AddressStringTerm
Equality comparison.
equals(Object) - Method in class javax.mail.search.AddressTerm
Equality comparison.
equals(Object) - Method in class javax.mail.search.AndTerm
Equality comparison.
equals(Object) - Method in class javax.mail.search.BodyTerm
Equality comparison.
equals(Object) - Method in class javax.mail.search.ComparisonTerm
Equality comparison.
equals(Object) - Method in class javax.mail.search.DateTerm
Equality comparison.
equals(Object) - Method in class javax.mail.search.FlagTerm
Equality comparison.
equals(Object) - Method in class javax.mail.search.FromStringTerm
Equality comparison.
equals(Object) - Method in class javax.mail.search.FromTerm
Equality comparison.
equals(Object) - Method in class javax.mail.search.HeaderTerm
Equality comparison.
equals(Object) - Method in class javax.mail.search.IntegerComparisonTerm
Equality comparison.
equals(Object) - Method in class javax.mail.search.MessageIDTerm
Equality comparison.
equals(Object) - Method in class javax.mail.search.MessageNumberTerm
Equality comparison.
equals(Object) - Method in class javax.mail.search.NotTerm
Equality comparison.
equals(Object) - Method in class javax.mail.search.OrTerm
Equality comparison.
equals(Object) - Method in class javax.mail.search.ReceivedDateTerm
Equality comparison.
equals(Object) - Method in class javax.mail.search.RecipientStringTerm
Equality comparison.
equals(Object) - Method in class javax.mail.search.RecipientTerm
Equality comparison.
equals(Object) - Method in class javax.mail.search.SentDateTerm
Equality comparison.
equals(Object) - Method in class javax.mail.search.SizeTerm
Equality comparison.
equals(Object) - Method in class javax.mail.search.StringTerm
Equality comparison.
equals(Object) - Method in class javax.mail.search.SubjectTerm
Equality comparison.
exists() - Method in class javax.mail.Folder
Tests if this folder physically exists on the Store.
expunge() - Method in class javax.mail.Folder
Expunge (permanently remove) messages marked DELETED.

F

FLAGGED - Static variable in class javax.mail.Flags.Flag
This message is flagged.
FLAGS - Static variable in class javax.mail.FetchProfile.Item
This is the Flags item.
FLAGS_CHANGED - Static variable in class javax.mail.event.MessageChangedEvent
The message's flags changed.
FetchProfile - class javax.mail.FetchProfile.
Clients use a FetchProfile to list the Message attributes that it wishes to prefetch from the server for a range of messages.
FetchProfile() - Constructor for class javax.mail.FetchProfile
Create an empty FetchProfile.
FetchProfile.Item - class javax.mail.FetchProfile.Item.
This inner class is the base class of all items that can be requested in a FetchProfile.
FlagTerm - class javax.mail.search.FlagTerm.
This class implements comparisons for Message Flags.
FlagTerm(Flags, boolean) - Constructor for class javax.mail.search.FlagTerm
Constructor.
Flags - class javax.mail.Flags.
The Flags class represents the set of flags on a Message.
Flags() - Constructor for class javax.mail.Flags
Construct an empty Flags object.
Flags(Flags) - Constructor for class javax.mail.Flags
Construct a Flags object initialized with the given flags.
Flags(Flags.Flag) - Constructor for class javax.mail.Flags
Construct a Flags object initialized with the given system flag.
Flags(String) - Constructor for class javax.mail.Flags
Construct a Flags object initialized with the given user flag.
Flags.Flag - class javax.mail.Flags.Flag.
This inner class represents an individual system flag.
Folder - class javax.mail.Folder.
Folder is an abstract class that represents a folder for mail messages.
FolderAdapter - class javax.mail.event.FolderAdapter.
The adapter which receives Folder events.
FolderAdapter() - Constructor for class javax.mail.event.FolderAdapter
 
FolderClosedException - exception javax.mail.FolderClosedException.
This exception is thrown when a method is invoked on a Messaging object and the Folder that owns that object has died due to some reason.
FolderClosedException(Folder) - Constructor for class javax.mail.FolderClosedException
Constructor
FolderClosedException(Folder, String) - Constructor for class javax.mail.FolderClosedException
Constructor
FolderEvent - class javax.mail.event.FolderEvent.
This class models Folder existence events.
FolderEvent(Object, Folder, int) - Constructor for class javax.mail.event.FolderEvent
Constructor.
FolderEvent(Object, Folder, Folder, int) - Constructor for class javax.mail.event.FolderEvent
Constructor.
FolderListener - interface javax.mail.event.FolderListener.
This is the Listener interface for Folder events.
FolderNotFoundException - exception javax.mail.FolderNotFoundException.
This exception is thrown by Folder methods, when those methods are invoked on a non existent folder.
FolderNotFoundException() - Constructor for class javax.mail.FolderNotFoundException
Constructs a MessagingException with no detail message.
FolderNotFoundException(Folder) - Constructor for class javax.mail.FolderNotFoundException
Constructs a MessagingException with the specified folder.
FolderNotFoundException(Folder, String) - Constructor for class javax.mail.FolderNotFoundException
Constructs a MessagingException with the specified folder and the specified detail message.
FolderNotFoundException(String, Folder) - Constructor for class javax.mail.FolderNotFoundException
Constructs a MessagingException with the specified detail message and the specified folder.
FromStringTerm - class javax.mail.search.FromStringTerm.
This class implements string comparisons for the From Address header.
FromStringTerm(String) - Constructor for class javax.mail.search.FromStringTerm
Constructor.
FromTerm - class javax.mail.search.FromTerm.
This class implements comparisons for the From Address header.
FromTerm(Address) - Constructor for class javax.mail.search.FromTerm
Constructor
fetch(Message[], FetchProfile) - Method in class javax.mail.Folder
Prefetch the items specified in the FetchProfile for the given Messages.
folderCreated(FolderEvent) - Method in class javax.mail.event.FolderAdapter
 
folderCreated(FolderEvent) - Method in interface javax.mail.event.FolderListener
Invoked when a Folder is created.
folderDeleted(FolderEvent) - Method in class javax.mail.event.FolderAdapter
 
folderDeleted(FolderEvent) - Method in interface javax.mail.event.FolderListener
Invoked when a folder is deleted.
folderRenamed(FolderEvent) - Method in class javax.mail.event.FolderAdapter
 
folderRenamed(FolderEvent) - Method in interface javax.mail.event.FolderListener
Invoked when a folder is renamed.
format(Date, StringBuffer, FieldPosition) - Method in class javax.mail.internet.MailDateFormat
Formats the given date in the format specified by draft-ietf-drums-msg-fmt-08 in the current TimeZone.

G

GE - Static variable in class javax.mail.search.ComparisonTerm
 
GT - Static variable in class javax.mail.search.ComparisonTerm
 
get(String) - Method in class javax.mail.internet.ParameterList
Returns the value of the specified parameter.
getAddress() - Method in class javax.mail.internet.InternetAddress
Get the email address.
getAddress() - Method in class javax.mail.search.AddressTerm
Return the address to match with.
getAllHeaderLines() - Method in class javax.mail.internet.InternetHeaders
Return all the header lines as an Enumeration of Strings.
getAllHeaderLines() - Method in class javax.mail.internet.MimeBodyPart
Get all header lines as an Enumeration of Strings.
getAllHeaderLines() - Method in class javax.mail.internet.MimeMessage
Get all header lines as an Enumeration of Strings.
getAllHeaderLines() - Method in interface javax.mail.internet.MimePart
Get all header lines as an Enumeration of Strings.
getAllHeaders() - Method in interface javax.mail.Part
Return all the headers from this part as an Enumeration of Header objects.
getAllHeaders() - Method in class javax.mail.internet.InternetHeaders
Return all the headers as an Enumeration of Header objects
getAllHeaders() - Method in class javax.mail.internet.MimeBodyPart
Return all the headers from this Message as an Enumeration of Header objects.
getAllHeaders() - Method in class javax.mail.internet.MimeMessage
Return all the headers from this Message as an enumeration of Header objects.
getAllRecipients() - Method in class javax.mail.Message
Get all the recipient addresses for the message.
getAllRecipients() - Method in class javax.mail.internet.MimeMessage
Get all the recipient addresses for the message.
getBaseType() - Method in class javax.mail.internet.ContentType
Return the MIME type string, without the parameters.
getBodyPart(int) - Method in class javax.mail.Multipart
Get the specified Part.
getBodyPart(int) - Method in interface javax.mail.MultipartDataSource
Get the specified Part.
getBodyPart(int) - Method in class javax.mail.internet.MimeMultipart
Get the specified BodyPart.
getBodyPart(String) - Method in class javax.mail.internet.MimeMultipart
Get the MimeBodyPart referred to by the given ContentID (CID).
getClassName() - Method in class javax.mail.Provider
Returns name of the class that implements the protocol
getComparison() - Method in class javax.mail.search.DateTerm
Return the type of comparison.
getComparison() - Method in class javax.mail.search.IntegerComparisonTerm
Return the type of comparison.
getContent() - Method in interface javax.mail.Part
Return the content as a Java object.
getContent() - Method in class javax.mail.internet.MimeBodyPart
Return the content as a java object.
getContent() - Method in class javax.mail.internet.MimeMessage
Return the content as a Java object.
getContentID() - Method in class javax.mail.internet.MimeBodyPart
Returns the value of the "Content-ID" header field.
getContentID() - Method in class javax.mail.internet.MimeMessage
Returns the value of the "Content-ID" header field.
getContentID() - Method in interface javax.mail.internet.MimePart
Get the Content-ID of this part.
getContentLanguage() - Method in class javax.mail.internet.MimeBodyPart
Get the languages specified in the Content-Language header of this MimePart.
getContentLanguage() - Method in class javax.mail.internet.MimeMessage
Get the languages specified in the "Content-Language" header field of this message.
getContentLanguage() - Method in interface javax.mail.internet.MimePart
Get the language tags specified in the Content-Language header of this MimePart.
getContentMD5() - Method in class javax.mail.internet.MimeBodyPart
Return the value of the "Content-MD5" header field.
getContentMD5() - Method in class javax.mail.internet.MimeMessage
Return the value of the "Content-MD5" header field.
getContentMD5() - Method in interface javax.mail.internet.MimePart
Get the Content-MD5 digest of this part.
getContentType() - Method in class javax.mail.Multipart
Return the content-type of this Multipart.
getContentType() - Method in interface javax.mail.Part
Returns the Content-Type of the content of this part.
getContentType() - Method in class javax.mail.internet.MimeBodyPart
Returns the value of the RFC 822 "Content-Type" header field.
getContentType() - Method in class javax.mail.internet.MimeMessage
Returns the value of the RFC 822 "Content-Type" header field.
getContentType() - Method in class javax.mail.internet.MimePartDataSource
Returns the content-type of this DataSource.
getCount() - Method in class javax.mail.Multipart
Return the number of enclosed BodyPart objects.
getCount() - Method in interface javax.mail.MultipartDataSource
Return the number of enclosed BodyPart objects.
getCount() - Method in class javax.mail.internet.MimeMultipart
Return the number of enclosed BodyPart objects.
getDataHandler() - Method in interface javax.mail.Part
Return a DataHandler for the content within this part.
getDataHandler() - Method in class javax.mail.internet.MimeBodyPart
Return a DataHandler for this body part's content.
getDataHandler() - Method in class javax.mail.internet.MimeMessage
Return a DataHandler for this Message's content.
getDate() - Method in class javax.mail.search.DateTerm
Return the Date to compare with.
getDebug() - Method in class javax.mail.Session
Get the debug setting for this Session.
getDefaultFolder() - Method in class javax.mail.Store
Returns a Folder object that represents the 'root' of the default namespace presented to the user by the Store.
getDefaultInstance(Properties, Authenticator) - Static method in class javax.mail.Session
Get the default Session object.
getDefaultInstance(Properties) - Static method in class javax.mail.Session
Get the default Session object.
getDefaultJavaCharset() - Static method in class javax.mail.internet.MimeUtility
Get the default charset corresponding to the system's current default locale.
getDescription() - Method in interface javax.mail.Part
Return a description String for this part.
getDescription() - Method in class javax.mail.internet.MimeBodyPart
Returns the "Content-Description" header field of this body part.
getDescription() - Method in class javax.mail.internet.MimeMessage
Returns the "Content-Description" header field of this Message.
getDisposition() - Method in interface javax.mail.Part
Return the disposition of this part.
getDisposition() - Method in class javax.mail.internet.ContentDisposition
Return the disposition value.
getDisposition() - Method in class javax.mail.internet.MimeBodyPart
Returns the value of the "Content-Disposition" header field.
getDisposition() - Method in class javax.mail.internet.MimeMessage
Returns the value of the "Content-Disposition" header field.
getEncoding() - Method in class javax.mail.internet.MimeBodyPart
Returns the content transfer encoding from the "Content-Transfer-Encoding" header field.
getEncoding() - Method in class javax.mail.internet.MimeMessage
Returns the content transfer encoding from the "Content-Transfer-Encoding" header field.
getEncoding() - Method in interface javax.mail.internet.MimePart
Get the transfer encoding of this part.
getEncoding(DataSource) - Static method in class javax.mail.internet.MimeUtility
Get the content-transfer-encoding that should be applied to the input stream of this datasource, to make it mailsafe.
getEncoding(DataHandler) - Static method in class javax.mail.internet.MimeUtility
Same as getEncoding(DataSource) except that instead of reading the data from an InputStream it uses the writeTo method to examine the data.
getFile() - Method in class javax.mail.URLName
Returns the file name of this URLName.
getFileName() - Method in interface javax.mail.Part
Get the filename associated with this part, if possible.
getFileName() - Method in class javax.mail.internet.MimeBodyPart
Get the filename associated with this body part.
getFileName() - Method in class javax.mail.internet.MimeMessage
Get the filename associated with this Message.
getFlags() - Method in class javax.mail.Message
Returns a Flags object containing the flags for this message.
getFlags() - Method in class javax.mail.internet.MimeMessage
Return a Flags object containing the flags for this message.
getFlags() - Method in class javax.mail.search.FlagTerm
Return the Flags to test.
getFolder(String) - Method in class javax.mail.Folder
Return the Folder object corresponding to the given name.
getFolder() - Method in class javax.mail.FolderClosedException
Returns the dead Folder object
getFolder() - Method in class javax.mail.FolderNotFoundException
Returns the offending Folder object.
getFolder() - Method in class javax.mail.Message
Get the folder from which this message was obtained.
getFolder() - Method in class javax.mail.ReadOnlyFolderException
Returns the dead Folder object.
getFolder(URLName) - Method in class javax.mail.Session
Get a closed Folder object for the given URLName.
getFolder(String) - Method in class javax.mail.Store
Return the Folder object corresponding to the given name.
getFolder(URLName) - Method in class javax.mail.Store
Return a closed Folder object, corresponding to the given URLName.
getFolder() - Method in class javax.mail.event.FolderEvent
Return the affected folder.
getFrom() - Method in class javax.mail.Message
Returns the "From" attribute.
getFrom() - Method in class javax.mail.internet.MimeMessage
Returns the value of the RFC 822 "From" header fields.
getFullName() - Method in class javax.mail.Folder
Returns the full name of this Folder.
getHeader(String) - Method in interface javax.mail.Part
Get all the headers for this header name.
getHeader(String) - Method in class javax.mail.internet.InternetHeaders
Return all the values for the specified header.
getHeader(String, String) - Method in class javax.mail.internet.InternetHeaders
Get all the headers for this header name, returned as a single String, with headers separated by the delimiter.
getHeader(String) - Method in class javax.mail.internet.MimeBodyPart
Get all the headers for this header_name.
getHeader(String, String) - Method in class javax.mail.internet.MimeBodyPart
Get all the headers for this header name, returned as a single String, with headers separated by the delimiter.
getHeader(String) - Method in class javax.mail.internet.MimeMessage
Get all the headers for this header_name.
getHeader(String, String) - Method in class javax.mail.internet.MimeMessage
Get all the headers for this header name, returned as a single String, with headers separated by the delimiter.
getHeader(String, String) - Method in interface javax.mail.internet.MimePart
Get the values of all header fields available for this header, returned as a single String, with the values separated by the delimiter.
getHeaderName() - Method in class javax.mail.search.HeaderTerm
Return the name of the header to compare with.
getHeaderNames() - Method in class javax.mail.FetchProfile
Get the names of the header-fields set in this profile.
getHost() - Method in class javax.mail.URLName
Returns the host of this URLName.
getHost() - Method in class javax.mail.internet.NewsAddress
Get the host.
getIgnoreCase() - Method in class javax.mail.search.StringTerm
Return true if we should ignore case when matching.
getInputStream() - Method in interface javax.mail.Part
Return an input stream for this part's "content".
getInputStream() - Method in class javax.mail.internet.MimeBodyPart
Return a decoded input stream for this body part's "content".
getInputStream() - Method in class javax.mail.internet.MimeMessage
Return a decoded input stream for this Message's "content".
getInputStream() - Method in class javax.mail.internet.MimePartDataSource
Returns an input stream from this MimePart.
getInstance(Properties, Authenticator) - Static method in class javax.mail.Session
Get a new Session object.
getInstance(Properties) - Static method in class javax.mail.Session
Get a new Session object.
getInvalidAddresses() - Method in class javax.mail.SendFailedException
Return the addresses to which this message could not be sent.
getInvalidAddresses() - Method in class javax.mail.event.TransportEvent
Return the addresses to which this message could not be sent.
getItems() - Method in class javax.mail.FetchProfile
Get the items set in this profile.
getLineCount() - Method in interface javax.mail.Part
Return the number of lines in the content of this part.
getLineCount() - Method in class javax.mail.internet.MimeBodyPart
Return the number of lines for the content of this Part.
getLineCount() - Method in class javax.mail.internet.MimeMessage
Return the number of lines for the content of this message.
getLocalAddress(Session) - Static method in class javax.mail.internet.InternetAddress
Return an InternetAddress object representing the current user.
getMatchingHeaderLines(String[]) - Method in class javax.mail.internet.InternetHeaders
Return all matching header lines as an Enumeration of Strings.
getMatchingHeaderLines(String[]) - Method in class javax.mail.internet.MimeBodyPart
Get matching header lines as an Enumeration of Strings.
getMatchingHeaderLines(String[]) - Method in class javax.mail.internet.MimeMessage
Get matching header lines as an Enumeration of Strings.
getMatchingHeaderLines(String[]) - Method in interface javax.mail.internet.MimePart
Get matching header lines as an Enumeration of Strings.
getMatchingHeaders(String[]) - Method in interface javax.mail.Part
Return matching headers from this part as an Enumeration of Header objects.
getMatchingHeaders(String[]) - Method in class javax.mail.internet.InternetHeaders
Return all matching Header objects
getMatchingHeaders(String[]) - Method in class javax.mail.internet.MimeBodyPart
Return matching headers from this Message as an Enumeration of Header objects.
getMatchingHeaders(String[]) - Method in class javax.mail.internet.MimeMessage
Return matching headers from this Message as an Enumeration of Header objects.
getMessage(int) - Method in class javax.mail.Folder
Get the Message object corresponding to the given message number.
getMessage() - Method in class javax.mail.MessageContext
Return the Message that contains the content.
getMessage() - Method in class javax.mail.MessagingException
Produce the message, include the message from the nested exception if there is one.
getMessage() - Method in class javax.mail.event.MessageChangedEvent
Return the changed Message.
getMessage() - Method in class javax.mail.event.StoreEvent
Get the message from the Store.
getMessage() - Method in class javax.mail.event.TransportEvent
Get the Message object associated with this Transport Event.
getMessageByUID(long) - Method in interface javax.mail.UIDFolder
Get the Message corresponding to the given UID.
getMessageChangeType() - Method in class javax.mail.event.MessageChangedEvent
Return the type of this event.
getMessageContext() - Method in interface javax.mail.MessageAware
Return the message context.
getMessageContext() - Method in class javax.mail.internet.MimePartDataSource
Return the MessageContext for the current part.
getMessageCount() - Method in class javax.mail.Folder
Get total number of messages in this Folder.
getMessageID() - Method in class javax.mail.internet.MimeMessage
Returns the value of the "Message-ID" header field.
getMessageNumber() - Method in class javax.mail.Message
Get the Message number for this Message.
getMessageType() - Method in class javax.mail.event.StoreEvent
Return the type of this event.
getMessages(int, int) - Method in class javax.mail.Folder
Get the Message objects for message numbers ranging from start through end, both start and end inclusive.
getMessages(int[]) - Method in class javax.mail.Folder
Get the Message objects for message numbers specified in the array.
getMessages() - Method in class javax.mail.Folder
Get all Message objects from this Folder.
getMessages() - Method in class javax.mail.event.MessageCountEvent
Return the array of messages added or removed.
getMessagesByUID(long, long) - Method in interface javax.mail.UIDFolder
Get the Messages specified by the given range.
getMessagesByUID(long[]) - Method in interface javax.mail.UIDFolder
Get the Messages specified by the given array of UIDs.
getMode() - Method in class javax.mail.Folder
Return the open mode of this folder.
getName() - Method in class javax.mail.Folder
Returns the name of this Folder.
getName() - Method in class javax.mail.Header
Returns the name of this header.
getName() - Method in class javax.mail.internet.MimePartDataSource
DataSource method to return a name.
getNames() - Method in class javax.mail.internet.ParameterList
Return an enumeration of the names of all parameters in this list.
getNewFolder() - Method in class javax.mail.event.FolderEvent
If this event indicates that a folder is renamed, (i.e, the event type is RENAMED), then this method returns the Folder object representing the new name.
getNewMessageCount() - Method in class javax.mail.Folder
Get the number of new messages in this Folder.
getNewsgroup() - Method in class javax.mail.internet.NewsAddress
Get the newsgroup.
getNextException() - Method in class javax.mail.MessagingException
Get the next exception chained to this one.
getNonMatchingHeaderLines(String[]) - Method in class javax.mail.internet.InternetHeaders
Return all non-matching header lines
getNonMatchingHeaderLines(String[]) - Method in class javax.mail.internet.MimeBodyPart
Get non-matching header lines as an Enumeration of Strings.
getNonMatchingHeaderLines(String[]) - Method in class javax.mail.internet.MimeMessage
Get non-matching header lines as an Enumeration of Strings.
getNonMatchingHeaderLines(String[]) - Method in interface javax.mail.internet.MimePart
Get non-matching header lines as an Enumeration of Strings.
getNonMatchingHeaders(String[]) - Method in interface javax.mail.Part
Return non-matching headers from this envelope as an Enumeration of Header objects.
getNonMatchingHeaders(String[]) - Method in class javax.mail.internet.InternetHeaders
Return all non-matching Header objects
getNonMatchingHeaders(String[]) - Method in class javax.mail.internet.MimeBodyPart
Return non-matching headers from this Message as an Enumeration of Header objects.
getNonMatchingHeaders(String[]) - Method in class javax.mail.internet.MimeMessage
Return non-matching headers from this Message as an Enumeration of Header objects.
getNumber() - Method in class javax.mail.search.IntegerComparisonTerm
Return the number to compare with.
getOutputStream() - Method in class javax.mail.internet.MimePartDataSource
DataSource method to return an output stream.
getParameter(String) - Method in class javax.mail.internet.ContentDisposition
Return the specified parameter value.
getParameter(String) - Method in class javax.mail.internet.ContentType
Return the specified parameter value.
getParameterList() - Method in class javax.mail.internet.ContentDisposition
Return a ParameterList object that holds all the available parameters.
getParameterList() - Method in class javax.mail.internet.ContentType
Return a ParameterList object that holds all the available parameters.
getParent() - Method in class javax.mail.BodyPart
Return the containing Multipart object, or null if not known.
getParent() - Method in class javax.mail.Folder
Returns the parent folder of this folder.
getParent() - Method in class javax.mail.Multipart
Return the Part that contains this Multipart object, or null if not known.
getPart() - Method in class javax.mail.MessageContext
Return the Part that contains the content.
getPassword() - Method in class javax.mail.PasswordAuthentication
 
getPassword() - Method in class javax.mail.URLName
Returns the password of this URLName.
getPasswordAuthentication(URLName) - Method in class javax.mail.Session
Return any saved PasswordAuthentication for this (store or transport) URLName.
getPattern() - Method in class javax.mail.search.StringTerm
Return the string to match with.
getPermanentFlags() - Method in class javax.mail.Folder
Get the permanent flags supported by this Folder.
getPersonal() - Method in class javax.mail.internet.InternetAddress
Get the personal name.
getPersonalNamespaces() - Method in class javax.mail.Store
Return a set of folders representing the personal namespaces for the current user.
getPort() - Method in class javax.mail.URLName
Returns the port number of this URLName.
getPos() - Method in class javax.mail.internet.AddressException
Get the position with the reference string where the error was detected (-1 if not relevant).
getPosition() - Method in interface javax.mail.internet.SharedInputStream
Return the current position in the InputStream, as an offset from the beginning of the InputStream.
getPrimaryType() - Method in class javax.mail.internet.ContentType
Return the primary type.
getProperties() - Method in class javax.mail.Session
Returns the Properties object associated with this Session
getProperty(String) - Method in class javax.mail.Session
Returns the value of the specified property.
getProtocol() - Method in class javax.mail.Provider
Returns the protocol supported by this Provider
getProtocol() - Method in class javax.mail.URLName
Returns the protocol of this URLName.
getProvider(String) - Method in class javax.mail.Session
Returns the default Provider for the protocol specified.
getProviders() - Method in class javax.mail.Session
This method returns an array of all the implementations installed via the javamail.
getRawInputStream() - Method in class javax.mail.internet.MimeBodyPart
Return an InputStream to the raw data with any Content-Transfer-Encoding intact.
getRawInputStream() - Method in class javax.mail.internet.MimeMessage
Return an InputStream to the raw data with any Content-Transfer-Encoding intact.
getReceivedDate() - Method in class javax.mail.Message
Get the date this message was received.
getReceivedDate() - Method in class javax.mail.internet.MimeMessage
Returns the Date on this message was received.
getRecipientType() - Method in class javax.mail.search.RecipientStringTerm
Return the type of recipient to match with.
getRecipientType() - Method in class javax.mail.search.RecipientTerm
Return the type of recipient to match with.
getRecipients(Message.RecipientType) - Method in class javax.mail.Message
Get all the recipient addresses of the given type.
getRecipients(Message.RecipientType) - Method in class javax.mail.internet.MimeMessage
Returns the recepients specified by the type.
getRef() - Method in class javax.mail.URLName
Returns the reference of this URLName.
getRef() - Method in class javax.mail.internet.AddressException
Get the string that was being parsed when the error was detected (null if not relevant).
getRemainder() - Method in class javax.mail.internet.HeaderTokenizer
Return the rest of the Header.
getReplyTo() - Method in class javax.mail.Message
Get the addresses to which replies should be directed.
getReplyTo() - Method in class javax.mail.internet.MimeMessage
Return the value of the RFC 822 "Reply-To" header field.
getSentDate() - Method in class javax.mail.Message
Get the date this message was sent.
getSentDate() - Method in class javax.mail.internet.MimeMessage
Returns the value of the RFC 822 "Date" field.
getSeparator() - Method in class javax.mail.Folder
Return the delimiter character that separates this Folder's pathname from the names of immediate subfolders.
getSession() - Method in class javax.mail.MessageContext
Return the Session we're operating in.
getSharedNamespaces() - Method in class javax.mail.Store
Return a set of folders representing the shared namespaces.
getSize() - Method in interface javax.mail.Part
Return the size of the content of this part in bytes.
getSize() - Method in class javax.mail.internet.MimeBodyPart
Return the size of the content of this body part in bytes.
getSize() - Method in class javax.mail.internet.MimeMessage
Return the size of the content of this message in bytes.
getStore() - Method in class javax.mail.Folder
Returns the Store that owns this Folder object.
getStore() - Method in class javax.mail.Session
Get a Store object that implements this user's desired Store protocol.
getStore(String) - Method in class javax.mail.Session
Get a Store object that implements the specified protocol.
getStore(URLName) - Method in class javax.mail.Session
Get a Store object for the given URLName.
getStore(Provider) - Method in class javax.mail.Session
Get an instance of the store specified by Provider.
getStore() - Method in class javax.mail.StoreClosedException
Returns the dead Store object
getSubType() - Method in class javax.mail.internet.ContentType
Return the subType.
getSubject() - Method in class javax.mail.Message
Get the subject of this message.
getSubject() - Method in class javax.mail.internet.MimeMessage
Returns the value of the "Subject" header field.
getSystemFlags() - Method in class javax.mail.Flags
Return all the system flags in this Flags object.
getTerm() - Method in class javax.mail.search.NotTerm
Return the term to negate.
getTerms() - Method in class javax.mail.search.AndTerm
Return the search terms.
getTerms() - Method in class javax.mail.search.OrTerm
Return the search terms.
getTestSet() - Method in class javax.mail.search.FlagTerm
Return true if testing whether the flags are set.
getTransport() - Method in class javax.mail.Session
Get a Transport object that implements this user's desired Transport protcol.
getTransport(String) - Method in class javax.mail.Session
Get a Transport object that implements the specified protocol.
getTransport(URLName) - Method in class javax.mail.Session
Get a Transport object for the given URLName.
getTransport(Provider) - Method in class javax.mail.Session
Get an instance of the transport specified in the Provider.
getTransport(Address) - Method in class javax.mail.Session
Get a Transport object that can transport a Message to the specified address type.
getType() - Method in class javax.mail.Address
Return a type string that identifies this address type.
getType() - Method in class javax.mail.Folder
Returns the type of this Folder, that is, whether this folder can hold messages or subfolders or both.
getType() - Method in class javax.mail.Provider
Returns the type of this Provider
getType() - Method in class javax.mail.event.ConnectionEvent
Return the type of this event
getType() - Method in class javax.mail.event.FolderEvent
Return the type of this event.
getType() - Method in class javax.mail.event.MessageCountEvent
Return the type of this event.
getType() - Method in class javax.mail.event.TransportEvent
Return the type of this event.
getType() - Method in class javax.mail.internet.HeaderTokenizer.Token
Return the type of the token.
getType() - Method in class javax.mail.internet.InternetAddress
Return the type of this address.
getType() - Method in class javax.mail.internet.NewsAddress
Return the type of this address.
getUID(Message) - Method in interface javax.mail.UIDFolder
Get the UID for the specified message.
getUIDValidity() - Method in interface javax.mail.UIDFolder
Returns the UIDValidity value associated with this folder.
getURL() - Method in class javax.mail.URLName
Constructs a URL from the URLName.
getURLName() - Method in class javax.mail.Folder
Return a URLName representing this folder.
getURLName() - Method in class javax.mail.Service
Return a URLName representing this service.
getUnreadMessageCount() - Method in class javax.mail.Folder
Get the total number of unread messages in this Folder.
getUserFlags() - Method in class javax.mail.Flags
Return all the user flags in this Flags object.
getUserName() - Method in class javax.mail.PasswordAuthentication
 
getUserNamespaces(String) - Method in class javax.mail.Store
Return a set of folders representing the namespaces for user.
getUsername() - Method in class javax.mail.URLName
Returns the user name of this URLName.
getValidSentAddresses() - Method in class javax.mail.SendFailedException
Return the addresses to which this message was sent succesfully.
getValidSentAddresses() - Method in class javax.mail.event.TransportEvent
Return the addresses to which this message was sent succesfully.
getValidUnsentAddresses() - Method in class javax.mail.SendFailedException
Return the addresses that are valid but to which this message was not sent.
getValidUnsentAddresses() - Method in class javax.mail.event.TransportEvent
Return the addresses that are valid but to which this message was not sent.
getValue() - Method in class javax.mail.Header
Returns the value of this header.
getValue() - Method in class javax.mail.internet.HeaderTokenizer.Token
Returns the value of the token just read.
getVendor() - Method in class javax.mail.Provider
Returns name of vendor associated with this implementation or null
getVersion() - Method in class javax.mail.Provider
Returns version of this implementation or null if no version

H

HOLDS_FOLDERS - Static variable in class javax.mail.Folder
This folder can contain other folders
HOLDS_MESSAGES - Static variable in class javax.mail.Folder
This folder can contain messages
Header - class javax.mail.Header.
The Header class stores a name/value pair to represent headers.
Header(String, String) - Constructor for class javax.mail.Header
Construct a Header object.
HeaderTerm - class javax.mail.search.HeaderTerm.
This class implements comparisons for Message headers.
HeaderTerm(String, String) - Constructor for class javax.mail.search.HeaderTerm
Constructor.
HeaderTokenizer - class javax.mail.internet.HeaderTokenizer.
This class tokenizes RFC822 and MIME headers into the basic symbols specified by RFC822 and MIME.
HeaderTokenizer(String, String, boolean) - Constructor for class javax.mail.internet.HeaderTokenizer
Constructor that takes a rfc822 style header.
HeaderTokenizer(String, String) - Constructor for class javax.mail.internet.HeaderTokenizer
Constructor.
HeaderTokenizer(String) - Constructor for class javax.mail.internet.HeaderTokenizer
Constructor.
HeaderTokenizer.Token - class javax.mail.internet.HeaderTokenizer.Token.
The Token class represents tokens returned by the HeaderTokenizer.
HeaderTokenizer.Token(int, String) - Constructor for class javax.mail.internet.HeaderTokenizer.Token
Constructor.
hasNewMessages() - Method in class javax.mail.Folder
Returns true if this Folder has new messages since the last time this indication was reset.
hashCode() - Method in class javax.mail.Flags
Compute a hash code for this Flags object.
hashCode() - Method in class javax.mail.URLName
Compute the hash code for this URLName.
hashCode() - Method in class javax.mail.internet.InternetAddress
Compute a hash code for the address.
hashCode() - Method in class javax.mail.internet.NewsAddress
Compute a hash code for the address.
hashCode() - Method in class javax.mail.search.AddressTerm
Compute a hashCode for this object.
hashCode() - Method in class javax.mail.search.AndTerm
Compute a hashCode for this object.
hashCode() - Method in class javax.mail.search.ComparisonTerm
Compute a hashCode for this object.
hashCode() - Method in class javax.mail.search.DateTerm
Compute a hashCode for this object.
hashCode() - Method in class javax.mail.search.FlagTerm
Compute a hashCode for this object.
hashCode() - Method in class javax.mail.search.HeaderTerm
Compute a hashCode for this object.
hashCode() - Method in class javax.mail.search.IntegerComparisonTerm
Compute a hashCode for this object.
hashCode() - Method in class javax.mail.search.NotTerm
Compute a hashCode for this object.
hashCode() - Method in class javax.mail.search.OrTerm
Compute a hashCode for this object.
hashCode() - Method in class javax.mail.search.RecipientStringTerm
Compute a hashCode for this object.
hashCode() - Method in class javax.mail.search.RecipientTerm
Compute a hashCode for this object.
hashCode() - Method in class javax.mail.search.StringTerm
Compute a hashCode for this object.

I

INLINE - Static variable in interface javax.mail.Part
This part should be presented inline.
IllegalWriteException - exception javax.mail.IllegalWriteException.
The exception thrown when a write is attempted on a read-only attribute of any Messaging object.
IllegalWriteException() - Constructor for class javax.mail.IllegalWriteException
Constructs a IllegalWriteException with no detail message.
IllegalWriteException(String) - Constructor for class javax.mail.IllegalWriteException
Constructs a IllegalWriteException with the specified detail message.
IntegerComparisonTerm - class javax.mail.search.IntegerComparisonTerm.
This class implements comparisons for integers.
InternetAddress - class javax.mail.internet.InternetAddress.
This class models an RFC822 address.
InternetAddress() - Constructor for class javax.mail.internet.InternetAddress
Default constructor.
InternetAddress(String) - Constructor for class javax.mail.internet.InternetAddress
Constructor.
InternetAddress(String, String) - Constructor for class javax.mail.internet.InternetAddress
Construct an InternetAddress given the address and personal name.
InternetAddress(String, String, String) - Constructor for class javax.mail.internet.InternetAddress
Construct an InternetAddress given the address and personal name.
InternetHeaders - class javax.mail.internet.InternetHeaders.
InternetHeaders is a utility class that manages RFC822 style headers.
InternetHeaders() - Constructor for class javax.mail.internet.InternetHeaders
Create an empty InternetHeaders object.
InternetHeaders(InputStream) - Constructor for class javax.mail.internet.InternetHeaders
Read and parse the given rfc822 message stream till the blank line separating the header from the body.
isConnected() - Method in class javax.mail.Service
Is this service currently connected?
isExpunged() - Method in class javax.mail.Message
Checks whether this message is expunged.
isMimeType(String) - Method in interface javax.mail.Part
Is this Part of the specified MIME type?
isMimeType(String) - Method in class javax.mail.internet.MimeBodyPart
Is this Part of the specified MIME type?
isMimeType(String) - Method in class javax.mail.internet.MimeMessage
Is this Part of the specified MIME type?
isOpen() - Method in class javax.mail.Folder
Indicates whether this Folder is in the 'open' state.
isRemoved() - Method in class javax.mail.event.MessageCountEvent
Indicates whether this event is the result of an explicit expunge by this client, or due to an expunge from external sources.
isSet(Flags.Flag) - Method in class javax.mail.Message
Check whether the flag specified in the flag argument is set in this message.
isSet(Flags.Flag) - Method in class javax.mail.internet.MimeMessage
Check whether the flag specified in the flag argument is set in this message.
isSubscribed() - Method in class javax.mail.Folder
Returns true if this Folder is subscribed.

J

javaCharset(String) - Static method in class javax.mail.internet.MimeUtility
Convert a MIME charset name into a valid Java charset name.
javax.mail - package javax.mail
Classes modeling a mail system.
javax.mail.event - package javax.mail.event
Listeners and events for the JavaMail API.
javax.mail.internet - package javax.mail.internet
Classes specific to Internet mail systems.
javax.mail.search - package javax.mail.search
Message search terms for the JavaMail API.

L

LASTUID - Static variable in interface javax.mail.UIDFolder
This is a special value that can be used as the end parameter in getMessages(start, end), to denote the last UID in this folder.
LE - Static variable in class javax.mail.search.ComparisonTerm
 
LT - Static variable in class javax.mail.search.ComparisonTerm
 
list(String) - Method in class javax.mail.Folder
Returns a list of Folders belonging to this Folder's namespace that match the specified pattern.
list() - Method in class javax.mail.Folder
Convenience method that returns the list of folders under this Folder.
listSubscribed(String) - Method in class javax.mail.Folder
Returns a list of subscribed Folders belonging to this Folder's namespace that match the specified pattern.
listSubscribed() - Method in class javax.mail.Folder
Convenience method that returns the list of subscribed folders under this Folder.
load(InputStream) - Method in class javax.mail.internet.InternetHeaders
Read and parse the given rfc822 message stream till the blank line separating the header from the body.

M

MESSAGE_DELIVERED - Static variable in class javax.mail.event.TransportEvent
Message has been successfully delivered to all recipients by the transport firing this event. validSent[] contains all the addresses this transport sent to successfully. validUnsent[] and invalid[] should be null,
MESSAGE_NOT_DELIVERED - Static variable in class javax.mail.event.TransportEvent
Message was not sent for some reason. validSent[] should be null.
MESSAGE_PARTIALLY_DELIVERED - Static variable in class javax.mail.event.TransportEvent
Message was successfully sent to some recipients but not to all.
MIME - Static variable in class javax.mail.internet.HeaderTokenizer
MIME specials
MailDateFormat - class javax.mail.internet.MailDateFormat.
Formats and parses date specification based on the draft-ietf-drums-msg-fmt-08 dated January 26, 2000.
MailDateFormat() - Constructor for class javax.mail.internet.MailDateFormat
 
MailEvent - class javax.mail.event.MailEvent.
Common base class for mail events, defining the dispatch method.
MailEvent(Object) - Constructor for class javax.mail.event.MailEvent
 
Message - class javax.mail.Message.
This class models an email message.
Message.RecipientType - class javax.mail.Message.RecipientType.
This inner class defines the types of recipients allowed by the Message class.
MessageAware - interface javax.mail.MessageAware.
An interface optionally implemented by DataSources to supply information to a DataContentHandler about the message context in which the data content object is operating.
MessageChangedEvent - class javax.mail.event.MessageChangedEvent.
This class models Message change events.
MessageChangedEvent(Object, int, Message) - Constructor for class javax.mail.event.MessageChangedEvent
Constructor.
MessageChangedListener - interface javax.mail.event.MessageChangedListener.
This is the Listener interface for MessageChanged events
MessageContext - class javax.mail.MessageContext.
The context in which a piece of Message content is contained.
MessageContext(Part) - Constructor for class javax.mail.MessageContext
Create a MessageContext object describing the context of the given Part.
MessageCountAdapter - class javax.mail.event.MessageCountAdapter.
The adapter which receives MessageCount events.
MessageCountAdapter() - Constructor for class javax.mail.event.MessageCountAdapter
 
MessageCountEvent - class javax.mail.event.MessageCountEvent.
This class notifies changes in the number of messages in a folder.
MessageCountEvent(Folder, int, boolean, Message[]) - Constructor for class javax.mail.event.MessageCountEvent
Constructor.
MessageCountListener - interface javax.mail.event.MessageCountListener.
This is the Listener interface for MessageCount events.
MessageIDTerm - class javax.mail.search.MessageIDTerm.
This term models the RFC822 "MessageId" - a message-id for Internet messages that is supposed to be unique per message.
MessageIDTerm(String) - Constructor for class javax.mail.search.MessageIDTerm
Constructor.
MessageNumberTerm - class javax.mail.search.MessageNumberTerm.
This class implements comparisons for Message numbers.
MessageNumberTerm(int) - Constructor for class javax.mail.search.MessageNumberTerm
Constructor.
MessageRemovedException - exception javax.mail.MessageRemovedException.
The exception thrown when an invalid method is invoked on an expunged Message.
MessageRemovedException() - Constructor for class javax.mail.MessageRemovedException
Constructs a MessageRemovedException with no detail message.
MessageRemovedException(String) - Constructor for class javax.mail.MessageRemovedException
Constructs a MessageRemovedException with the specified detail message.
MessagingException - exception javax.mail.MessagingException.
The base class for all exceptions thrown by the Messaging classes
MessagingException() - Constructor for class javax.mail.MessagingException
Constructs a MessagingException with no detail message.
MessagingException(String) - Constructor for class javax.mail.MessagingException
Constructs a MessagingException with the specified detail message.
MessagingException(String, Exception) - Constructor for class javax.mail.MessagingException
Constructs a MessagingException with the specified Exception and detail message.
MethodNotSupportedException - exception javax.mail.MethodNotSupportedException.
The exception thrown when a method is not supported by the implementation
MethodNotSupportedException() - Constructor for class javax.mail.MethodNotSupportedException
Constructs a MethodNotSupportedException with no detail message.
MethodNotSupportedException(String) - Constructor for class javax.mail.MethodNotSupportedException
Constructs a MethodNotSupportedException with the specified detail message.
MimeBodyPart - class javax.mail.internet.MimeBodyPart.
This class represents a MIME body part.
MimeBodyPart() - Constructor for class javax.mail.internet.MimeBodyPart
An empty MimeBodyPart object is created.
MimeBodyPart(InputStream) - Constructor for class javax.mail.internet.MimeBodyPart
Constructs a MimeBodyPart by reading and parsing the data from the specified input stream.
MimeBodyPart(InternetHeaders, byte[]) - Constructor for class javax.mail.internet.MimeBodyPart
Constructs a MimeBodyPart using the given header and content bytes.
MimeMessage - class javax.mail.internet.MimeMessage.
This class represents a MIME style email message.
MimeMessage(Session) - Constructor for class javax.mail.internet.MimeMessage
Default constructor.
MimeMessage(Session, InputStream) - Constructor for class javax.mail.internet.MimeMessage
Constructs a MimeMessage by reading and parsing the data from the specified MIME InputStream.
MimeMessage(MimeMessage) - Constructor for class javax.mail.internet.MimeMessage
Constructs a new MimeMessage with content initialized from the source MimeMessage.
MimeMessage.RecipientType - class javax.mail.internet.MimeMessage.RecipientType.
This inner class extends the javax.mail.Message.RecipientType class to add additional RecipientTypes.
MimeMultipart - class javax.mail.internet.MimeMultipart.
The MimeMultipart class is an implementation of the abstract Multipart class that uses MIME conventions for the multipart data.
MimeMultipart() - Constructor for class javax.mail.internet.MimeMultipart
Default constructor.
MimeMultipart(String) - Constructor for class javax.mail.internet.MimeMultipart
Construct a MimeMultipart object of the given subtype.
MimeMultipart(DataSource) - Constructor for class javax.mail.internet.MimeMultipart
Constructs a MimeMultipart object and its bodyparts from the given DataSource.
MimePart - interface javax.mail.internet.MimePart.
The MimePart interface models an Entity as defined by MIME (RFC2045, Section 2.4).
MimePartDataSource - class javax.mail.internet.MimePartDataSource.
A utility class that implements a DataSource out of a MimePart.
MimePartDataSource(MimePart) - Constructor for class javax.mail.internet.MimePartDataSource
Constructor, that constructs a DataSource from a MimePart.
MimeUtility - class javax.mail.internet.MimeUtility.
This is a utility class that provides various MIME related functionality.
Multipart - class javax.mail.Multipart.
Multipart is a container that holds multiple body parts.
MultipartDataSource - interface javax.mail.MultipartDataSource.
MultipartDataSource is a DataSource that contains body parts.
match(SearchTerm) - Method in class javax.mail.Message
Apply the specified Search criterion to this message.
match(ContentType) - Method in class javax.mail.internet.ContentType
Match with the specified ContentType object.
match(String) - Method in class javax.mail.internet.ContentType
Match with the specified content-type string.
match(Message) - Method in class javax.mail.search.AndTerm
The AND operation.
match(Message) - Method in class javax.mail.search.BodyTerm
The match method.
match(Message) - Method in class javax.mail.search.FlagTerm
The comparison method.
match(Message) - Method in class javax.mail.search.FromStringTerm
Check whether the address string specified in the constructor is a substring of the From address of this Message.
match(Message) - Method in class javax.mail.search.FromTerm
The address comparator.
match(Message) - Method in class javax.mail.search.HeaderTerm
The header match method.
match(Message) - Method in class javax.mail.search.MessageIDTerm
The match method.
match(Message) - Method in class javax.mail.search.MessageNumberTerm
The match method.
match(Message) - Method in class javax.mail.search.NotTerm
 
match(Message) - Method in class javax.mail.search.OrTerm
The OR operation.
match(Message) - Method in class javax.mail.search.ReceivedDateTerm
The match method.
match(Message) - Method in class javax.mail.search.RecipientStringTerm
Check whether the address specified in the constructor is a substring of the recipient address of this Message.
match(Message) - Method in class javax.mail.search.RecipientTerm
The match method.
match(Message) - Method in class javax.mail.search.SearchTerm
This method applies a specific match criterion to the given message and returns the result.
match(Message) - Method in class javax.mail.search.SentDateTerm
The match method.
match(Message) - Method in class javax.mail.search.SizeTerm
The match method.
match(Message) - Method in class javax.mail.search.SubjectTerm
The match method.
messageChanged(MessageChangedEvent) - Method in interface javax.mail.event.MessageChangedListener
Invoked when a message is changed.
messageDelivered(TransportEvent) - Method in class javax.mail.event.TransportAdapter
 
messageDelivered(TransportEvent) - Method in interface javax.mail.event.TransportListener
Invoked when a Message is succesfully delivered.
messageNotDelivered(TransportEvent) - Method in class javax.mail.event.TransportAdapter
 
messageNotDelivered(TransportEvent) - Method in interface javax.mail.event.TransportListener
Invoked when a Message is not delivered.
messagePartiallyDelivered(TransportEvent) - Method in class javax.mail.event.TransportAdapter
 
messagePartiallyDelivered(TransportEvent) - Method in interface javax.mail.event.TransportListener
Invoked when a Message is partially delivered.
messagesAdded(MessageCountEvent) - Method in class javax.mail.event.MessageCountAdapter
 
messagesAdded(MessageCountEvent) - Method in interface javax.mail.event.MessageCountListener
Invoked when messages are added into a folder.
messagesRemoved(MessageCountEvent) - Method in class javax.mail.event.MessageCountAdapter
 
messagesRemoved(MessageCountEvent) - Method in interface javax.mail.event.MessageCountListener
Invoked when messages are removed (expunged) from a folder.
mimeCharset(String) - Static method in class javax.mail.internet.MimeUtility
Convert a java charset into its MIME charset name.

N

NE - Static variable in class javax.mail.search.ComparisonTerm
 
NEWSGROUPS - Static variable in class javax.mail.internet.MimeMessage.RecipientType
The "Newsgroup" (Usenet news) recipients.
NOTICE - Static variable in class javax.mail.event.StoreEvent
Indicates that this message is a NOTICE.
NewsAddress - class javax.mail.internet.NewsAddress.
This class models an RFC1036 newsgroup address.
NewsAddress() - Constructor for class javax.mail.internet.NewsAddress
Default constructor.
NewsAddress(String) - Constructor for class javax.mail.internet.NewsAddress
Construct a NewsAddress with the given newsgroup.
NewsAddress(String, String) - Constructor for class javax.mail.internet.NewsAddress
Construct a NewsAddress with the given newsgroup and host.
NoSuchProviderException - exception javax.mail.NoSuchProviderException.
This exception is thrown when Session attempts to instantiate a Provider that doesn't exist.
NoSuchProviderException() - Constructor for class javax.mail.NoSuchProviderException
Constructor.
NoSuchProviderException(String) - Constructor for class javax.mail.NoSuchProviderException
Constructor.
NotTerm - class javax.mail.search.NotTerm.
This class implements the logical NEGATION operator.
NotTerm(SearchTerm) - Constructor for class javax.mail.search.NotTerm
 
newStream(long, long) - Method in interface javax.mail.internet.SharedInputStream
Return a new InputStream representing a subset of the data from this InputStream, starting at start (inclusive) up to end (exclusive).
next() - Method in class javax.mail.internet.HeaderTokenizer
Parses the next token from this String.
notification(StoreEvent) - Method in interface javax.mail.event.StoreListener
Invoked when the Store generates a notification event.

O

OPENED - Static variable in class javax.mail.event.ConnectionEvent
A connection was opened.
OrTerm - class javax.mail.search.OrTerm.
This class implements the logical OR operator on individual SearchTerms.
OrTerm(SearchTerm, SearchTerm) - Constructor for class javax.mail.search.OrTerm
Constructor that takes two operands.
OrTerm(SearchTerm[]) - Constructor for class javax.mail.search.OrTerm
Constructor that takes an array of SearchTerms.
open(int) - Method in class javax.mail.Folder
Open this Folder.
opened(ConnectionEvent) - Method in class javax.mail.event.ConnectionAdapter
 
opened(ConnectionEvent) - Method in interface javax.mail.event.ConnectionListener
Invoked when a Store/Folder/Transport is opened.

P

ParameterList - class javax.mail.internet.ParameterList.
This class holds MIME parameters (attribute-value pairs).
ParameterList() - Constructor for class javax.mail.internet.ParameterList
No-arg Constructor.
ParameterList(String) - Constructor for class javax.mail.internet.ParameterList
Constructor that takes a parameter-list string.
ParseException - exception javax.mail.internet.ParseException.
The exception thrown due to an error in parsing RFC822 or MIME headers
ParseException() - Constructor for class javax.mail.internet.ParseException
Constructs a ParseException with no detail message.
ParseException(String) - Constructor for class javax.mail.internet.ParseException
Constructs a ParseException with the specified detail message.
Part - interface javax.mail.Part.
The Part interface is the common base interface for Messages and BodyParts.
PasswordAuthentication - class javax.mail.PasswordAuthentication.
The class PasswordAuthentication is a data holder that is used by Authenticator.
PasswordAuthentication(String, String) - Constructor for class javax.mail.PasswordAuthentication
Initialize a new PasswordAuthentication
Provider - class javax.mail.Provider.
The Provider is a class that describes a protocol implementation.
Provider.Type - class javax.mail.Provider.Type.
This inner class defines the Provider type.
parse(String) - Static method in class javax.mail.internet.InternetAddress
Parse the given comma separated sequence of addresses into InternetAddress objects.
parse(String, boolean) - Static method in class javax.mail.internet.InternetAddress
Parse the given sequence of addresses into InternetAddress objects.
parse(String, ParsePosition) - Method in class javax.mail.internet.MailDateFormat
Parses the given date in the format specified by draft-ietf-drums-msg-fmt-08 in the current TimeZone.
parse(String) - Static method in class javax.mail.internet.NewsAddress
Parse the given comma separated sequence of newsgroup into NewsAddress objects.
peek() - Method in class javax.mail.internet.HeaderTokenizer
Peek at the next token, without actually removing the token from the parse stream.

Q

QUOTEDSTRING - Static variable in class javax.mail.internet.HeaderTokenizer.Token
Token type indicating a quoted string.
quote(String, String) - Static method in class javax.mail.internet.MimeUtility
A utility method to quote a word, if the word contains any characters from the specified 'specials' list.

R

READ_ONLY - Static variable in class javax.mail.Folder
The Folder is read only.
READ_WRITE - Static variable in class javax.mail.Folder
The state and contents of this folder can be modified.
RECENT - Static variable in class javax.mail.Flags.Flag
This message is recent.
REMOVED - Static variable in class javax.mail.event.MessageCountEvent
The messages were removed from their folder
RENAMED - Static variable in class javax.mail.event.FolderEvent
The folder was renamed.
RFC822 - Static variable in class javax.mail.internet.HeaderTokenizer
RFC822 specials
ReadOnlyFolderException - exception javax.mail.ReadOnlyFolderException.
This exception is thrown when an attempt is made to open a folder read-write access when the folder is marked read-only.
ReadOnlyFolderException(Folder) - Constructor for class javax.mail.ReadOnlyFolderException
Constructs a MessagingException with the specified folder.
ReadOnlyFolderException(Folder, String) - Constructor for class javax.mail.ReadOnlyFolderException
Constructs a MessagingException with the specified folder and the specified detail message.
ReceivedDateTerm - class javax.mail.search.ReceivedDateTerm.
This class implements comparisons for the Message Received date
ReceivedDateTerm(int, Date) - Constructor for class javax.mail.search.ReceivedDateTerm
Constructor.
RecipientStringTerm - class javax.mail.search.RecipientStringTerm.
This class implements string comparisons for the Recipient Address headers.
RecipientStringTerm(Message.RecipientType, String) - Constructor for class javax.mail.search.RecipientStringTerm
Constructor.
RecipientTerm - class javax.mail.search.RecipientTerm.
This class implements comparisons for the Recipient Address headers.
RecipientTerm(Message.RecipientType, Address) - Constructor for class javax.mail.search.RecipientTerm
Constructor.
remove(Flags.Flag) - Method in class javax.mail.Flags
Remove the specified system flag from this Flags object.
remove(String) - Method in class javax.mail.Flags
Remove the specified user flag from this Flags object.
remove(Flags) - Method in class javax.mail.Flags
Remove all flags in the given Flags object from this Flags object.
remove(String) - Method in class javax.mail.internet.ParameterList
Removes the specified parameter from this ParameterList.
removeBodyPart(BodyPart) - Method in class javax.mail.Multipart
Remove the specified part from the multipart message.
removeBodyPart(int) - Method in class javax.mail.Multipart
Remove the part at specified location (starting from 0).
removeConnectionListener(ConnectionListener) - Method in class javax.mail.Folder
Remove a Connection event listener.
removeConnectionListener(ConnectionListener) - Method in class javax.mail.Service
Remove a Connection event listener.
removeFolderListener(FolderListener) - Method in class javax.mail.Folder
Remove a Folder event listener.
removeFolderListener(FolderListener) - Method in class javax.mail.Store
Remove a listener for Folder events.
removeHeader(String) - Method in interface javax.mail.Part
Remove all headers with this name.
removeHeader(String) - Method in class javax.mail.internet.InternetHeaders
Remove all header entries that match the given name
removeHeader(String) - Method in class javax.mail.internet.MimeBodyPart
Remove all headers with this name.
removeHeader(String) - Method in class javax.mail.internet.MimeMessage
Remove all headers with this name.
removeMessageChangedListener(MessageChangedListener) - Method in class javax.mail.Folder
Remove a MessageChanged listener.
removeMessageCountListener(MessageCountListener) - Method in class javax.mail.Folder
Remove a MessageCount listener.
removeStoreListener(StoreListener) - Method in class javax.mail.Store
Remove a listener for Store events.
removeTransportListener(TransportListener) - Method in class javax.mail.Transport
Remove a listener for Transport events.
renameTo(Folder) - Method in class javax.mail.Folder
Rename this Folder.
reply(boolean) - Method in class javax.mail.Message
Get a new Message suitable for a reply to this message.
reply(boolean) - Method in class javax.mail.internet.MimeMessage
Get a new Message suitable for a reply to this message.
requestPasswordAuthentication(InetAddress, int, String, String, String) - Method in class javax.mail.Session
Call back to the application to get the needed user name and password.

S

SEEN - Static variable in class javax.mail.Flags.Flag
This message is seen.
STORE - Static variable in class javax.mail.Provider.Type
 
SearchException - exception javax.mail.search.SearchException.
The exception thrown when a Search expression could not be handled.
SearchException() - Constructor for class javax.mail.search.SearchException
Constructs a SearchException with no detail message.
SearchException(String) - Constructor for class javax.mail.search.SearchException
Constructs a SearchException with the specified detail message.
SearchTerm - class javax.mail.search.SearchTerm.
Search criteria are expressed as a tree of search-terms, forming a parse-tree for the search expression.
SearchTerm() - Constructor for class javax.mail.search.SearchTerm
 
SendFailedException - exception javax.mail.SendFailedException.
This exception is thrown when the message cannot be sent.
SendFailedException() - Constructor for class javax.mail.SendFailedException
Constructs a SendFailedException with no detail message.
SendFailedException(String) - Constructor for class javax.mail.SendFailedException
Constructs a SendFailedException with the specified detail message.
SendFailedException(String, Exception) - Constructor for class javax.mail.SendFailedException
Constructs a SendFailedException with the specified Exception and detail message.
SendFailedException(String, Exception, Address[], Address[], Address[]) - Constructor for class javax.mail.SendFailedException
Constructs a SendFailedException with the specified string and the specified address objects.
SentDateTerm - class javax.mail.search.SentDateTerm.
This class implements comparisons for the Message SentDate.
SentDateTerm(int, Date) - Constructor for class javax.mail.search.SentDateTerm
Constructor.
Service - class javax.mail.Service.
An abstract class that contains the functionality common to messaging services, such as stores and transports.
Session - class javax.mail.Session.
The Session class represents a mail session and is not subclassed.
SharedInputStream - interface javax.mail.internet.SharedInputStream.
An InputStream that is backed by data that can be shared by multiple readers may implement this interface.
SizeTerm - class javax.mail.search.SizeTerm.
This class implements comparisons for Message sizes.
SizeTerm(int, int) - Constructor for class javax.mail.search.SizeTerm
Constructor.
Store - class javax.mail.Store.
An abstract class that models a message store and its access protocol, for storing and retrieving messages.
StoreClosedException - exception javax.mail.StoreClosedException.
This exception is thrown when a method is invoked on a Messaging object and the Store that owns that object has died due to some reason.
StoreClosedException(Store) - Constructor for class javax.mail.StoreClosedException
Constructor
StoreClosedException(Store, String) - Constructor for class javax.mail.StoreClosedException
Constructor
StoreEvent - class javax.mail.event.StoreEvent.
This class models notifications from the Store connection.
StoreEvent(Store, int, String) - Constructor for class javax.mail.event.StoreEvent
Constructor.
StoreListener - interface javax.mail.event.StoreListener.
This is the Listener interface for Store Notifications.
StringTerm - class javax.mail.search.StringTerm.
This class implements the match method for Strings.
SubjectTerm - class javax.mail.search.SubjectTerm.
This class implements comparisons for the Message Subject header.
SubjectTerm(String) - Constructor for class javax.mail.search.SubjectTerm
Constructor.
saveChanges() - Method in class javax.mail.Message
Save any changes made to this message into the message-store when the containing folder is closed, if the message is contained in a folder.
saveChanges() - Method in class javax.mail.internet.MimeMessage
Updates the appropriate header fields of this message to be consistent with the message's contents.
search(SearchTerm) - Method in class javax.mail.Folder
Search this Folder for messages matching the specified search criterion.
search(SearchTerm, Message[]) - Method in class javax.mail.Folder
Search the given array of messages for those that match the specified search criterion.
send(Message) - Static method in class javax.mail.Transport
Send a message.
send(Message, Address[]) - Static method in class javax.mail.Transport
Send the message to the specified addresses, ignoring any recipients specified in the message itself.
sendMessage(Message, Address[]) - Method in class javax.mail.Transport
Send the Message to the specified list of addresses.
set(String, String) - Method in class javax.mail.internet.ParameterList
Set a parameter.
setAddress(String) - Method in class javax.mail.internet.InternetAddress
Set the email address.
setCalendar(Calendar) - Method in class javax.mail.internet.MailDateFormat
Don't allow setting the calendar
setContent(Object, String) - Method in interface javax.mail.Part
A convenience method for setting this part's content.
setContent(Multipart) - Method in interface javax.mail.Part
This method sets the given Multipart object as this message's content.
setContent(Object, String) - Method in class javax.mail.internet.MimeBodyPart
A convenience method for setting this body part's content.
setContent(Multipart) - Method in class javax.mail.internet.MimeBodyPart
This method sets the body part's content to a Multipart object.
setContent(Object, String) - Method in class javax.mail.internet.MimeMessage
A convenience method for setting this Message's content.
setContent(Multipart) - Method in class javax.mail.internet.MimeMessage
This method sets the Message's content to a Multipart object.
setContentID(String) - Method in class javax.mail.internet.MimeMessage
Set the "Content-ID" header field of this Message.
setContentLanguage(String[]) - Method in class javax.mail.internet.MimeBodyPart
Set the Content-Language header of this MimePart.
setContentLanguage(String[]) - Method in class javax.mail.internet.MimeMessage
Set the "Content-Language" header of this MimePart.
setContentLanguage(String[]) - Method in interface javax.mail.internet.MimePart
Set the Content-Language header of this MimePart.
setContentMD5(String) - Method in class javax.mail.internet.MimeBodyPart
Set the "Content-MD5" header field of this body part.
setContentMD5(String) - Method in class javax.mail.internet.MimeMessage
Set the "Content-MD5" header field of this Message.
setContentMD5(String) - Method in interface javax.mail.internet.MimePart
Set the Content-MD5 of this part.
setDataHandler(DataHandler) - Method in interface javax.mail.Part
This method provides the mechanism to set this part's content.
setDataHandler(DataHandler) - Method in class javax.mail.internet.MimeBodyPart
This method provides the mechanism to set this body part's content.
setDataHandler(DataHandler) - Method in class javax.mail.internet.MimeMessage
This method provides the mechanism to set this part's content.
setDebug(boolean) - Method in class javax.mail.Session
Set the debug setting for this Session.
setDescription(String) - Method in interface javax.mail.Part
Set a description String for this part.
setDescription(String) - Method in class javax.mail.internet.MimeBodyPart
Set the "Content-Description" header field for this body part.
setDescription(String, String) - Method in class javax.mail.internet.MimeBodyPart
Set the "Content-Description" header field for this body part.
setDescription(String) - Method in class javax.mail.internet.MimeMessage
Set the "Content-Description" header field for this Message.
setDescription(String, String) - Method in class javax.mail.internet.MimeMessage
Set the "Content-Description" header field for this Message.
setDisposition(String) - Method in interface javax.mail.Part
Set the disposition of this part.
setDisposition(String) - Method in class javax.mail.internet.ContentDisposition
Set the primary type.
setDisposition(String) - Method in class javax.mail.internet.MimeBodyPart
Set the "Content-Disposition" header field of this body part.
setDisposition(String) - Method in class javax.mail.internet.MimeMessage
Set the "Content-Disposition" header field of this Message.
setFileName(String) - Method in interface javax.mail.Part
Set the filename associated with this part, if possible.
setFileName(String) - Method in class javax.mail.internet.MimeBodyPart
Set the filename associated with this body part, if possible.
setFileName(String) - Method in class javax.mail.internet.MimeMessage
Set the filename associated with this part, if possible.
setFlag(Flags.Flag, boolean) - Method in class javax.mail.Message
Set the specified flag on this message to the specified value.
setFlags(Message[], Flags, boolean) - Method in class javax.mail.Folder
Set the specified flags on the messages specified in the array.
setFlags(int, int, Flags, boolean) - Method in class javax.mail.Folder
Set the specified flags on the messages numbered from start through end, both start and end inclusive.
setFlags(int[], Flags, boolean) - Method in class javax.mail.Folder
Set the specified flags on the messages whose message numbers are in the array.
setFlags(Flags, boolean) - Method in class javax.mail.Message
Set the specified flags on this message to the specified value.
setFlags(Flags, boolean) - Method in class javax.mail.internet.MimeMessage
Set the flags for this message.
setFrom() - Method in class javax.mail.Message
Set the "From" attribute in this Message.
setFrom(Address) - Method in class javax.mail.Message
Set the "From" attribute in this Message.
setFrom(Address) - Method in class javax.mail.internet.MimeMessage
Set the RFC 822 "From" header field.
setFrom() - Method in class javax.mail.internet.MimeMessage
Set the RFC 822 "From" header field using the value of the InternetAddress.getLocalAddress method.
setHeader(String, String) - Method in interface javax.mail.Part
Set the value for this header_name.
setHeader(String, String) - Method in class javax.mail.internet.InternetHeaders
Change the first header line that matches name to have value, adding a new header if no existing header matches.
setHeader(String, String) - Method in class javax.mail.internet.MimeBodyPart
Set the value for this header_name.
setHeader(String, String) - Method in class javax.mail.internet.MimeMessage
Set the value for this header_name.
setHost(String) - Method in class javax.mail.internet.NewsAddress
Set the host.
setNewsgroup(String) - Method in class javax.mail.internet.NewsAddress
Set the newsgroup.
setNextException(Exception) - Method in class javax.mail.MessagingException
Add an exception to the end of the chain.
setNumberFormat(NumberFormat) - Method in class javax.mail.internet.MailDateFormat
Don't allow setting the NumberFormat
setParameter(String, String) - Method in class javax.mail.internet.ContentDisposition
Set the specified parameter.
setParameter(String, String) - Method in class javax.mail.internet.ContentType
Set the specified parameter.
setParameterList(ParameterList) - Method in class javax.mail.internet.ContentDisposition
Set a new ParameterList.
setParameterList(ParameterList) - Method in class javax.mail.internet.ContentType
Set a new ParameterList.
setParent(Part) - Method in class javax.mail.Multipart
Set the parent of this Multipart to be the specified Part.
setPasswordAuthentication(URLName, PasswordAuthentication) - Method in class javax.mail.Session
Save a PasswordAuthentication for this (store or transport) URLName.
setPersonal(String, String) - Method in class javax.mail.internet.InternetAddress
Set the personal name.
setPersonal(String) - Method in class javax.mail.internet.InternetAddress
Set the personal name.
setPrimaryType(String) - Method in class javax.mail.internet.ContentType
Set the primary type.
setProvider(Provider) - Method in class javax.mail.Session
Set the passed Provider to be the default implementation for the protocol in Provider.protocol overriding any previous values.
setRecipient(Message.RecipientType, Address) - Method in class javax.mail.Message
Set the recipient address.
setRecipients(Message.RecipientType, Address[]) - Method in class javax.mail.Message
Set the recipient addresses.
setRecipients(Message.RecipientType, Address[]) - Method in class javax.mail.internet.MimeMessage
Set the specified recipient type to the given addresses.
setRecipients(Message.RecipientType, String) - Method in class javax.mail.internet.MimeMessage
Set the specified recipient type to the given addresses.
setReplyTo(Address[]) - Method in class javax.mail.Message
Set the addresses to which replies should be directed.
setReplyTo(Address[]) - Method in class javax.mail.internet.MimeMessage
Set the RFC 822 "Reply-To" header field.
setSentDate(Date) - Method in class javax.mail.Message
Set the sent date of this message.
setSentDate(Date) - Method in class javax.mail.internet.MimeMessage
Set the RFC 822 "Date" header field.
setSubType(String) - Method in class javax.mail.internet.ContentType
Set the subType.
setSubType(String) - Method in class javax.mail.internet.MimeMultipart
Set the subtype.
setSubject(String) - Method in class javax.mail.Message
Set the subject of this message.
setSubject(String) - Method in class javax.mail.internet.MimeMessage
Set the "Subject" header field.
setSubject(String, String) - Method in class javax.mail.internet.MimeMessage
Set the "Subject" header field.
setSubscribed(boolean) - Method in class javax.mail.Folder
Subscribe or unsubscribe this Folder.
setText(String) - Method in interface javax.mail.Part
A convenience method that sets the given String as this part's content with a MIME type of "text/plain".
setText(String) - Method in class javax.mail.internet.MimeBodyPart
Convenience method that sets the given String as this part's content, with a MIME type of "text/plain".
setText(String, String) - Method in class javax.mail.internet.MimeBodyPart
Convenience method that sets the given String as this part's content, with a MIME type of "text/plain" and the specified charset.
setText(String) - Method in class javax.mail.internet.MimeMessage
Convenience method that sets the given String as this part's content, with a MIME type of "text/plain".
setText(String, String) - Method in class javax.mail.internet.MimeMessage
Convenience method that sets the given String as this part's content, with a MIME type of "text/plain" and the specified charset.
setText(String) - Method in interface javax.mail.internet.MimePart
Convenience method that sets the given String as this part's content, with a MIME type of "text/plain".
setText(String, String) - Method in interface javax.mail.internet.MimePart
Convenience method that sets the given String as this part's content, with a MIME type of "text/plain" and the specified charset.
size() - Method in class javax.mail.internet.ParameterList
Return the number of parameters in this list.

T

TO - Static variable in class javax.mail.Message.RecipientType
The "To" (primary) recipients.
TRANSPORT - Static variable in class javax.mail.Provider.Type
 
Transport - class javax.mail.Transport.
An abstract class that models a message transport.
Transport(Session, URLName) - Constructor for class javax.mail.Transport
Constructor.
TransportAdapter - class javax.mail.event.TransportAdapter.
The adapter which receives Transport events.
TransportAdapter() - Constructor for class javax.mail.event.TransportAdapter
 
TransportEvent - class javax.mail.event.TransportEvent.
This class models Transport events.
TransportEvent(Transport, int, Address[], Address[], Address[], Message) - Constructor for class javax.mail.event.TransportEvent
Constructor.
TransportListener - interface javax.mail.event.TransportListener.
This is the Listener interface for Transport events
toString() - Method in class javax.mail.Address
Return a String representation of this address object.
toString() - Method in class javax.mail.Folder
override the default toString(), it will return the String from Folder.getFullName() or if that is null, it will use the default toString() behavior.
toString() - Method in class javax.mail.Provider
Overrides Object.toString()
toString() - Method in class javax.mail.Service
Return getURLName.toString() if this service has a URLName, otherwise it will return the default toString.
toString() - Method in class javax.mail.URLName
Constructs a string representation of this URLName.
toString() - Method in class javax.mail.internet.AddressException
 
toString() - Method in class javax.mail.internet.ContentDisposition
Retrieve a RFC2045 style string representation of this ContentDisposition.
toString() - Method in class javax.mail.internet.ContentType
Retrieve a RFC2045 style string representation of this Content-Type.
toString() - Method in class javax.mail.internet.InternetAddress
Convert this address into a RFC 822 / RFC 2047 encoded address.
toString(Address[]) - Static method in class javax.mail.internet.InternetAddress
Convert the given array of InternetAddress objects into a comma separated sequence of address strings.
toString(Address[], int) - Static method in class javax.mail.internet.InternetAddress
Convert the given array of InternetAddress objects into a comma separated sequence of address strings.
toString() - Method in class javax.mail.internet.NewsAddress
Convert this address into a RFC 1036 address.
toString(Address[]) - Static method in class javax.mail.internet.NewsAddress
Convert the given array of NewsAddress objects into a comma separated sequence of address strings.
toString() - Method in class javax.mail.internet.ParameterList
Convert this ParameterList into a MIME String.
toString(int) - Method in class javax.mail.internet.ParameterList
Convert this ParameterList into a MIME String.
toUnicodeString() - Method in class javax.mail.internet.InternetAddress
Returns a properly formatted address (RFC 822 syntax) of Unicode characters.

U

UID - Static variable in class javax.mail.UIDFolder.FetchProfileItem
UID is a fetch profile item that can be included in a FetchProfile during a fetch request to a Folder.
UIDFolder - interface javax.mail.UIDFolder.
The UIDFolder interface is implemented by Folders that can support the "disconnected" mode of operation, by providing unique-ids for messages in the folder.
UIDFolder.FetchProfileItem - class javax.mail.UIDFolder.FetchProfileItem.
A fetch profile item for fetching UIDs.
URLName - class javax.mail.URLName.
The name of a URL.
URLName(String, String, int, String, String, String) - Constructor for class javax.mail.URLName
Creates a URLName object from the specified protocol, host, port number, file, username, and password.
URLName(URL) - Constructor for class javax.mail.URLName
Construct a URLName from a java.net.URL object.
URLName(String) - Constructor for class javax.mail.URLName
Construct a URLName from the string.
USER - Static variable in class javax.mail.Flags.Flag
A special flag that indicates that this folder supports user defined flags.

W

writeTo(OutputStream) - Method in class javax.mail.Multipart
Output an appropriately encoded bytestream to the given OutputStream.
writeTo(OutputStream) - Method in interface javax.mail.Part
Output a bytestream for this Part.
writeTo(OutputStream) - Method in class javax.mail.internet.MimeBodyPart
Output the body part as an RFC 822 format stream.
writeTo(OutputStream) - Method in class javax.mail.internet.MimeMessage
Output the message as an RFC 822 format stream.
writeTo(OutputStream, String[]) - Method in class javax.mail.internet.MimeMessage
Output the message as an RFC 822 format stream, without specified headers.
writeTo(OutputStream) - Method in class javax.mail.internet.MimeMultipart
Iterates through all the parts and outputs each Mime part separated by a boundary.

A B C D E F G H I J L M N O P Q R S T U W