Alphabetical Index

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

A

ACL - class com.sun.mail.imap.ACL
An access control list entry for a particular authentication identifier (user or group).
ACL(String) - constructor for class com.sun.mail.imap.ACL
Construct an ACL entry for the given identifier and with no rights.
ACL(String,Rights) - constructor for class com.sun.mail.imap.ACL
Construct an ACL entry for the given identifier with the given rights.
add(com.sun.mail.imap.Rights.Right) - method in class com.sun.mail.imap.Rights
Add the specified right to this Rights object.
add(Flags) - method in class javax.mail.Flags
Add all the flags in the given Flags object to this Flags object.
add(javax.mail.FetchProfile.Item) - method in class javax.mail.FetchProfile
Add the given special item as one of the attributes to be prefetched.
add(javax.mail.Flags.Flag) - method in class javax.mail.Flags
Add the specified system flag to this Flags object.
add(Rights) - method in class com.sun.mail.imap.Rights
Add all the rights in the given Rights object to this Rights object.
add(String) - method in class javax.mail.FetchProfile
Add the specified header-field to the list of attributes to be prefetched.
add(String) - method in class javax.mail.Flags
Add the specified user flag to this Flags object.
addACL(ACL) - method in class com.sun.mail.imap.IMAPFolder
Add an access control list entry to the access control list for this folder.
addBodyPart(BodyPart) - method in class javax.mail.Multipart
Adds a Part to the multipart.
addBodyPart(BodyPart) - method in class com.sun.mail.dsn.MultipartReport
Adds a Part to the multipart.
addBodyPart(BodyPart,int) - method in class javax.mail.Multipart
Adds a BodyPart at position index.
addBodyPart(BodyPart,int) - method in class com.sun.mail.dsn.MultipartReport
Adds a BodyPart at position index.
Add a listener for Connection events on this Folder.
Add a listener for Connection events on this service.
ADDED - static field in class javax.mail.event.MessageCountEvent
The messages were added to their folder
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 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.
addHeader(String,String) - method in class javax.mail.Part
Add this value to the existing values for this header_name.
addHeader(String,String) - method in class com.sun.mail.pop3.POP3Message
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 class javax.mail.internet.MimePart
Add a raw RFC822 header-line.
addHeaderLine(String) - method in class com.sun.mail.pop3.POP3Message
Add a raw RFC822 header-line.
Add a listener for MessageChanged events on this Folder.
Add a listener for MessageCount events on this Folder.
addMessages(Message[]) - method in class com.sun.mail.imap.IMAPFolder
Append the given messages into this folder.
addProvider(Provider) - method in class javax.mail.Session
Add a provider to the session.
addr - field in class com.sun.mail.smtp.SMTPAddressFailedException
addr - field in class com.sun.mail.smtp.SMTPAddressSucceededException
addr - field in class com.sun.mail.smtp.SMTPSendFailedException
Add this recipient address to the existing ones of the given type.
addRecipientDSN(InternetHeaders) - method in class com.sun.mail.dsn.DeliveryStatus
Add deliver status notification information for another recipient.
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.
address - field in class javax.mail.search.AddressTerm
The address.
address - field in class javax.mail.internet.InternetAddress
Address - class javax.mail.Address
This abstract class models the addresses in a message.
AddressException - class 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.
AddressStringTerm(String) - constructor for class javax.mail.search.AddressStringTerm
Constructor.
AddressTerm - class javax.mail.search.AddressTerm
This class implements Message Address comparisons.
AddressTerm(Address) - constructor for class javax.mail.search.AddressTerm
addRights(ACL) - method in class com.sun.mail.imap.IMAPFolder
Add the rights specified in the ACL to the entry for the identifier specified in the ACL.
addStoreListener(StoreListener) - method in class javax.mail.Store
Add a listener for StoreEvents on this Store.
Add a listener for Transport events.
ALERT - static field in class javax.mail.event.StoreEvent
Indicates that this message is an ALERT.
ALL - static field in class javax.mail.internet.MimeUtility
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.
appendMessages(Message[]) - method in class javax.mail.Folder
Append given Messages to this folder.
appendMessages(Message[]) - method in class com.sun.mail.imap.IMAPFolder
Append the given messages into this folder.
appendMessages(Message[]) - method in class com.sun.mail.pop3.POP3Folder
Always throws MethodNotSupportedException because the POP3 protocol doesn't support appending messages.
appendUIDMessages(Message[]) - method in class com.sun.mail.imap.IMAPFolder
Append the given messages into this folder.
attachFile(File) - method in class javax.mail.internet.MimeBodyPart
Use the specified file to provide the data for this part.
attachFile(String) - method in class javax.mail.internet.MimeBodyPart
Use the specified file to provide the data for this part.
ATTACHMENT - static field in class javax.mail.Part
This part should be presented as an attachment.
attributes - field in class com.sun.mail.imap.IMAPFolder
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).
Constructor
Constructor
Authenticator - class javax.mail.Authenticator
The class Authenticator represents an object that knows how to obtain authentication for a network connection.
available() - method in class javax.mail.util.SharedFileInputStream
Returns the number of bytes that can be read from this input stream without blocking.
availableFlags - field in class com.sun.mail.imap.IMAPFolder

B

BodyPart - class javax.mail.BodyPart
This class models a Part that is contained within a Multipart.
BodyTerm - class javax.mail.search.BodyTerm
This class implements searches on a Message Body.
BodyTerm(String) - constructor for class javax.mail.search.BodyTerm
Constructor
bufpos - field in class javax.mail.util.SharedFileInputStream
The file offset that corresponds to the first byte in the read buffer.
bufsize - field in class javax.mail.util.SharedFileInputStream
The normal size of the read buffer.
A DataSource backed by a byte array.
ByteArrayDataSource(byte[],String) - constructor for class javax.mail.util.ByteArrayDataSource
Create a ByteArrayDataSource with data from the specified byte array and with the specified MIME type.
ByteArrayDataSource(InputStream,String) - constructor for class javax.mail.util.ByteArrayDataSource
Create a ByteArrayDataSource with data from the specified InputStream and with the specified MIME type.
ByteArrayDataSource(String,String) - constructor for class javax.mail.util.ByteArrayDataSource
Create a ByteArrayDataSource with data from the specified String and with the specified MIME type.

C

clone() - method in class com.sun.mail.imap.ACL
Clone this ACL entry.
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.
clone() - method in class com.sun.mail.imap.Rights
Returns a clone of this Rights object.
close() - method in class com.sun.mail.imap.IMAPStore
Close this Store.
close() - method in class com.sun.mail.pop3.POP3Store
close() - method in class javax.mail.Service
Close this service and terminate its connection.
close() - method in class javax.mail.util.SharedFileInputStream
Closes this input stream and releases any system resources associated with the stream.
close() - method in class com.sun.mail.smtp.SMTPTransport
Close the server and terminate its connection
close(boolean) - method in class javax.mail.Folder
Close this Folder.
close(boolean) - method in class com.sun.mail.imap.IMAPFolder
Close this folder.
close(boolean) - method in class com.sun.mail.pop3.POP3Folder
CLOSED - static field in class javax.mail.event.ConnectionEvent
A connection was closed.
closed(ConnectionEvent) - method in class javax.mail.event.ConnectionAdapter
closed(ConnectionEvent) - method in class javax.mail.event.ConnectionListener
Invoked when a Store/Folder/Transport is closed.
cmd - field in class com.sun.mail.smtp.SMTPAddressFailedException
cmd - field in class com.sun.mail.smtp.SMTPAddressSucceededException
cmd - field in class com.sun.mail.smtp.SMTPSendFailedException
comparison - field in class javax.mail.search.ComparisonTerm
The comparison.
ComparisonTerm - class javax.mail.search.ComparisonTerm
This class models the comparison operator.
connect() - method in class javax.mail.Service
A generic connect method that takes no parameters.
connect(Socket) - method in class com.sun.mail.smtp.SMTPTransport
Start the SMTP protocol on the given socket, which was already connected by the caller.
connect(String,int,String,String) - method in class javax.mail.Service
Similar to connect(host, user, password) except a specific port can be specified.
connect(String,String) - method in class javax.mail.Service
Connect to the current host using the specified username and password.
connect(String,String,String) - method in class javax.mail.Service
Connect to the specified address.
ConnectionAdapter - class javax.mail.event.ConnectionAdapter
The adapter which receives connection events.
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.
constructed - field in class com.sun.mail.dsn.MultipartReport
contains(com.sun.mail.imap.Rights.Right) - method in class com.sun.mail.imap.Rights
Check whether the specified right is present in this Rights 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.
Returns true if the fetch profile contains given special item.
contains(javax.mail.Flags.Flag) - method in class javax.mail.Flags
Check whether the specified system flag is present in this Flags object.
contains(Rights) - method in class com.sun.mail.imap.Rights
Check whether all the rights in the specified Rights object are present in this Rights object.
contains(String) - method in class javax.mail.FetchProfile
Returns true if the fetch profile contains given header name.
contains(String) - method in class javax.mail.Flags
Check whether the specified user flag is present in this Flags object.
content - field in class javax.mail.internet.MimeBodyPart
Byte array that holds the bytes of the content of this Part.
content - field in class javax.mail.internet.MimeMessage
Byte array that holds the bytes of this Message's content.
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) - constructor for class javax.mail.internet.ContentDisposition
Constructor that takes a ContentDisposition string.
ContentDisposition(String,ParameterList) - constructor for class javax.mail.internet.ContentDisposition
Constructor.
contentStream - field in class javax.mail.internet.MimeBodyPart
If the data for this body part was supplied by an InputStream that implements the SharedInputStream interface, contentStream is another such stream representing the content of this body part.
contentStream - field in class javax.mail.internet.MimeMessage
If the data for this message was supplied by an InputStream that implements the SharedInputStream interface, contentStream is another such stream representing the content of this message.
ContentType - class javax.mail.internet.ContentType
This class represents a MIME ContentType value.
contentType - field in class javax.mail.Multipart
This field specifies the content-type of this multipart object.
ContentType() - constructor for class javax.mail.internet.ContentType
No-arg Constructor.
ContentType(String) - constructor for class javax.mail.internet.ContentType
Constructor that takes a Content-Type string.
ContentType(String,String,ParameterList) - constructor for class javax.mail.internet.ContentType
Constructor.
copyMessages(Message[],Folder) - method in class javax.mail.Folder
Copy the specified Messages from this Folder into another Folder.
copyMessages(Message[],Folder) - method in class com.sun.mail.imap.IMAPFolder
Copy the specified messages from this folder, to the specified destination.
create(int) - method in class javax.mail.Folder
Create this folder on the Store.
create(int) - method in class com.sun.mail.imap.IMAPFolder
Create this folder, with the specified type.
create(int) - method in class com.sun.mail.pop3.POP3Folder
Always returns false; the POP3 protocol doesn't support creating folders.
CREATED - static field in class javax.mail.event.FolderEvent
The folder was created.
createInternetHeaders(InputStream) - method in class javax.mail.internet.MimeMessage
Create and return an InternetHeaders object that loads the headers from the given InputStream.
createInternetHeaders(InputStream) - method in class javax.mail.internet.MimeMultipart
Create and return an InternetHeaders object that loads the headers from the given InputStream.
createMessage(Folder,int) - method in class com.sun.mail.pop3.POP3Folder
createMimeBodyPart(InputStream) - method in class javax.mail.internet.MimeMultipart
Create and return a MimeBodyPart object to represent a body part parsed from the InputStream.
createMimeBodyPart(InternetHeaders,byte[]) - method in class javax.mail.internet.MimeMultipart
Create and return a MimeBodyPart object to represent a body part parsed from the InputStream.
createMimeMessage(Session) - method in class javax.mail.internet.MimeMessage
Create and return a MimeMessage object.

D

datalen - field in class javax.mail.util.SharedFileInputStream
The amount of data in this subset of the file.
date - field in class javax.mail.search.DateTerm
The date.
DateTerm - class javax.mail.search.DateTerm
This class implements comparisons for Dates
DateTerm(int,Date) - constructor for class javax.mail.search.DateTerm
Constructor.
debug - field in class javax.mail.Service
Debug flag for this service.
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.
delete(boolean) - method in class com.sun.mail.imap.IMAPFolder
Delete this folder.
delete(boolean) - method in class com.sun.mail.pop3.POP3Folder
Always throws MethodNotSupportedException because the POP3 protocol doesn't allow the INBOX to be deleted.
DELETED - static field in class javax.mail.event.FolderEvent
The folder was deleted.
DeliveryStatus - class com.sun.mail.dsn.DeliveryStatus
A message/delivery-status message content, as defined in RFC 3464.
DeliveryStatus() - constructor for class com.sun.mail.dsn.DeliveryStatus
Construct a delivery status notification with no content.
DeliveryStatus(InputStream) - constructor for class com.sun.mail.dsn.DeliveryStatus
Construct a delivery status notification by parsing the supplied input stream.
dh - field in class javax.mail.internet.MimeBodyPart
The DataHandler object representing this Part's content.
dh - field in class javax.mail.internet.MimeMessage
The DataHandler object representing this Message's content.
DISCONNECTED - static field in class javax.mail.event.ConnectionEvent
A connection was disconnected (not currently used).
disconnected(ConnectionEvent) - method in class javax.mail.event.ConnectionAdapter
disconnected(ConnectionEvent) - method in class 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.
Execute a user-supplied IMAP command.
ds - field in class javax.mail.internet.MimeMultipart
The DataSource supplying our InputStream.

E

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.
encodedPersonal - field in class javax.mail.internet.InternetAddress
The RFC 2047 encoded version of the personal name.
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.
enqueue(MailEvent,Vector) - method in class javax.mail.EventQueue
Enqueue an event.
ENVELOPE_CHANGED - static field in class javax.mail.event.MessageChangedEvent
The message's envelope (headers, but not body) changed.
EQ - static field in class javax.mail.search.ComparisonTerm
equals(Object) - method in class javax.mail.Address
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.Flags
Check whether the two Flags objects are equal.
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.internet.InternetAddress
The equality operator.
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.internet.NewsAddress
The equality operator.
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 com.sun.mail.imap.Rights
Check whether the two Rights objects are equal.
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.
equals(Object) - method in class javax.mail.URLName
Compares two URLNames.
EventQueue - class javax.mail.EventQueue
Package private class used by Store & Folder to dispatch events.
EventQueue() - constructor for class javax.mail.EventQueue
exists - field in class com.sun.mail.imap.IMAPFolder
exists() - method in class javax.mail.Folder
Tests if this folder physically exists on the Store.
exists() - method in class com.sun.mail.imap.IMAPFolder
Check whether this folder really exists on the server.
exists() - method in class com.sun.mail.pop3.POP3Folder
Always true for the folder "INBOX", always false for any other name.
expunge() - method in class javax.mail.Folder
Expunge (permanently remove) messages marked DELETED.
expunge() - method in class com.sun.mail.imap.IMAPFolder
Expunge all messages marked as DELETED.
expunge() - method in class com.sun.mail.pop3.POP3Folder
Always throws MethodNotSupportedException because the POP3 protocol doesn't support expunging messages without closing the folder; call the close method with the expunge argument set to true instead.
expunge(Message[]) - method in class com.sun.mail.imap.IMAPFolder
Expunge the indicated messages, which must have been marked as DELETED.
expunged - field in class javax.mail.Message
True if this message has been expunged.

F

fetch(Message[],FetchProfile) - method in class javax.mail.Folder
Prefetch the items specified in the FetchProfile for the given Messages.
fetch(Message[],FetchProfile) - method in class com.sun.mail.imap.IMAPFolder
Prefetch attributes, based on the given FetchProfile.
fetch(Message[],FetchProfile) - method in class com.sun.mail.pop3.POP3Folder
Prefetch information about POP3 messages.
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.
finalize() - method in class javax.mail.Folder
finalize() - method in class com.sun.mail.imap.IMAPStore
finalize() - method in class com.sun.mail.pop3.POP3Folder
Close the folder when we're finalized.
finalize() - method in class com.sun.mail.pop3.POP3Store
finalize() - method in class javax.mail.Service
Stop the event dispatcher thread so the queue can be garbage collected.
finalize() - method in class javax.mail.util.SharedFileInputStream
Force this stream to close.
finalize() - method in class com.sun.mail.smtp.SMTPTransport
flags - field in class javax.mail.search.FlagTerm
Flags object containing the flags to test.
Flags - class javax.mail.Flags
The Flags class represents the set of flags on a Message.
flags - field in class javax.mail.internet.MimeMessage
The Flags for this 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(javax.mail.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_CHANGED - static field in class javax.mail.event.MessageChangedEvent
The message's flags changed.
FlagTerm - class javax.mail.search.FlagTerm
This class implements comparisons for Message Flags.
FlagTerm(Flags,boolean) - constructor for class javax.mail.search.FlagTerm
Constructor.
fold(int,String) - static method in class javax.mail.internet.MimeUtility
Fold a string at linear whitespace so that each line is no longer than 76 characters, if possible.
folder - field in class javax.mail.event.FolderEvent
The folder the event occurred on.
Folder - class javax.mail.Folder
Folder is an abstract class that represents a folder for mail messages.
folder - field in class javax.mail.Message
The containing folder, if this message is obtained from a folder
Folder(Store) - constructor for class javax.mail.Folder
Constructor that takes a Store object.
FolderAdapter - class javax.mail.event.FolderAdapter
The adapter which receives Folder events.
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
Constructor
folderCreated(FolderEvent) - method in class javax.mail.event.FolderAdapter
folderCreated(FolderEvent) - method in class javax.mail.event.FolderListener
Invoked when a Folder is created.
folderDeleted(FolderEvent) - method in class javax.mail.event.FolderAdapter
folderDeleted(FolderEvent) - method in class javax.mail.event.FolderListener
Invoked when a folder is deleted.
FolderEvent - class javax.mail.event.FolderEvent
This class models Folder existence events.
FolderEvent(Object,Folder,Folder,int) - constructor for class javax.mail.event.FolderEvent
Constructor.
FolderEvent(Object,Folder,int) - constructor for class javax.mail.event.FolderEvent
Constructor.
FolderListener - interface javax.mail.event.FolderListener
This is the Listener interface for Folder events.
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.
Constructs a MessagingException with the specified folder and the specified detail message.
Constructs a MessagingException with the specified detail message and the specified folder.
folderRenamed(FolderEvent) - method in class javax.mail.event.FolderAdapter
folderRenamed(FolderEvent) - method in class javax.mail.event.FolderListener
Invoked when a folder is renamed.
forceClose() - method in class com.sun.mail.imap.IMAPFolder
Close this folder without waiting for the server.
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.
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
fullName - field in class com.sun.mail.imap.IMAPFolder
fullURL - field in class javax.mail.URLName
The full version of the URL

G

GE - static field in class javax.mail.search.ComparisonTerm
get(String) - method in class javax.mail.internet.ParameterList
Returns the value of the specified parameter.
getACL() - method in class com.sun.mail.imap.IMAPFolder
Get the access control list entries for this folder.
getAddress() - method in class javax.mail.search.AddressTerm
Return the address to match with.
getAddress() - method in class javax.mail.internet.InternetAddress
Get the email address.
getAddress() - method in class com.sun.mail.smtp.SMTPAddressFailedException
Return the address that failed.
getAddress() - method in class com.sun.mail.smtp.SMTPAddressSucceededException
Return the address that succeeded.
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 class javax.mail.internet.MimePart
Get all header lines as an Enumeration of Strings.
getAllHeaderLines() - method in class com.sun.mail.pop3.POP3Message
Get all header lines as an Enumeration of Strings.
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.
getAllHeaders() - method in class javax.mail.Part
Return all the headers from this part as an Enumeration of Header objects.
getAllHeaders() - method in class com.sun.mail.pop3.POP3Message
Return all the headers from this Message as an enumeration of Header objects.
getAllow8bitMIME() - method in class com.sun.mail.smtp.SMTPMessage
Is use of the 8BITMIME extension is allowed?
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.
getAttributes() - method in class com.sun.mail.imap.IMAPFolder
Get the attributes that the IMAP server returns with the LIST response.
getBaseType() - method in class javax.mail.internet.ContentType
Return the MIME type string, without the parameters.
getBodyPart(int) - method in class javax.mail.internet.MimeMultipart
Get the specified BodyPart.
getBodyPart(int) - method in class javax.mail.Multipart
Get the specified Part.
getBodyPart(int) - method in class javax.mail.MultipartDataSource
Get the specified Part.
getBodyPart(String) - method in class javax.mail.internet.MimeMultipart
Get the MimeBodyPart referred to by the given ContentID (CID).
getCause() - method in class javax.mail.MessagingException
Overrides the getCause method of Throwable to return the next exception in the chain of nested exceptions.
getClassName() - method in class javax.mail.Provider
Returns name of the class that implements the protocol
getCommand() - method in class com.sun.mail.smtp.SMTPAddressFailedException
Return the command that failed.
getCommand() - method in class com.sun.mail.smtp.SMTPAddressSucceededException
Return the command that succeeded.
getCommand() - method in class com.sun.mail.smtp.SMTPSendFailedException
Return the command that failed.
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 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.
getContent() - method in class javax.mail.Part
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 class 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 class 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 class javax.mail.internet.MimePart
Get the Content-MD5 digest of this part.
getContentStream() - method in class com.sun.mail.dsn.MessageHeaders
getContentStream() - method in class javax.mail.internet.MimeBodyPart
Produce the raw bytes of the content.
getContentStream() - method in class javax.mail.internet.MimeMessage
Produce the raw bytes of the content.
getContentStream() - method in class com.sun.mail.pop3.POP3Message
Produce the raw bytes of the content.
getContentType() - method in class javax.mail.util.ByteArrayDataSource
Get the MIME content type of the data.
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.
getContentType() - method in class javax.mail.Multipart
Return the content-type of this Multipart.
getContentType() - method in class javax.mail.Part
Returns the Content-Type of the content of this part.
getCount() - method in class javax.mail.internet.MimeMultipart
Return the number of enclosed BodyPart objects.
getCount() - method in class javax.mail.Multipart
Return the number of enclosed BodyPart objects.
getCount() - method in class javax.mail.MultipartDataSource
Return the number of enclosed BodyPart objects.
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.
getDataHandler() - method in class javax.mail.Part
Return a DataHandler for the content within this part.
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.
getDebugOut() - method in class javax.mail.Session
Returns the stream to be used for debugging output.
getDefaultFolder() - method in class com.sun.mail.imap.IMAPStore
Get the default folder, representing the root of this user's namespace.
getDefaultFolder() - method in class com.sun.mail.pop3.POP3Store
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) - static method in class javax.mail.Session
Get the default Session object.
getDefaultInstance(Properties,Authenticator) - 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.
getDefaultUserName() - method in class javax.mail.Authenticator
getDeletedMessageCount() - method in class javax.mail.Folder
Get the number of deleted messages in this Folder.
getDeletedMessageCount() - method in class com.sun.mail.imap.IMAPFolder
Get the deleted message count.
getDeliveryStatus() - method in class com.sun.mail.dsn.MultipartReport
Get the delivery status associated with this multipart/report.
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.
getDescription() - method in class javax.mail.Part
Return a description String for 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.
getDisposition() - method in class javax.mail.Part
Return the disposition of this part.
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 class javax.mail.internet.MimePart
Get the transfer encoding of this part.
getEncoding() - method in class javax.mail.internet.PreencodedMimeBodyPart
Returns the content transfer encoding specified when this object was created.
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.
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.
getEnvelopeFrom() - method in class com.sun.mail.smtp.SMTPMessage
Return the envelope From address.
getExtensionParameter(String) - method in class com.sun.mail.smtp.SMTPTransport
Return the parameter the server provided for the specified service extension, or null if the extension isn't supported.
getFile() - method in class javax.mail.URLName
Returns the file name of this URLName.
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.
getFileName() - method in class javax.mail.Part
Get the filename associated with this part, if possible.
getFlags() - method in class javax.mail.search.FlagTerm
Return the Flags to test.
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.
getFolder() - method in class javax.mail.FolderClosedException
Returns the dead Folder object
getFolder() - method in class javax.mail.event.FolderEvent
Return the affected folder.
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(String) - method in class javax.mail.Folder
Return the Folder object corresponding to the given name.
getFolder(String) - method in class com.sun.mail.imap.IMAPFolder
Get the named subfolder.
getFolder(String) - method in class com.sun.mail.imap.IMAPStore
Get named folder.
getFolder(String) - method in class com.sun.mail.pop3.POP3Folder
Always throws MessagingException because no POP3 folders can contain subfolders.
getFolder(String) - method in class com.sun.mail.pop3.POP3Store
Only the name "INBOX" is supported.
getFolder(String) - method in class javax.mail.Store
Return the Folder object corresponding to the given name.
getFolder(URLName) - method in class com.sun.mail.imap.IMAPStore
Get named folder.
getFolder(URLName) - method in class com.sun.mail.pop3.POP3Store
getFolder(URLName) - method in class javax.mail.Session
Get a closed Folder object for the given URLName.
getFolder(URLName) - method in class javax.mail.Store
Return a closed Folder object, corresponding to the given URLName.
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.
getFullName() - method in class com.sun.mail.imap.IMAPFolder
Get the fullname of this folder.
getFullName() - method in class com.sun.mail.pop3.POP3Folder
getGroup(boolean) - method in class javax.mail.internet.InternetAddress
Return the members of a group address.
getHeader(String) - method in class javax.mail.internet.InternetHeaders
Return all the values for the specified header.
getHeader(String) - method in class javax.mail.internet.MimeBodyPart
Get all the headers for this header_name.
getHeader(String) - method in class javax.mail.internet.MimeMessage
Get all the headers for this header_name.
getHeader(String) - method in class javax.mail.Part
Get all the headers for this header name.
getHeader(String) - method in class com.sun.mail.pop3.POP3Message
Get all the headers for this header_name.
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,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,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 class 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.
getHeader(String,String) - method in class com.sun.mail.pop3.POP3Message
Get all the headers for this header name, returned as a single String, with headers 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.internet.NewsAddress
Get the host.
getHost() - method in class javax.mail.URLName
Returns the host of this URLName.
getIgnoreCase() - method in class javax.mail.search.StringTerm
Return true if we should ignore case when matching.
getInputStream() - method in class javax.mail.util.ByteArrayDataSource
Return an InputStream for the data.
getInputStream() - method in class com.sun.mail.dsn.MessageHeaders
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.
getInputStream() - method in class javax.mail.Part
Return an input stream for this part's "content".
getInstance(Properties) - static method in class javax.mail.Session
Get a new Session object.
getInstance(Properties,Authenticator) - 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.
getLastServerResponse() - method in class com.sun.mail.smtp.SMTPTransport
Return the last response we got from the server.
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.
getLineCount() - method in class javax.mail.Part
Return the number of lines in the content of this part.
getLocalAddress(Session) - static method in class javax.mail.internet.InternetAddress
Return an InternetAddress object representing the current user.
getLocalHost() - method in class com.sun.mail.smtp.SMTPTransport
Get the name of the local host, for use in the EHLO and HELO commands.
getMailExtension() - method in class com.sun.mail.smtp.SMTPMessage
Gets the extension string to use with the MAIL command.
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 class javax.mail.internet.MimePart
Get matching header lines as an Enumeration of Strings.
getMatchingHeaderLines(String[]) - method in class com.sun.mail.pop3.POP3Message
Get matching header lines as an Enumeration of Strings.
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.
getMatchingHeaders(String[]) - method in class javax.mail.Part
Return matching headers from this part as an Enumeration of Header objects.
getMatchingHeaders(String[]) - method in class com.sun.mail.pop3.POP3Message
Return matching headers from this Message as an Enumeration of Header objects.
getMessage() - method in class javax.mail.event.MessageChangedEvent
Return the changed Message.
getMessage() - method in class javax.mail.MessageContext
Return the Message that contains the content.
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.
getMessage(int) - method in class javax.mail.Folder
Get the Message object corresponding to the given message number.
getMessage(int) - method in class com.sun.mail.imap.IMAPFolder
Get the specified message.
getMessage(int) - method in class com.sun.mail.pop3.POP3Folder
getMessageByUID(long) - method in class com.sun.mail.imap.IMAPFolder
Get the Message corresponding to the given UID.
getMessageByUID(long) - method in class 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 class 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.
getMessageCount() - method in class com.sun.mail.imap.IMAPFolder
Get the total message count.
getMessageCount() - method in class com.sun.mail.pop3.POP3Folder
Will not change while the folder is open because the POP3 protocol doesn't support notification of new messages arriving in open folders.
getMessageDSN() - method in class com.sun.mail.dsn.DeliveryStatus
Return all the per-message fields in the delivery status notification.
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.
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.
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.
getMessagesByUID(long,long) - method in class com.sun.mail.imap.IMAPFolder
Get the Messages specified by the given range.
getMessagesByUID(long,long) - method in class javax.mail.UIDFolder
Get the Messages specified by the given range.
getMessagesByUID(long[]) - method in class com.sun.mail.imap.IMAPFolder
Get the Messages specified by the given array.
getMessagesByUID(long[]) - method in class javax.mail.UIDFolder
Get the Messages specified by the given array of UIDs.
getMessageType() - method in class javax.mail.event.StoreEvent
Return the type of this event.
getMode() - method in class javax.mail.Folder
Return the open mode of this folder.
getName() - method in class com.sun.mail.imap.ACL
Get the identifier name for this ACL entry.
getName() - method in class javax.mail.util.ByteArrayDataSource
Get the name of the data.
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 com.sun.mail.imap.IMAPFolder
Get the name of this folder.
getName() - method in class javax.mail.internet.MimePartDataSource
DataSource method to return a name.
getName() - method in class com.sun.mail.pop3.POP3Folder
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.
getNewMessageCount() - method in class com.sun.mail.imap.IMAPFolder
Get the new message count.
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 class javax.mail.internet.MimePart
Get non-matching header lines as an Enumeration of Strings.
getNonMatchingHeaderLines(String[]) - method in class com.sun.mail.pop3.POP3Message
Get non-matching header lines as an Enumeration of Strings.
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.
getNonMatchingHeaders(String[]) - method in class javax.mail.Part
Return non-matching headers from this envelope as an Enumeration of Header objects.
getNonMatchingHeaders(String[]) - method in class com.sun.mail.pop3.POP3Message
Return non-matching headers from this Message as an Enumeration of Header objects.
getNotifyOptions() - method in class com.sun.mail.smtp.SMTPMessage
Get notification options.
getNumber() - method in class javax.mail.search.IntegerComparisonTerm
Return the number to compare with.
getOutputStream() - method in class javax.mail.util.ByteArrayDataSource
Return an OutputStream for the data.
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 com.sun.mail.imap.IMAPFolder
Get this folder's parent.
getParent() - method in class javax.mail.Multipart
Return the Part that contains this Multipart object, or null if not known.
getParent() - method in class com.sun.mail.pop3.POP3Folder
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() - method in class javax.mail.Authenticator
Called when password authentication is needed.
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.
getPermanentFlags() - method in class com.sun.mail.imap.IMAPFolder
Return the permanent flags supported by the server.
getPermanentFlags() - method in class com.sun.mail.pop3.POP3Folder
Always returns an empty Flags object because the POP3 protocol doesn't support any permanent flags.
getPersonal() - method in class javax.mail.internet.InternetAddress
Get the personal name.
getPersonalNamespaces() - method in class com.sun.mail.imap.IMAPStore
Using the IMAP NAMESPACE command (RFC 2342), return a set of folders representing the Personal namespaces.
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 class javax.mail.util.SharedByteArrayInputStream
Return the current position in the InputStream, as an offset from the beginning of the InputStream.
getPosition() - method in class javax.mail.util.SharedFileInputStream
Return the current position in the InputStream, as an offset from the beginning of the InputStream.
getPosition() - method in class javax.mail.internet.SharedInputStream
Return the current position in the InputStream, as an offset from the beginning of the InputStream.
getPreamble() - method in class javax.mail.internet.MimeMultipart
Get the preamble text, if any, that appears before the first body part of this multipart.
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 com.sun.mail.imap.IMAPFolder
Return the IMAPProtocol object for this folder.
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.[default.]providers files that can be loaded using the ClassLoader available to this application.
getQuota() - method in class com.sun.mail.imap.IMAPFolder
Get the quotas for the quotaroot associated with this folder.
getQuota(String) - method in class com.sun.mail.imap.IMAPStore
Get the quotas for the named quota root.
getQuota(String) - method in class javax.mail.QuotaAwareStore
Get the quotas for the named quota root.
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.
getRecipientDSN(int) - method in class com.sun.mail.dsn.DeliveryStatus
Return the delivery status notification information for the specified recipient.
getRecipientDSNCount() - method in class com.sun.mail.dsn.DeliveryStatus
Return the number of recipients for which we have per-recipient delivery status notification information.
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.
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.
getRef() - method in class javax.mail.internet.AddressException
Get the string that was being parsed when the error was detected (null if not relevant).
getRef() - method in class javax.mail.URLName
Returns the reference of this URLName.
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.
getReportSuccess() - method in class com.sun.mail.smtp.SMTPTransport
Should we report even successful sends by throwing an exception? If so, a SendFailedException will always be thrown and an SMTPAddressSucceededException will be included in the exception chain for each successful address, along with the usual SMTPAddressFailedException for each unsuccessful address.
getRequestingPort() - method in class javax.mail.Authenticator
getRequestingPrompt() - method in class javax.mail.Authenticator
getRequestingProtocol() - method in class javax.mail.Authenticator
Give the protocol that's requesting the connection.
getRequestingSite() - method in class javax.mail.Authenticator
getReturnCode() - method in class com.sun.mail.smtp.SMTPAddressFailedException
Return the return code from the SMTP server that indicates the reason for the failure.
getReturnCode() - method in class com.sun.mail.smtp.SMTPAddressSucceededException
Return the return code from the SMTP server that indicates the reason for the success.
getReturnCode() - method in class com.sun.mail.smtp.SMTPSendFailedException
Return the return code from the SMTP server that indicates the reason for the failure.
getReturnedMessage() - method in class com.sun.mail.dsn.MultipartReport
Get the original message that is being returned along with this multipart/report.
getReturnOption() - method in class com.sun.mail.smtp.SMTPMessage
Return return option.
getRights() - method in class com.sun.mail.imap.ACL
Get the rights associated with this ACL entry.
getRights() - method in class com.sun.mail.imap.Rights
Return all the rights in this Rights object.
getSASLRealm() - method in class com.sun.mail.smtp.SMTPTransport
Gets the SASL realm to be used for DIGEST-MD5 authentication.
getSender() - method in class javax.mail.internet.MimeMessage
Returns the value of the RFC 822 "Sender" header field.
getSendPartial() - method in class com.sun.mail.smtp.SMTPMessage
Send message if some addresses are invalid?
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.
getSeparator() - method in class com.sun.mail.imap.IMAPFolder
Get the separator character.
getSeparator() - method in class com.sun.mail.pop3.POP3Folder
Always returns a NUL character because POP3 doesn't support a hierarchy.
getSession() - method in class javax.mail.MessageContext
Return the Session we're operating in.
getSharedNamespaces() - method in class com.sun.mail.imap.IMAPStore
Using the IMAP NAMESPACE command (RFC 2342), return a set of folders representing the Shared namespaces.
getSharedNamespaces() - method in class javax.mail.Store
Return a set of folders representing the shared namespaces.
getSize() - method in class com.sun.mail.dsn.MessageHeaders
Return the size of this message.
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.
getSize() - method in class javax.mail.Part
Return the size of the content of this part in bytes.
getSize() - method in class com.sun.mail.pop3.POP3Folder
Return the size of this folder, as was returned by the POP3 STAT command when this folder was opened.
getSize() - method in class com.sun.mail.pop3.POP3Message
Return the size of the content of this message in bytes.
getSizes() - method in class com.sun.mail.pop3.POP3Folder
Return the sizes of all messages in this folder, as returned by the POP3 LIST command.
getStartTLS() - method in class com.sun.mail.smtp.SMTPTransport
Should we use the STARTTLS command to secure the connection if the server supports it?
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() - method in class javax.mail.StoreClosedException
Returns the dead Store object
getStore(Provider) - method in class javax.mail.Session
Get an instance of the store specified by Provider.
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.
getStoreProtocol() - method in class com.sun.mail.imap.IMAPFolder
Get this folder's Store's protocol connection.
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.
getSubmitter() - method in class com.sun.mail.smtp.SMTPMessage
Gets the submitter to be used for the RFC 2554 AUTH= value in the MAIL FROM command.
getSubType() - method in class javax.mail.internet.ContentType
Return the subType.
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.
getText() - method in class com.sun.mail.dsn.MultipartReport
Get the plain text to be presented to the user, if there is any.
getTextBodyPart() - method in class com.sun.mail.dsn.MultipartReport
Return the body part containing the message to be presented to the user, usually just a text/plain part.
getTransport() - method in class javax.mail.Session
Get a Transport object that implements this user's desired Transport protcol.
getTransport(Address) - method in class javax.mail.Session
Get a Transport object that can transport a Message to the specified address type.
getTransport(Provider) - method in class javax.mail.Session
Get an instance of the transport specified in the Provider.
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.
getType() - method in class javax.mail.Address
Return a type string that identifies this address type.
getType() - method in class javax.mail.event.ConnectionEvent
Return the type of this event
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.event.FolderEvent
Return the type of this event.
getType() - method in class com.sun.mail.imap.IMAPFolder
Get the type of this folder.
getType() - method in class javax.mail.internet.InternetAddress
Return the type of this address.
getType() - method in class javax.mail.event.MessageCountEvent
Return the type of this event.
getType() - method in class javax.mail.internet.NewsAddress
Return the type of this address.
getType() - method in class com.sun.mail.pop3.POP3Folder
Always returns Folder.HOLDS_MESSAGES.
getType() - method in class javax.mail.Provider
Returns the type of this Provider
getType() - method in class javax.mail.event.TransportEvent
Return the type of this event.
getUID(Message) - method in class com.sun.mail.imap.IMAPFolder
Get the UID for the specified message.
getUID(Message) - method in class com.sun.mail.pop3.POP3Folder
Return the unique ID string for this message, or null if not available.
getUID(Message) - method in class javax.mail.UIDFolder
Get the UID for the specified message.
getUIDNext() - method in class com.sun.mail.imap.IMAPFolder
Returns the predicted UID that will be assigned to the next message that is appended to this folder.
getUIDValidity() - method in class com.sun.mail.imap.IMAPFolder
Returns the UIDValidity for this folder.
getUIDValidity() - method in class javax.mail.UIDFolder
Returns the UIDValidity value associated with this folder.
getUniqueBoundaryValue() - static method in class javax.mail.internet.UniqueValue
Get a unique value for use in a multipart boundary string.
getUniqueMessageIDValue(Session) - static method in class javax.mail.internet.UniqueValue
Get a unique value for use in a Message-ID.
getUnreadMessageCount() - method in class javax.mail.Folder
Get the total number of unread messages in this Folder.
getUnreadMessageCount() - method in class com.sun.mail.imap.IMAPFolder
Get the unread message count.
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.
getUserFlags() - method in class javax.mail.Flags
Return all the user flags in this Flags object.
getUserName() - method in class javax.mail.PasswordAuthentication
getUsername() - method in class javax.mail.URLName
Returns the user name of this URLName.
getUserNamespaces(String) - method in class com.sun.mail.imap.IMAPStore
Using the IMAP NAMESPACE command (RFC 2342), return a set of folders representing the User's namespaces.
getUserNamespaces(String) - method in class javax.mail.Store
Return a set of folders representing the namespaces for user.
getUseRset() - method in class com.sun.mail.smtp.SMTPTransport
Should we use the RSET command instead of the NOOP command in the @{link #isConnected isConnected} method?
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.
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
GT - static field in class javax.mail.search.ComparisonTerm

H

handleResponse(Response) - method in class com.sun.mail.imap.IMAPFolder
The response handler.
handleResponse(Response) - method in class com.sun.mail.imap.IMAPStore
Response handler method.
hasCapability(String) - method in class com.sun.mail.imap.IMAPStore
Return true if the specified capability string is in the list of capabilities the server announced.
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.Flags
Compute a hash code for this Flags 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.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.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 com.sun.mail.imap.Rights
Compute a hash code for this Rights object.
hashCode() - method in class javax.mail.search.StringTerm
Compute a hashCode for this object.
hashCode() - method in class javax.mail.URLName
Compute the hash code for this URLName.
hasNewMessages() - method in class javax.mail.Folder
Returns true if this Folder has new messages since the last time this indication was reset.
hasNewMessages() - method in class com.sun.mail.imap.IMAPFolder
Check whether this folder has new messages.
hasNewMessages() - method in class com.sun.mail.pop3.POP3Folder
Always returns false; the POP3 protocol provides no way to determine when a new message arrives.
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.
headerName - field in class javax.mail.search.HeaderTerm
The name of the header.
headers - field in class javax.mail.internet.InternetHeaders
The actual list of Headers, including placeholder entries.
headers - field in class javax.mail.internet.MimeBodyPart
The InternetHeaders object that stores all the headers of this body part.
headers - field in class javax.mail.internet.MimeMessage
The InternetHeaders object that stores the header of this message.
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) - constructor for class javax.mail.internet.HeaderTokenizer
Constructor.
HeaderTokenizer(String,String) - constructor for class javax.mail.internet.HeaderTokenizer
Constructor.
HeaderTokenizer(String,String,boolean) - constructor for class javax.mail.internet.HeaderTokenizer
Constructor that takes a rfc822 style header.
HOLDS_FOLDERS - static field in class javax.mail.Folder
This folder can contain other folders
HOLDS_MESSAGES - static field in class javax.mail.Folder
This folder can contain messages
host - field in class javax.mail.internet.NewsAddress

I

ignoreCase - field in class javax.mail.search.StringTerm
Ignore case when comparing?
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.
IMAPFolder - class com.sun.mail.imap.IMAPFolder
This class implements an IMAP folder.
IMAPFolder(ListInfo,IMAPStore) - constructor for class com.sun.mail.imap.IMAPFolder
Constructor used to create an existing folder.
IMAPFolder(String,char,IMAPStore) - constructor for class com.sun.mail.imap.IMAPFolder
Constructor used to create a possibly non-existent folder.
IMAPFolder(String,char,IMAPStore,boolean) - constructor for class com.sun.mail.imap.IMAPFolder
Constructor used to create a possibly non-existent folder.
IMAPSSLStore - class com.sun.mail.imap.IMAPSSLStore
This class provides access to an IMAP message store over SSL.
IMAPSSLStore(Session,URLName) - constructor for class com.sun.mail.imap.IMAPSSLStore
Constructor that takes a Session object and a URLName that represents a specific IMAP server.
IMAPStore - class com.sun.mail.imap.IMAPStore
This class provides access to an IMAP message store.
IMAPStore(Session,URLName) - constructor for class com.sun.mail.imap.IMAPStore
Constructor that takes a Session object and a URLName that represents a specific IMAP server.
IMAPStore(Session,URLName,String,int,boolean) - constructor for class com.sun.mail.imap.IMAPStore
Constructor used by this class and by IMAPSSLStore subclass.
in - field in class javax.mail.util.SharedFileInputStream
The file containing the data.
INLINE - static field in class javax.mail.Part
This part should be presented inline.
This class implements comparisons for integers.
IntegerComparisonTerm(int,int) - constructor for class javax.mail.search.IntegerComparisonTerm
InternetAddress - class javax.mail.internet.InternetAddress
This class represents an Internet email address using the syntax of RFC822.
InternetAddress() - constructor for class javax.mail.internet.InternetAddress
Default constructor.
InternetAddress(String) - constructor for class javax.mail.internet.InternetAddress
Constructor.
InternetAddress(String,boolean) - constructor for class javax.mail.internet.InternetAddress
Parse the given string and create an InternetAddress.
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.
invalid - field in class javax.mail.SendFailedException
invalid - field in class javax.mail.event.TransportEvent
invalidate(boolean) - method in class com.sun.mail.pop3.POP3Message
Invalidate the cache of content for this message object, causing it to be fetched again from the server the next time it is needed.
isComplete() - method in class javax.mail.internet.MimeMultipart
Return true if the final boundary line for this multipart was seen.
isConnected() - method in class com.sun.mail.imap.IMAPStore
Check whether this store is connected.
isConnected() - method in class com.sun.mail.pop3.POP3Store
Check whether this store is connected.
isConnected() - method in class javax.mail.Service
Is this service currently connected?

This implementation uses a private boolean field to store the connection state.

isConnected() - method in class com.sun.mail.smtp.SMTPTransport
Check whether the transport is connected.
isExpunged() - method in class javax.mail.Message
Checks whether this message is expunged.
isGroup() - method in class javax.mail.internet.InternetAddress
Indicates whether this address is an RFC 822 group address.
isMimeType(String) - method in class javax.mail.internet.MimeBodyPart
Is this Part of the specified MIME type? This method compares only the primaryType and subType.
isMimeType(String) - method in class javax.mail.internet.MimeMessage
Is this Part of the specified MIME type? This method compares only the primaryType and subType.
isMimeType(String) - method in class javax.mail.Part
Is this Part of the specified MIME type? This method compares only the primaryType and subType.
isNamespace - field in class com.sun.mail.imap.IMAPFolder
isOpen() - method in class javax.mail.Folder
Indicates whether this Folder is in the 'open' state.
isOpen() - method in class com.sun.mail.imap.IMAPFolder
Check whether this connection is really open.
isOpen() - method in class com.sun.mail.pop3.POP3Folder
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.
isSubscribed() - method in class com.sun.mail.imap.IMAPFolder
Check whether 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.

L

LASTUID - static field in class 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 field in class javax.mail.search.ComparisonTerm
list() - method in class javax.mail.Folder
Convenience method that returns the list of folders under this Folder.
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(String) - method in class com.sun.mail.imap.IMAPFolder
List all subfolders matching the specified pattern.
list(String) - method in class com.sun.mail.pop3.POP3Folder
Always throws MessagingException because no POP3 folders can contain subfolders.
listCommand() - method in class com.sun.mail.pop3.POP3Folder
Return the raw results of the POP3 LIST command with no arguments.
listRights(String) - method in class com.sun.mail.imap.IMAPFolder
Get all the rights that may be allowed to the given identifier.
listSubscribed() - method in class javax.mail.Folder
Convenience method that returns the list of subscribed 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(String) - method in class com.sun.mail.imap.IMAPFolder
List all subscribed subfolders matching the specified pattern.
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.
LT - static field in class javax.mail.search.ComparisonTerm

M

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
mark(int) - method in class javax.mail.util.SharedFileInputStream
See the general contract of the mark method of InputStream.
markSupported() - method in class javax.mail.util.SharedFileInputStream
Tests if this input stream supports the mark and reset methods.
match(Address) - method in class javax.mail.search.AddressStringTerm
Check whether the address pattern specified in the constructor is a substring of the string representation of the given Address object.
match(Address) - method in class javax.mail.search.AddressTerm
Match against the argument Address.
match(ContentType) - method in class javax.mail.internet.ContentType
Match with the specified ContentType object.
match(Date) - method in class javax.mail.search.DateTerm
The date comparison method.
match(int) - method in class javax.mail.search.IntegerComparisonTerm
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.
match(SearchTerm) - method in class javax.mail.Message
Apply the specified Search criterion to this message.
match(String) - method in class javax.mail.internet.ContentType
Match with the specified content-type string.
match(String) - method in class javax.mail.search.StringTerm
Message - class javax.mail.Message
This class models an email message.
message - field in class javax.mail.event.StoreEvent
The message text to be presented to the user.
Message() - constructor for class javax.mail.Message
No-arg version of the constructor.
Message(Folder,int) - constructor for class javax.mail.Message
Constructor that takes a Folder and a message number.
Message(Session) - constructor for class javax.mail.Message
Constructor that takes a Session.
MESSAGE_DELIVERED - static field in class javax.mail.event.TransportEvent
Message has been successfully delivered to all recipients by the transport firing this event.
MESSAGE_NOT_DELIVERED - static field in class javax.mail.event.TransportEvent
Message was not sent for some reason.
MESSAGE_PARTIALLY_DELIVERED - static field in class javax.mail.event.TransportEvent
Message was successfully sent to some recipients but not to all.
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.
messageCache - field in class com.sun.mail.imap.IMAPFolder
messageCacheLock - field in class com.sun.mail.imap.IMAPFolder
Invoked when a message is changed.
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.
MessageCountEvent - class javax.mail.event.MessageCountEvent
This class notifies changes in the number of messages in a folder.
Constructor.
MessageCountListener - interface javax.mail.event.MessageCountListener
This is the Listener interface for MessageCount events.
messageDelivered(TransportEvent) - method in class javax.mail.event.TransportAdapter
messageDelivered(TransportEvent) - method in class javax.mail.event.TransportListener
Invoked when a Message is succesfully delivered.
messageDSN - field in class com.sun.mail.dsn.DeliveryStatus
The DSN fields for the message.
MessageHeaders - class com.sun.mail.dsn.MessageHeaders
A special MimeMessage object that contains only message headers, no content.
MessageHeaders() - constructor for class com.sun.mail.dsn.MessageHeaders
Construct a MessageHeaders object.
MessageHeaders(InputStream) - constructor for class com.sun.mail.dsn.MessageHeaders
Constructs a MessageHeaders object from the given InputStream.
MessageHeaders(InternetHeaders) - constructor for class com.sun.mail.dsn.MessageHeaders
Constructs a MessageHeaders object using the given InternetHeaders.
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.
messageNotDelivered(TransportEvent) - method in class javax.mail.event.TransportAdapter
messageNotDelivered(TransportEvent) - method in class javax.mail.event.TransportListener
Invoked when a Message is not delivered.
MessageNumberTerm - class javax.mail.search.MessageNumberTerm
This class implements comparisons for Message numbers.
MessageNumberTerm(int) - constructor for class javax.mail.search.MessageNumberTerm
Constructor.
Invoked when a Message is partially delivered.
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.
messagesAdded(MessageCountEvent) - method in class javax.mail.event.MessageCountAdapter
messagesAdded(MessageCountEvent) - method in class 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 class javax.mail.event.MessageCountListener
Invoked when messages are removed (expunged) from a folder.
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.
The exception thrown when a method is not supported by the implementation
Constructs a MethodNotSupportedException with no detail message.
Constructs a MethodNotSupportedException with the specified detail message.
MIME - static field in class javax.mail.internet.HeaderTokenizer
MIME specials
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.
mimeCharset(String) - static method in class javax.mail.internet.MimeUtility
Convert a java charset into its MIME charset name.
MimeMessage - class javax.mail.internet.MimeMessage
This class represents a MIME style email message.
MimeMessage(Folder,InputStream,int) - constructor for class javax.mail.internet.MimeMessage
Constructs a MimeMessage by reading and parsing the data from the specified MIME InputStream.
MimeMessage(Folder,int) - constructor for class javax.mail.internet.MimeMessage
Constructs an empty MimeMessage object with the given Folder and message number.
MimeMessage(Folder,InternetHeaders,byte[],int) - constructor for class javax.mail.internet.MimeMessage
Constructs a MimeMessage from the given InternetHeaders object and content.
MimeMessage(MimeMessage) - constructor for class javax.mail.internet.MimeMessage
Constructs a new MimeMessage with content initialized from the source MimeMessage.
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.
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(DataSource) - constructor for class javax.mail.internet.MimeMultipart
Constructs a MimeMultipart object and its bodyparts from the given DataSource.
MimeMultipart(String) - constructor for class javax.mail.internet.MimeMultipart
Construct a MimeMultipart object of the given subtype.
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.
mode - field in class javax.mail.Folder
The open mode of this folder.
modified - field in class javax.mail.internet.MimeMessage
A flag indicating whether the message has been modified.
msg - field in class javax.mail.event.MessageChangedEvent
The message that changed.
msg - field in class javax.mail.event.TransportEvent
msgnum - field in class javax.mail.Message
The number of this message within its folder, or zero if the message was not retrieved from a folder.
msgs - field in class javax.mail.event.MessageCountEvent
The messages.
Multipart - class javax.mail.Multipart
Multipart is a container that holds multiple body parts.
Multipart() - constructor for class javax.mail.Multipart
Default constructor.
MultipartDataSource is a DataSource that contains body parts.
MultipartReport - class com.sun.mail.dsn.MultipartReport
A multipart/report message content, as defined in RFC 3462.
MultipartReport() - constructor for class com.sun.mail.dsn.MultipartReport
Construct a multipart/report object with no content.
MultipartReport(DataSource) - constructor for class com.sun.mail.dsn.MultipartReport
Constructs a MultipartReport object and its bodyparts from the given DataSource.
MultipartReport(String,DeliveryStatus) - constructor for class com.sun.mail.dsn.MultipartReport
Construct a multipart/report object with the specified plain text and delivery status to be returned to the user.
Construct a multipart/report object with the specified plain text, delivery status, and headers from the original message to be returned to the user.
Construct a multipart/report object with the specified plain text, delivery status, and original message to be returned to the user.
myRights() - method in class com.sun.mail.imap.IMAPFolder
Get the rights allowed to the currently authenticated user.

N

name - field in class javax.mail.Header
The name of the header.
name - field in class com.sun.mail.imap.IMAPFolder
NE - static field in class javax.mail.search.ComparisonTerm
newFolder - field in class javax.mail.event.FolderEvent
The folder that represents the new name, in case of a RENAMED event.
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.
newsgroup - field in class javax.mail.internet.NewsAddress
newStream(long,long) - method in class javax.mail.util.SharedByteArrayInputStream
Return a new InputStream representing a subset of the data from this InputStream, starting at start (inclusive) up to end (exclusive).
newStream(long,long) - method in class javax.mail.util.SharedFileInputStream
Return a new InputStream representing a subset of the data from this InputStream, starting at start (inclusive) up to end (exclusive).
newStream(long,long) - method in class 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.
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.
NOTICE - static field in class javax.mail.event.StoreEvent
Indicates that this message is a NOTICE.
notification(StoreEvent) - method in class javax.mail.event.StoreListener
Invoked when the Store generates a notification event.
NOTIFY_DELAY - static field in class com.sun.mail.smtp.SMTPMessage
Notify of delivery delay
NOTIFY_FAILURE - static field in class com.sun.mail.smtp.SMTPMessage
Notify of delivery failure
NOTIFY_NEVER - static field in class com.sun.mail.smtp.SMTPMessage
Never notify of delivery status
NOTIFY_SUCCESS - static field in class com.sun.mail.smtp.SMTPMessage
Notify of delivery success
notifyConnectionListeners(int) - method in class javax.mail.Folder
Notify all ConnectionListeners.
notifyConnectionListeners(int) - method in class javax.mail.Service
Notify all ConnectionListeners.
notifyFolderListeners(int) - method in class javax.mail.Folder
Notify all FolderListeners registered on this Folder and this folder's Store.
notifyFolderListeners(int,Folder) - method in class javax.mail.Store
Notify all FolderListeners.
notifyFolderRenamedListeners(Folder) - method in class javax.mail.Folder
Notify all FolderListeners registered on this Folder and this folder's Store about the renaming of this folder.
Notify all FolderListeners about the renaming of a folder.
notifyMessageAddedListeners(Message[]) - method in class javax.mail.Folder
Notify all MessageCountListeners about the addition of messages into this folder.
Notify all MessageChangedListeners.
notifyMessageChangedListeners(int,Message) - method in class com.sun.mail.pop3.POP3Folder
Notify all MessageCountListeners about the removal of messages from this Folder.
notifyStoreListeners(int,String) - method in class javax.mail.Store
Notify all StoreListeners.
Notify all TransportListeners.
NotTerm - class javax.mail.search.NotTerm
This class implements the logical NEGATION operator.
NotTerm(SearchTerm) - constructor for class javax.mail.search.NotTerm
number - field in class javax.mail.search.IntegerComparisonTerm
The number.

O

open(int) - method in class javax.mail.Folder
Open this Folder.
open(int) - method in class com.sun.mail.imap.IMAPFolder
Open this folder in the given mode.
open(int) - method in class com.sun.mail.pop3.POP3Folder
Throws FolderNotFoundException unless this folder is named "INBOX".
OPENED - static field in class javax.mail.event.ConnectionEvent
A connection was opened.
opened(ConnectionEvent) - method in class javax.mail.event.ConnectionAdapter
opened(ConnectionEvent) - method in class javax.mail.event.ConnectionListener
Invoked when a Store/Folder/Transport is 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.

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.
parent - field in class javax.mail.BodyPart
The Multipart object containing this BodyPart, if known.
parent - field in class javax.mail.Multipart
The Part containing this Multipart, if known.
parse() - method in class javax.mail.internet.MimeMultipart
Parse the InputStream from our DataSource, constructing the appropriate MimeBodyParts.
parse(InputStream) - method in class javax.mail.internet.MimeMessage
Parse the InputStream setting the headers and content fields appropriately.
parse(String) - static method in class javax.mail.internet.InternetAddress
Parse the given comma separated sequence of addresses into InternetAddress objects.
parse(String) - static method in class javax.mail.internet.NewsAddress
Parse the given comma separated sequence of newsgroup into NewsAddress 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.
parsed - field in class javax.mail.internet.MimeMultipart
Have we parsed the data from our InputStream yet? Defaults to true; set to false when our constructor is given a DataSource with an InputStream that we need to parse.
ParseException - class 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.
parseHeader(String,boolean) - static method in class javax.mail.internet.InternetAddress
Parse the given sequence of addresses into InternetAddress objects.
parseString(String) - method in class javax.mail.URLName
Method which does all of the work of parsing the string.
Part - interface javax.mail.Part
The Part interface is the common base interface for Messages and BodyParts.
part - field in class javax.mail.internet.MimePartDataSource
The MimePart that provides the data for this DataSource.
parts - field in class javax.mail.Multipart
Vector of BodyPart objects.
The class PasswordAuthentication is a data holder that is used by Authenticator.
Initialize a new PasswordAuthentication
pattern - field in class javax.mail.search.StringTerm
The pattern.
peek() - method in class javax.mail.internet.HeaderTokenizer
Peek at the next token, without actually removing the token from the parse stream.
permanentFlags - field in class com.sun.mail.imap.IMAPFolder
personal - field in class javax.mail.internet.InternetAddress
The personal name.
POP3Folder - class com.sun.mail.pop3.POP3Folder
A POP3 Folder (can only be "INBOX").
POP3Message - class com.sun.mail.pop3.POP3Message
A POP3 Message.
POP3Message(Folder,int) - constructor for class com.sun.mail.pop3.POP3Message
POP3SSLStore - class com.sun.mail.pop3.POP3SSLStore
A POP3 Message Store using SSL.
POP3SSLStore(Session,URLName) - constructor for class com.sun.mail.pop3.POP3SSLStore
POP3Store - class com.sun.mail.pop3.POP3Store
A POP3 Message Store.
POP3Store(Session,URLName) - constructor for class com.sun.mail.pop3.POP3Store
POP3Store(Session,URLName,String,int,boolean) - constructor for class com.sun.mail.pop3.POP3Store
pos - field in class javax.mail.internet.AddressException
The index in the string where the error occurred, or -1 if not known.
A MimeBodyPart that handles data that has already been encoded.
PreencodedMimeBodyPart(String) - constructor for class javax.mail.internet.PreencodedMimeBodyPart
Create a PreencodedMimeBodyPart that assumes the data is encoded using the specified encoding.
protocol - field in class com.sun.mail.imap.IMAPFolder
protocolConnect(String,int,String,String) - method in class com.sun.mail.imap.IMAPStore
Implementation of protocolConnect().
protocolConnect(String,int,String,String) - method in class com.sun.mail.pop3.POP3Store
The service implementation should override this method to perform the actual protocol-specific connection attempt.
protocolConnect(String,int,String,String) - method in class com.sun.mail.smtp.SMTPTransport
Performs the actual protocol-specific connection attempt.
Provider - class javax.mail.Provider
The Provider is a class that describes a protocol implementation.
Create a new provider of the specified type for the specified protocol.

Q

queueEvent(MailEvent,Vector) - method in class javax.mail.Service
Add the event and vector of listeners to the queue to be delivered.
Quota - class javax.mail.Quota
This class represents a set of quotas for a given quota root.
Quota(String) - constructor for class javax.mail.Quota
Create a Quota object for the named quotaroot with no associated resources.
QuotaAwareStore - interface javax.mail.QuotaAwareStore
An interface implemented by Stores that support quotas.
quotaRoot - field in class javax.mail.Quota
The name of the quota root.
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

rc - field in class com.sun.mail.smtp.SMTPAddressFailedException
rc - field in class com.sun.mail.smtp.SMTPAddressSucceededException
rc - field in class com.sun.mail.smtp.SMTPSendFailedException
read() - method in class javax.mail.util.SharedFileInputStream
See the general contract of the read method of InputStream.
read(b[],int,int) - method in class javax.mail.util.SharedFileInputStream
Reads bytes from this stream into the specified byte array, starting at the given offset.
READ_ONLY - static field in class javax.mail.Folder
The Folder is read only.
READ_WRITE - static field in class javax.mail.Folder
The state and contents of this folder can be modified.
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.
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.
recipientDSN - field in class com.sun.mail.dsn.DeliveryStatus
The DSN fields for each recipient.
RecipientStringTerm - class javax.mail.search.RecipientStringTerm
This class implements string comparisons for the Recipient Address headers.
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.
ref - field in class javax.mail.internet.AddressException
The string being parsed.
releaseStoreProtocol(IMAPProtocol) - method in class com.sun.mail.imap.IMAPFolder
Release the store protocol object.
remove(com.sun.mail.imap.Rights.Right) - method in class com.sun.mail.imap.Rights
Remove the specified right from this Rights object.
remove(Flags) - method in class javax.mail.Flags
Remove all flags in the given Flags object from this Flags object.
remove(javax.mail.Flags.Flag) - method in class javax.mail.Flags
Remove the specified system flag from this Flags object.
remove(Rights) - method in class com.sun.mail.imap.Rights
Remove all rights in the given Rights object from this Rights object.
remove(String) - method in class javax.mail.Flags
Remove the specified user flag from this Flags object.
remove(String) - method in class javax.mail.internet.ParameterList
Removes the specified parameter from this ParameterList.
removeACL(String) - method in class com.sun.mail.imap.IMAPFolder
Remove any access control list entry for the given identifier from the access control list for this folder.
removeBodyPart(BodyPart) - method in class javax.mail.Multipart
Remove the specified part from the multipart message.
removeBodyPart(BodyPart) - method in class com.sun.mail.dsn.MultipartReport
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).
removeBodyPart(int) - method in class com.sun.mail.dsn.MultipartReport
Remove the part at specified location (starting from 0).
Remove a Connection event listener.
Remove a Connection event listener.
removed - field in class javax.mail.event.MessageCountEvent
If true, this event is the result of an explicit expunge by this client, and the messages in this folder have been renumbered to account for this.
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 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.
removeHeader(String) - method in class javax.mail.Part
Remove all headers with this name.
removeHeader(String) - method in class com.sun.mail.pop3.POP3Message
Remove all headers with this name.
Remove a MessageChanged listener.
Remove a MessageCount listener.
removeRights(ACL) - method in class com.sun.mail.imap.IMAPFolder
Remove the rights specified in the ACL from the entry for the identifier specified in the ACL.
removeStoreListener(StoreListener) - method in class javax.mail.Store
Remove a listener for Store events.
Remove a listener for Transport events.
RENAMED - static field in class javax.mail.event.FolderEvent
The folder was renamed.
renameTo(Folder) - method in class javax.mail.Folder
Rename this Folder.
renameTo(Folder) - method in class com.sun.mail.imap.IMAPFolder
Rename this folder.
renameTo(Folder) - method in class com.sun.mail.pop3.POP3Folder
Always throws MethodNotSupportedException because the POP3 protocol doesn't support multiple folders.
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.
Call back to the application to get the needed user name and password.
reset() - method in class javax.mail.util.SharedFileInputStream
See the general contract of the reset method of InputStream.
resources - field in class javax.mail.Quota
The set of resources associated with this quota root.
RETURN_FULL - static field in class com.sun.mail.smtp.SMTPMessage
Return full message with delivery status notification
RETURN_HDRS - static field in class com.sun.mail.smtp.SMTPMessage
Return only message headers with delivery status notification
RFC822 - static field in class javax.mail.internet.HeaderTokenizer
RFC822 specials
Rights - class com.sun.mail.imap.Rights
The Rights class represents the set of rights for an authentication identifier (for instance, a user or a group).
Rights() - constructor for class com.sun.mail.imap.Rights
Construct an empty Rights object.
Rights(com.sun.mail.imap.Rights.Right) - constructor for class com.sun.mail.imap.Rights
Construct a Rights object initialized with the given right.
Rights(Rights) - constructor for class com.sun.mail.imap.Rights
Construct a Rights object initialized with the given rights.
Rights(String) - constructor for class com.sun.mail.imap.Rights
Construct a Rights object initialized with the given rights.
run() - method in class javax.mail.EventQueue
Pull events off the queue and dispatch them.

S

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.
saveChanges() - method in class com.sun.mail.pop3.POP3Message
POP3 message can't be changed.
saved - field in class javax.mail.internet.MimeMessage
Does the saveChanges method need to be called on this message? This flag is set to false by the public constructor and set to true by the saveChanges method.
saveFile(File) - method in class javax.mail.internet.MimeBodyPart
Save the contents of this part in the specified file.
saveFile(String) - method in class javax.mail.internet.MimeBodyPart
Save the contents of this part in the specified file.
search(SearchTerm) - method in class javax.mail.Folder
Search this Folder for messages matching the specified search criterion.
search(SearchTerm) - method in class com.sun.mail.imap.IMAPFolder
Search whole folder for messages matching the given term.
search(SearchTerm,Message[]) - method in class javax.mail.Folder
Search the given array of messages for those that match the specified search criterion.
search(SearchTerm,Message[]) - method in class com.sun.mail.imap.IMAPFolder
Search the folder for messages matching the given term.
SearchException - class 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.
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.
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.
Constructs a SendFailedException with the specified Exception and detail message.
Constructs a SendFailedException with the specified string and the specified address objects.
sendMessage(Message,Address[]) - method in class com.sun.mail.smtp.SMTPTransport
Send the Message to the specified list of addresses.
sendMessage(Message,Address[]) - method in class javax.mail.Transport
Send the Message to the specified list of addresses.
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.
separator - field in class com.sun.mail.imap.IMAPFolder
Service - class javax.mail.Service
An abstract class that contains the functionality common to messaging services, such as stores and transports.
Service(Session,URLName) - constructor for class javax.mail.Service
Constructor.
Session - class javax.mail.Session
The Session class represents a mail session and is not subclassed.
session - field in class javax.mail.Message
The Session object for this Message
session - field in class javax.mail.Service
The session from which this service was created.
set - field in class javax.mail.search.FlagTerm
Indicates whether to test for the presence or absence of the specified Flag.
set(String,String) - method in class javax.mail.internet.ParameterList
Set a parameter.
set(String,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.
setAllow8bitMIME(boolean) - method in class com.sun.mail.smtp.SMTPMessage
If set to true, and the server supports the 8BITMIME extension, text parts of this message that use the "quoted-printable" or "base64" encodings are converted to use "8bit" encoding if they follow the RFC 2045 rules for 8bit text.
setCalendar(Calendar) - method in class javax.mail.internet.MailDateFormat
Don't allow setting the calendar
setConnected(boolean) - method in class javax.mail.Service
Set the connection state of this service.
setContent(Multipart) - method in class javax.mail.internet.MimeBodyPart
This method sets the body part's content to a Multipart object.
setContent(Multipart) - method in class javax.mail.internet.MimeMessage
This method sets the Message's content to a Multipart object.
setContent(Multipart) - method in class 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(Object,String) - method in class javax.mail.internet.MimeMessage
A convenience method for setting this Message's content.
setContent(Object,String) - method in class javax.mail.Part
A convenience method for setting this part's content.
setContentID(String) - method in class javax.mail.internet.MimeBodyPart
Set the "Content-ID" header field of this body part.
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 class 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 class javax.mail.internet.MimePart
Set the Content-MD5 of this part.
setDataHandler(DataHandler) - method in class com.sun.mail.dsn.MessageHeaders
Can't set any content for a MessageHeaders object.
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.
setDataHandler(DataHandler) - method in class javax.mail.Part
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.
setDebugOut(PrintStream) - method in class javax.mail.Session
Set the stream to be used for debugging output for this session.
setDeliveryStatus(DeliveryStatus) - method in class com.sun.mail.dsn.MultipartReport
Set the delivery status associated with this multipart/report.
setDescription(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) - method in class javax.mail.Part
Set a description String for this part.
setDescription(String,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.MimeMessage
Set the "Content-Description" header field for this Message.
setDisposition(String) - method in class javax.mail.internet.ContentDisposition
Set the disposition.
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.
setDisposition(String) - method in class javax.mail.Part
Set the disposition of this part.
setEnvelopeFrom(String) - method in class com.sun.mail.smtp.SMTPMessage
Set the From address to appear in the SMTP envelope.
setExpunged(boolean) - method in class javax.mail.Message
Sets the expunged flag for this Message.
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.
setFileName(String) - method in class javax.mail.Part
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(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.
setFlags(Flags,boolean) - method in class com.sun.mail.pop3.POP3Message
Set the specified flags on this message to the specified value.
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(Message[],Flags,boolean) - method in class javax.mail.Folder
Set the specified flags on the messages specified in the array.
setFlags(Message[],Flags,boolean) - method in class com.sun.mail.imap.IMAPFolder
Set the specified flags for the given array of messages.
setFrom() - method in class javax.mail.Message
Set the "From" attribute in this Message.
setFrom() - method in class javax.mail.internet.MimeMessage
Set the RFC 822 "From" header field using the value of the InternetAddress.getLocalAddress method.
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.
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.
setHeader(String,String) - method in class javax.mail.Part
Set the value for this header_name.
setHeader(String,String) - method in class com.sun.mail.pop3.POP3Message
Set the value for this header_name.
setHost(String) - method in class javax.mail.internet.NewsAddress
Set the host.
setLocalHost(String) - method in class com.sun.mail.smtp.SMTPTransport
Set the name of the local host, for use in the EHLO and HELO commands.
setMailExtension(String) - method in class com.sun.mail.smtp.SMTPMessage
Set the extension string to use with the MAIL command.
setMessageDSN(InternetHeaders) - method in class com.sun.mail.dsn.DeliveryStatus
Set the per-message fields in the delivery status notification.
setMessageNumber(int) - method in class javax.mail.Message
Set the Message number for this Message.
Setup this Multipart object from the given MultipartDataSource.
setName(String) - method in class javax.mail.util.ByteArrayDataSource
Set the name of the data.
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.
setNotifyOptions(int) - method in class com.sun.mail.smtp.SMTPMessage
Set notification options to be used if the server supports Delivery Status Notification (RFC 1891).
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.
setPassword(String) - method in class com.sun.mail.imap.IMAPStore
Set the password that will be used for subsequent connections after this Store is first connected (for example, when creating a connection to open a Folder).
Save a PasswordAuthentication for this (store or transport) URLName.
setPersonal(String) - method in class javax.mail.internet.InternetAddress
Set the personal name.
setPersonal(String,String) - method in class javax.mail.internet.InternetAddress
Set the personal name.
setPreamble(String) - method in class javax.mail.internet.MimeMultipart
Set the preamble text to be included before the first body part.
setPrimaryType(String) - method in class javax.mail.internet.ContentType
Set the primary type.
setProtocolForAddress(String,String) - method in class javax.mail.Session
Set the default transport protocol to use for addresses of the specified 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.
setQuota(Quota) - method in class com.sun.mail.imap.IMAPFolder
Set the quotas for the quotaroot specified in the quota argument.
setQuota(Quota) - method in class com.sun.mail.imap.IMAPStore
Set the quotas for the quota root specified in the quota argument.
setQuota(Quota) - method in class javax.mail.QuotaAwareStore
Set the quotas for the quota root specified in the quota argument.
Set the recipient address.
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.
setReportSuccess(boolean) - method in class com.sun.mail.smtp.SMTPTransport
Set whether successful sends should be reported by throwing an exception.
setResourceLimit(String,long) - method in class javax.mail.Quota
Set a resource limit for this quota root.
setReturnedMessage(MimeMessage) - method in class com.sun.mail.dsn.MultipartReport
Set the original message to be returned as part of the multipart/report.
setReturnOption(int) - method in class com.sun.mail.smtp.SMTPMessage
Set return option to be used if server supports Delivery Status Notification (RFC 1891).
setRights(Rights) - method in class com.sun.mail.imap.ACL
Set the rights associated with this ACL entry.
setSASLRealm(String) - method in class com.sun.mail.smtp.SMTPTransport
Sets the SASL realm to be used for DIGEST-MD5 authentication.
setSender(Address) - method in class javax.mail.internet.MimeMessage
Set the RFC 822 "Sender" header field.
setSendPartial(boolean) - method in class com.sun.mail.smtp.SMTPMessage
If set to true, and this message has some valid and some invalid addresses, send the message anyway, reporting the partial failure with a SendFailedException.
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.
setStartTLS(boolean) - method in class com.sun.mail.smtp.SMTPTransport
Set whether the STARTTLS command should be used.
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.
setSubmitter(String) - method in class com.sun.mail.smtp.SMTPMessage
Sets the submitter to be used for the RFC 2554 AUTH= value in the MAIL FROM command.
setSubscribed(boolean) - method in class javax.mail.Folder
Subscribe or unsubscribe this Folder.
setSubscribed(boolean) - method in class com.sun.mail.imap.IMAPFolder
Subscribe/Unsubscribe this folder.
setSubType(String) - method in class javax.mail.internet.ContentType
Set the subType.
setSubType(String) - method in class javax.mail.internet.MimeMultipart
Set the subtype.
setSubType(String) - method in class com.sun.mail.dsn.MultipartReport
Set the subtype.
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) - 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) - method in class 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) - method in class com.sun.mail.dsn.MultipartReport
Set the message to be presented to the user as just a text/plain part containing the specified text.
setText(String) - method in class 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,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,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,String) - method in class 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.
setText(String,String,String) - method in class javax.mail.internet.MimeBodyPart
Convenience method that sets the given String as this part's content, with a primary MIME type of "text" and the specified MIME subtype.
setText(String,String,String) - method in class javax.mail.internet.MimeMessage
Convenience method that sets the given String as this part's content, with a primary MIME type of "text" and the specified MIME subtype.
setText(String,String,String) - method in class javax.mail.internet.MimePart
Convenience method that sets the given String as this part's content, with a primary MIME type of "text" and the specified MIME subtype.
setTextBodyPart(MimeBodyPart) - method in class com.sun.mail.dsn.MultipartReport
Set the body part containing the text to be presented to the user.
setURLName(URLName) - method in class javax.mail.Service
Set the URLName representing this service.
setUsername(String) - method in class com.sun.mail.imap.IMAPStore
Set the user name that will be used for subsequent connections after this Store is first connected (for example, when creating a connection to open a Folder).
setUseRset(boolean) - method in class com.sun.mail.smtp.SMTPTransport
Set whether the RSET command should be used instead of the NOOP command in the @{link #isConnected isConnected} method.
A ByteArrayInputStream that implements the SharedInputStream interface, allowing the underlying byte array to be shared between multiple readers.
SharedByteArrayInputStream(byte[]) - constructor for class javax.mail.util.SharedByteArrayInputStream
Create a SharedByteArrayInputStream representing the entire byte array.
Create a SharedByteArrayInputStream representing the part of the byte array from offset for length bytes.
A SharedFileInputStream is a BufferedInputStream that buffers data from the file and supports the mark and reset methods.
SharedFileInputStream(File) - constructor for class javax.mail.util.SharedFileInputStream
Creates a SharedFileInputStream for the file.
SharedFileInputStream(File,int) - constructor for class javax.mail.util.SharedFileInputStream
Creates a SharedFileInputStream with the specified buffer size.
SharedFileInputStream(String) - constructor for class javax.mail.util.SharedFileInputStream
Creates a SharedFileInputStream for the named file
SharedFileInputStream(String,int) - constructor for class javax.mail.util.SharedFileInputStream
Creates a SharedFileInputStream with the specified buffer size.
SharedInputStream - interface javax.mail.internet.SharedInputStream
An InputStream that is backed by data that can be shared by multiple readers may implement this interface.
size() - method in class javax.mail.internet.ParameterList
Return the number of parameters in this list.
SizeTerm - class javax.mail.search.SizeTerm
This class implements comparisons for Message sizes.
SizeTerm(int,int) - constructor for class javax.mail.search.SizeTerm
Constructor.
skip(long) - method in class javax.mail.util.SharedFileInputStream
See the general contract of the skip method of InputStream.
This exception is thrown when the message cannot be sent.
Constructs an SMTPAddressFailedException with the specified address, return code, and error string.
This exception is chained off a SendFailedException when the mail.smtp.reportsuccess property is true.
Constructs an SMTPAddressSucceededException with the specified address, return code, and error string.
SMTPMessage - class com.sun.mail.smtp.SMTPMessage
This class is a specialization of the MimeMessage class that allows you to specify various SMTP options and parameters that will be used when this message is sent over SMTP.
SMTPMessage(MimeMessage) - constructor for class com.sun.mail.smtp.SMTPMessage
Constructs a new SMTPMessage with content initialized from the source MimeMessage.
SMTPMessage(Session) - constructor for class com.sun.mail.smtp.SMTPMessage
Default constructor.
SMTPMessage(Session,InputStream) - constructor for class com.sun.mail.smtp.SMTPMessage
Constructs an SMTPMessage by reading and parsing the data from the specified MIME InputStream.
This exception is thrown when the message cannot be sent.
Constructs an SMTPSendFailedException with the specified address, return code, and error string.
SMTPSSLTransport - class com.sun.mail.smtp.SMTPSSLTransport
This class implements the Transport abstract class using SMTP over SSL for message submission and transport.
SMTPSSLTransport(Session,URLName) - constructor for class com.sun.mail.smtp.SMTPSSLTransport
Constructor
SMTPTransport - class com.sun.mail.smtp.SMTPTransport
This class implements the Transport abstract class using SMTP for message submission and transport.
SMTPTransport(Session,URLName) - constructor for class com.sun.mail.smtp.SMTPTransport
Constructor that takes a Session object and a URLName that represents a specific SMTP server.
SMTPTransport(Session,URLName,String,int,boolean) - constructor for class com.sun.mail.smtp.SMTPTransport
Constructor used by this class and by SMTPSSLTransport subclass.
start - field in class javax.mail.util.SharedByteArrayInputStream
Position within shared buffer that this stream starts at.
start - field in class javax.mail.util.SharedFileInputStream
The file offset of the start of data in this subset of the file.
store - field in class javax.mail.Folder
The parent store.
Store - class javax.mail.Store
An abstract class that models a message store and its access protocol, for storing and retrieving messages.
Store(Session,URLName) - constructor for class javax.mail.Store
Constructor.
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.
StringTerm(String) - constructor for class javax.mail.search.StringTerm
StringTerm(String,boolean) - constructor for class javax.mail.search.StringTerm
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.
supportsExtension(String) - method in class com.sun.mail.smtp.SMTPTransport
Return true if the SMTP server supports the specified service extension.

T

term - field in class javax.mail.search.NotTerm
The search term to negate.
terms - field in class javax.mail.search.AndTerm
The array of terms on which the AND operator should be applied.
terms - field in class javax.mail.search.OrTerm
The array of terms on which the OR operator should be applied.
top(int) - method in class com.sun.mail.pop3.POP3Message
Fetch the header of the message and the first n lines of the raw content of the message.
toString() - method in class javax.mail.Address
Return a String representation of this address object.
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 com.sun.mail.dsn.DeliveryStatus
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.internet.InternetAddress
Convert this address into a RFC 822 / RFC 2047 encoded address.
toString() - method in class javax.mail.MessagingException
Override toString method to provide information on nested exceptions.
toString() - method in class javax.mail.internet.NewsAddress
Convert this address into a RFC 1036 address.
toString() - method in class javax.mail.internet.ParameterList
Convert this ParameterList into a MIME String.
toString() - method in class javax.mail.Provider
Overrides Object.toString()
toString() - method in class com.sun.mail.imap.Rights
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(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[]) - static method in class javax.mail.internet.NewsAddress
Convert the given array of NewsAddress 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(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.
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.
TransportEvent - class javax.mail.event.TransportEvent
This class models Transport events.
Constructor.
TransportListener - interface javax.mail.event.TransportListener
This is the Listener interface for Transport events
type - field in class javax.mail.event.ConnectionEvent
The event type.
type - field in class javax.mail.event.FolderEvent
The event type.
type - field in class com.sun.mail.imap.IMAPFolder
type - field in class javax.mail.event.MessageChangedEvent
The event type.
type - field in class javax.mail.event.MessageCountEvent
The event type.
type - field in class javax.mail.search.RecipientTerm
The recipient type.
type - field in class javax.mail.event.StoreEvent
The event type.
type - field in class javax.mail.event.TransportEvent
The event type.

U

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.
uidTable - field in class com.sun.mail.imap.IMAPFolder
unfold(String) - static method in class javax.mail.internet.MimeUtility
Unfold a folded header.
UniqueValue - class javax.mail.internet.UniqueValue
This is a utility class that generates unique values.
UNKNOWN_SEPARATOR - static field in class com.sun.mail.imap.IMAPFolder
updateHeaders() - method in class javax.mail.internet.MimeBodyPart
Examine the content of this body part and update the appropriate MIME headers.
updateHeaders() - method in class javax.mail.internet.MimeMessage
Called by the saveChanges method to actually update the MIME headers.
updateHeaders() - method in class javax.mail.internet.MimeMultipart
Update headers.
updateHeaders() - method in class javax.mail.internet.PreencodedMimeBodyPart
Force the Content-Transfer-Encoding header to use the encoding that was specified when this object was created.
updateMessageID() - method in class javax.mail.internet.MimeMessage
Update the Message-ID header.
url - field in class javax.mail.Service
The URLName of this service.
URLName - class javax.mail.URLName
The name of a URL.
URLName(String) - constructor for class javax.mail.URLName
Construct a URLName from the string.
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.

V

validate() - method in class javax.mail.internet.InternetAddress
Validate that this address conforms to the syntax rules of RFC 822.
validSent - field in class javax.mail.SendFailedException
validSent - field in class javax.mail.event.TransportEvent
validUnsent - field in class javax.mail.SendFailedException
validUnsent - field in class javax.mail.event.TransportEvent
value - field in class javax.mail.Header
The value of the header.

W

writeTo(OutputStream) - method in class com.sun.mail.dsn.DeliveryStatus
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) - method in class javax.mail.internet.MimeMultipart
Iterates through all the parts and outputs each Mime part separated by a boundary.
writeTo(OutputStream) - method in class javax.mail.Multipart
Output an appropriately encoded bytestream to the given OutputStream.
writeTo(OutputStream) - method in class javax.mail.Part
Output a bytestream for this Part.
writeTo(OutputStream) - method in class javax.mail.internet.PreencodedMimeBodyPart
Output the body part 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.