A B C D E F G H I J K L M N O P Q R S T U V W X Y
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ACL - Class in com.sun.mail.imap
-
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(Status, Status) - Static method in class com.sun.mail.imap.protocol.Status
- add(Rights) - Method in class com.sun.mail.imap.Rights
-
Add all the rights in the given Rights object to this Rights object.
- add(Rights.Right) - Method in class com.sun.mail.imap.Rights
-
Add the specified right to this Rights object.
- add(FetchProfile.Item) - Method in class jakarta.mail.FetchProfile
-
Add the given special item as one of the attributes to be prefetched.
- add(Flags) - Method in class jakarta.mail.Flags
-
Add all the flags in the given Flags object to this Flags object.
- add(Flags.Flag) - Method in class jakarta.mail.Flags
-
Add the specified system flag to this Flags object.
- add(String) - Method in class jakarta.mail.FetchProfile
-
Add the specified header-field to the list of attributes to be prefetched.
- add(String) - Method in class jakarta.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 jakarta.mail.internet.MimeMultipart
-
Adds a Part to the multipart.
- addBodyPart(BodyPart) - Method in class jakarta.mail.Multipart
-
Adds a Part to the multipart.
- addBodyPart(BodyPart, int) - Method in class jakarta.mail.internet.MimeMultipart
-
Adds a BodyPart at position
index
. - addBodyPart(BodyPart, int) - Method in class jakarta.mail.Multipart
-
Adds a BodyPart at position
index
. - addConnectionListener(ConnectionListener) - Method in class jakarta.mail.Folder
-
Add a listener for Connection events on this Folder.
- addConnectionListener(ConnectionListener) - Method in class jakarta.mail.Service
-
Add a listener for Connection events on this service.
- ADDED - Static variable in class jakarta.mail.event.MessageCountEvent
-
The messages were added to their folder
- addFolderListener(FolderListener) - Method in class jakarta.mail.Folder
-
Add a listener for Folder events on this Folder.
- addFolderListener(FolderListener) - Method in class jakarta.mail.Store
-
Add a listener for Folder events on any Folder object obtained from this Store.
- addFrom(Address[]) - Method in class com.sun.mail.imap.IMAPMessage
- addFrom(Address[]) - Method in class jakarta.mail.internet.MimeMessage
-
Add the specified addresses to the existing "From" field.
- addFrom(Address[]) - Method in class jakarta.mail.Message
-
Add these addresses to the existing "From" attribute
- addHeader(String, String) - Method in class com.sun.mail.imap.IMAPBodyPart
- addHeader(String, String) - Method in class com.sun.mail.imap.IMAPMessage
- addHeader(String, String) - Method in class com.sun.mail.pop3.POP3Message
-
Add this value to the existing values for this header_name.
- addHeader(String, String) - Method in class jakarta.mail.internet.InternetHeaders
-
Add a header with the specified name and value to the header list.
- addHeader(String, String) - Method in class jakarta.mail.internet.MimeBodyPart
-
Add this value to the existing values for this header_name.
- addHeader(String, String) - Method in class jakarta.mail.internet.MimeMessage
-
Add this value to the existing values for this header_name.
- addHeader(String, String) - Method in interface jakarta.mail.Part
-
Add this value to the existing values for this header_name.
- addHeaderLine(String) - Method in class com.sun.mail.imap.IMAPBodyPart
- addHeaderLine(String) - Method in class com.sun.mail.imap.IMAPMessage
- addHeaderLine(String) - Method in class com.sun.mail.pop3.POP3Message
-
Add a raw RFC822 header-line.
- addHeaderLine(String) - Method in class jakarta.mail.internet.InternetHeaders
-
Add an RFC822 header line to the header store.
- addHeaderLine(String) - Method in class jakarta.mail.internet.MimeBodyPart
-
Add a header line to this body part
- addHeaderLine(String) - Method in class jakarta.mail.internet.MimeMessage
-
Add a raw RFC 822 header-line.
- addHeaderLine(String) - Method in interface jakarta.mail.internet.MimePart
-
Add a raw RFC822 header-line.
- addMessageChangedListener(MessageChangedListener) - Method in class jakarta.mail.Folder
-
Add a listener for MessageChanged events on this Folder.
- addMessageCountListener(MessageCountListener) - Method in class com.sun.mail.imap.IMAPFolder
- addMessageCountListener(MessageCountListener) - Method in class jakarta.mail.Folder
-
Add a listener for MessageCount events on this Folder.
- addMessages(int, int) - Method in class com.sun.mail.imap.MessageCache
-
Add count messages to the cache.
- addMessages(Message[]) - Method in class com.sun.mail.imap.IMAPFolder
-
Append the given messages into this folder.
- addProvider(Provider) - Method in class jakarta.mail.Session
-
Add a provider to the session.
- addr - Variable in exception com.sun.mail.smtp.SMTPAddressFailedException
- addr - Variable in exception com.sun.mail.smtp.SMTPAddressSucceededException
- addr - Variable in exception com.sun.mail.smtp.SMTPSenderFailedException
- addr - Variable in exception com.sun.mail.smtp.SMTPSendFailedException
- addRecipient(Message.RecipientType, Address) - Method in class jakarta.mail.Message
-
Add this recipient address to the existing ones of the given type.
- addRecipients(Message.RecipientType, Address[]) - Method in class com.sun.mail.imap.IMAPMessage
- addRecipients(Message.RecipientType, Address[]) - Method in class jakarta.mail.internet.MimeMessage
-
Add the given addresses to the specified recipient type.
- addRecipients(Message.RecipientType, Address[]) - Method in class jakarta.mail.Message
-
Add these recipient addresses to the existing ones of the given type.
- addRecipients(Message.RecipientType, String) - Method in class jakarta.mail.internet.MimeMessage
-
Add the given addresses to the specified recipient type.
- addResponseHandler(ResponseHandler) - Method in class com.sun.mail.iap.Protocol
-
Adds a response handler.
- address - Variable in class jakarta.mail.internet.InternetAddress
- address - Variable in class jakarta.mail.search.AddressTerm
-
The address.
- Address - Class in jakarta.mail
-
This abstract class models the addresses in a message.
- Address() - Constructor for class jakarta.mail.Address
- AddressException - Exception in jakarta.mail.internet
-
The exception thrown when a wrongly formatted address is encountered.
- AddressException() - Constructor for exception jakarta.mail.internet.AddressException
-
Constructs an AddressException with no detail message.
- AddressException(String) - Constructor for exception jakarta.mail.internet.AddressException
-
Constructs an AddressException with the specified detail message.
- AddressException(String, String) - Constructor for exception jakarta.mail.internet.AddressException
-
Constructs an AddressException with the specified detail message and reference info.
- AddressException(String, String, int) - Constructor for exception jakarta.mail.internet.AddressException
-
Constructs an AddressException with the specified detail message and reference info.
- AddressStringTerm - Class in jakarta.mail.search
-
This abstract class implements string comparisons for Message addresses.
- AddressStringTerm(String) - Constructor for class jakarta.mail.search.AddressStringTerm
-
Constructor.
- AddressTerm - Class in jakarta.mail.search
-
This class implements Message Address comparisons.
- AddressTerm(Address) - Constructor for class jakarta.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 jakarta.mail.Store
-
Add a listener for StoreEvents on this Store.
- addTransportListener(TransportListener) - Method in class jakarta.mail.Transport
-
Add a listener for Transport events.
- ADMINISTER - Static variable in class com.sun.mail.imap.Rights.Right
-
Administer - perform SETACL.
- ALERT - Static variable in class jakarta.mail.event.StoreEvent
-
Indicates that this message is an ALERT.
- ALL - Static variable in class jakarta.mail.internet.MimeUtility
- allowEmpty - Variable in class jakarta.mail.internet.MimeMultipart
-
Flag corresponding to the "mail.mime.multipart.allowempty" property, set in the
MimeMultipart.initializeProperties()
method called from constructors and the parse method. - and(AndTerm, String) - Method in class com.sun.mail.imap.protocol.SearchSequence
- AndTerm - Class in jakarta.mail.search
-
This class implements the logical AND operator on individual SearchTerms.
- AndTerm(SearchTerm[]) - Constructor for class jakarta.mail.search.AndTerm
-
Constructor that takes an array of SearchTerms.
- AndTerm(SearchTerm, SearchTerm) - Constructor for class jakarta.mail.search.AndTerm
-
Constructor that takes two terms.
- ANSWERED - Static variable in class jakarta.mail.Flags.Flag
-
This message has been answered.
- append(Argument) - Method in class com.sun.mail.iap.Argument
-
Append the given Argument to this Argument.
- append(String, Flags, Date, Literal) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
APPEND Command.
- appendMessages(Message[]) - Method in class com.sun.mail.imap.DefaultFolder
- 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.DefaultFolder
- appendMessages(Message[]) - Method in class com.sun.mail.pop3.POP3Folder
-
Always throws
MethodNotSupportedException
because the POP3 protocol doesn't support appending messages. - appendMessages(Message[]) - Method in class jakarta.mail.Folder
-
Append given Messages to this folder.
- appenduid(String, Flags, Date, Literal) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
APPEND Command, return uid from APPENDUID response code.
- appenduid(String, Flags, Date, Literal, boolean) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
- AppendUID - Class in com.sun.mail.imap
-
Information from the APPENDUID response code defined by the UIDPLUS extension - RFC 4315.
- AppendUID(long, long) - Constructor for class com.sun.mail.imap.AppendUID
- appendUIDMessages(Message[]) - Method in class com.sun.mail.imap.IMAPFolder
-
Append the given messages into this folder.
- apply(Throwable) - Method in class com.sun.mail.util.logging.CompactFormatter
-
Chooses a single throwable from the cause chain that will be formatted.
- apply(Throwable) - Method in class com.sun.mail.util.logging.SeverityComparator
-
Identifies a single throwable that best describes the given throwable and the entire cause chain.
- apply(LogRecord, LogRecord) - Method in class com.sun.mail.util.logging.CollectorFormatter
-
Used to choose the collected LogRecord.
- applyLocalizedPattern(String) - Method in class jakarta.mail.internet.MailDateFormat
-
This method always throws an UnsupportedOperationException and should not be used because RFC 2822 mandates a specific pattern.
- applyPattern(String) - Method in class jakarta.mail.internet.MailDateFormat
-
This method always throws an UnsupportedOperationException and should not be used because RFC 2822 mandates a specific pattern.
- applyThenCompare(Throwable, Throwable) - Method in class com.sun.mail.util.logging.SeverityComparator
-
Reduces
each throwable chain argument then compare each throwable result. - Argument - Class in com.sun.mail.iap
- Argument() - Constructor for class com.sun.mail.iap.Argument
-
Constructor
- ARRIVAL - Static variable in class com.sun.mail.imap.SortTerm
-
Sort by message arrival date and time.
- ASCIIUtility - Class in com.sun.mail.util
- atBOL - Variable in class com.sun.mail.util.CRLFOutputStream
- ATOM - Static variable in class jakarta.mail.internet.HeaderTokenizer.Token
-
Token type indicating an ATOM.
- attachFile(File) - Method in class jakarta.mail.internet.MimeBodyPart
-
Use the specified file to provide the data for this part.
- attachFile(File, String, String) - Method in class jakarta.mail.internet.MimeBodyPart
-
Use the specified file with the specified Content-Type and Content-Transfer-Encoding to provide the data for this part.
- attachFile(String) - Method in class jakarta.mail.internet.MimeBodyPart
-
Use the specified file to provide the data for this part.
- attachFile(String, String, String) - Method in class jakarta.mail.internet.MimeBodyPart
-
Use the specified file with the specified Content-Type and Content-Transfer-Encoding to provide the data for this part.
- attachment - Variable in class com.sun.mail.imap.protocol.BODYSTRUCTURE
- ATTACHMENT - Static variable in interface jakarta.mail.Part
-
This part should be presented as an attachment.
- attributes - Variable in class com.sun.mail.imap.IMAPFolder
- attrs - Variable in class com.sun.mail.imap.protocol.ListInfo
- authClient(String, String, String, String, String) - Method in class com.sun.mail.smtp.DigestMD5
-
Return client's authentication response to server's challenge.
- authenticate(String[], String, String, String, String) - Method in class com.sun.mail.imap.protocol.IMAPSaslAuthenticator
- authenticate(String[], String, String, String, String) - Method in interface com.sun.mail.imap.protocol.SaslAuthenticator
- authenticate(String[], String, String, String, String) - Method in interface com.sun.mail.smtp.SaslAuthenticator
- authenticate(String[], String, String, String, String) - Method in class com.sun.mail.smtp.SMTPSaslAuthenticator
- AuthenticationFailedException - Exception in jakarta.mail
-
This exception is thrown when the connect method on a Store or Transport object fails due to an authentication failure (e.g., bad user name or password).
- AuthenticationFailedException() - Constructor for exception jakarta.mail.AuthenticationFailedException
-
Constructs an AuthenticationFailedException.
- AuthenticationFailedException(String) - Constructor for exception jakarta.mail.AuthenticationFailedException
-
Constructs an AuthenticationFailedException with the specified detail message.
- AuthenticationFailedException(String, Exception) - Constructor for exception jakarta.mail.AuthenticationFailedException
-
Constructs an AuthenticationFailedException with the specified detail message and embedded exception.
- Authenticator - Class in jakarta.mail
-
The class Authenticator represents an object that knows how to obtain authentication for a network connection.
- Authenticator() - Constructor for class jakarta.mail.Authenticator
- authlogin(String, String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
The AUTHENTICATE command with AUTH=LOGIN authenticate scheme
- authntlm(String, String, String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
The AUTHENTICATE command with AUTH=NTLM authentication scheme.
- authoauth2(String, String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
The AUTHENTICATE command with AUTH=XOAUTH2 authentication scheme.
- authorizationID - Variable in class com.sun.mail.imap.IMAPStore
- authplain(String, String, String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
The AUTHENTICATE command with AUTH=PLAIN authentication scheme.
- authServer(String) - Method in class com.sun.mail.smtp.DigestMD5
-
Allow the client to authenticate the server based on its response.
- available() - Method in class com.sun.mail.iap.ResponseInputStream
-
How much buffered data do we have?
- available() - Method in class com.sun.mail.imap.IMAPInputStream
-
Returns the number of bytes that can be read from this input stream without blocking.
- available() - Method in class com.sun.mail.util.BASE64DecoderStream
-
Returns the number of bytes that can be read from this input stream without blocking.
- available() - Method in class com.sun.mail.util.QPDecoderStream
-
Returns the number of bytes that can be read from this input stream without blocking.
- available() - Method in class com.sun.mail.util.UUDecoderStream
- available() - Method in class jakarta.mail.util.SharedFileInputStream
-
Returns the number of bytes that can be read from this input stream without blocking.
- availableFlags - Variable in class com.sun.mail.imap.IMAPFolder
- availableFlags - Variable in class com.sun.mail.imap.protocol.MailboxInfo
-
The available flags.
B
- ba - Variable in class com.sun.mail.util.QPDecoderStream
- BAD - Static variable in class com.sun.mail.iap.Response
- BadCommandException - Exception in com.sun.mail.iap
- BadCommandException() - Constructor for exception com.sun.mail.iap.BadCommandException
-
Constructs an BadCommandException with no detail message.
- BadCommandException(Response) - Constructor for exception com.sun.mail.iap.BadCommandException
-
Constructs an BadCommandException with the specified Response.
- BadCommandException(String) - Constructor for exception com.sun.mail.iap.BadCommandException
-
Constructs an BadCommandException with the specified detail message.
- base64decode(char[], int, CharacterIterator) - Static method in class com.sun.mail.imap.protocol.BASE64MailboxDecoder
- BASE64DecoderStream - Class in com.sun.mail.util
-
This class implements a BASE64 Decoder.
- BASE64DecoderStream(InputStream) - Constructor for class com.sun.mail.util.BASE64DecoderStream
-
Create a BASE64 decoder that decodes the specified input stream.
- BASE64DecoderStream(InputStream, boolean) - Constructor for class com.sun.mail.util.BASE64DecoderStream
-
Create a BASE64 decoder that decodes the specified input stream.
- BASE64EncoderStream - Class in com.sun.mail.util
-
This class implements a BASE64 encoder.
- BASE64EncoderStream(OutputStream) - Constructor for class com.sun.mail.util.BASE64EncoderStream
-
Create a BASE64 encoder that encodes the specified input stream.
- BASE64EncoderStream(OutputStream, int) - Constructor for class com.sun.mail.util.BASE64EncoderStream
-
Create a BASE64 encoder that encodes the specified output stream.
- BASE64MailboxDecoder - Class in com.sun.mail.imap.protocol
-
See the BASE64MailboxEncoder for a description of the RFC2060 and how mailbox names should be encoded.
- BASE64MailboxDecoder() - Constructor for class com.sun.mail.imap.protocol.BASE64MailboxDecoder
- BASE64MailboxEncoder - Class in com.sun.mail.imap.protocol
-
From RFC2060:
- BASE64MailboxEncoder(Writer) - Constructor for class com.sun.mail.imap.protocol.BASE64MailboxEncoder
-
Create a BASE64 encoder
- bcc - Variable in class com.sun.mail.imap.protocol.ENVELOPE
- BCC - Static variable in class jakarta.mail.Message.RecipientType
-
The "Bcc" (blind carbon copy) recipients.
- bdat() - Method in class com.sun.mail.smtp.SMTPTransport
-
Return a stream that will use the SMTP BDAT command to send data.
- BEncoderStream - Class in com.sun.mail.util
-
This class implements a 'B' Encoder as defined by RFC2047 for encoding MIME headers.
- BEncoderStream(OutputStream) - Constructor for class com.sun.mail.util.BEncoderStream
-
Create a 'B' encoder that encodes the specified input stream.
- bind(SocketAddress) - Method in class com.sun.mail.util.WriteTimeoutSocket
- bodies - Variable in class com.sun.mail.imap.protocol.BODYSTRUCTURE
- body(BodyTerm, String) - Method in class com.sun.mail.imap.protocol.SearchSequence
- BODY - Class in com.sun.mail.imap.protocol
-
The BODY fetch response item.
- BODY(FetchResponse) - Constructor for class com.sun.mail.imap.protocol.BODY
-
Constructor
- BodyPart - Class in jakarta.mail
-
This class models a Part that is contained within a Multipart.
- BodyPart() - Constructor for class jakarta.mail.BodyPart
- BODYSTRUCTURE - Class in com.sun.mail.imap.protocol
-
A BODYSTRUCTURE response.
- BODYSTRUCTURE(FetchResponse) - Constructor for class com.sun.mail.imap.protocol.BODYSTRUCTURE
- BodyTerm - Class in jakarta.mail.search
-
This class implements searches on a message body.
- BodyTerm(String) - Constructor for class jakarta.mail.search.BodyTerm
-
Constructor
- bs - Variable in class com.sun.mail.imap.IMAPMessage
- buffer - Variable in class com.sun.mail.iap.Response
- buffer - Variable in class com.sun.mail.imap.protocol.BASE64MailboxEncoder
- bufpos - Variable in class jakarta.mail.util.SharedFileInputStream
-
The file offset that corresponds to the first byte in the read buffer.
- bufsize - Variable in class com.sun.mail.imap.protocol.BASE64MailboxEncoder
- bufsize - Variable in class jakarta.mail.util.SharedFileInputStream
-
The normal size of the read buffer.
- BYE - Static variable in class com.sun.mail.iap.Response
- byeResponse(Exception) - Static method in class com.sun.mail.iap.Response
-
Return a Response object that looks like a BYE protocol response.
- ByteArray - Class in com.sun.mail.iap
-
A simple wrapper around a byte array, with a start position and count of bytes.
- ByteArray(byte[], int, int) - Constructor for class com.sun.mail.iap.ByteArray
-
Constructor
- ByteArray(int) - Constructor for class com.sun.mail.iap.ByteArray
-
Constructor that creates a byte array of the specified size.
- ByteArrayDataSource - Class in jakarta.mail.util
-
A DataSource backed by a byte array.
- ByteArrayDataSource(byte[], String) - Constructor for class jakarta.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 jakarta.mail.util.ByteArrayDataSource
-
Create a ByteArrayDataSource with data from the specified InputStream and with the specified MIME type.
- ByteArrayDataSource(String, String) - Constructor for class jakarta.mail.util.ByteArrayDataSource
-
Create a ByteArrayDataSource with data from the specified String and with the specified MIME type.
C
- cachedContent - Variable in class jakarta.mail.internet.MimeBodyPart
-
If our content is a Multipart of Message object, we save it the first time it's created by parsing a stream so that changes to the contained objects will not be lost.
- cachedContent - Variable in class jakarta.mail.internet.MimeMessage
-
If our content is a Multipart or Message object, we save it the first time it's created by parsing a stream so that changes to the contained objects will not be lost.
- cal - Variable in class com.sun.mail.imap.protocol.SearchSequence
- canOpen - Variable in class com.sun.mail.imap.protocol.ListInfo
- capabilities() - Method in class com.sun.mail.pop3.POP3Store
-
Return a Map of the capabilities the server provided, as per RFC 2449.
- capability() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
CAPABILITY command.
- cc - Variable in class com.sun.mail.imap.protocol.ENVELOPE
- CC - Static variable in class com.sun.mail.imap.SortTerm
-
Sort by email address of first Cc recipient.
- CC - Static variable in class jakarta.mail.Message.RecipientType
-
The "Cc" (carbon copy) recipients.
- CHANGED - Static variable in class com.sun.mail.imap.protocol.ListInfo
- changeState - Variable in class com.sun.mail.imap.protocol.ListInfo
- check() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
CHECK Command.
- checkClosed() - Method in class com.sun.mail.imap.IMAPFolder
- checkConnected() - Method in class com.sun.mail.smtp.SMTPTransport
-
Check if we're in the connected state.
- checkExists() - Method in class com.sun.mail.imap.IMAPFolder
- checkExpunged() - Method in class com.sun.mail.imap.IMAPMessage
- checkExpunged() - Method in class com.sun.mail.imap.IMAPNestedMessage
- checkOpened() - Method in class com.sun.mail.imap.IMAPFolder
- checkRange(int) - Method in class com.sun.mail.imap.IMAPFolder
- cleanContentType(MimePart, String) - Static method in class com.sun.mail.util.MimeUtil
-
If a Content-Type handler has been specified, call it to clean up the Content-Type value.
- clearSystemFlags() - Method in class jakarta.mail.Flags
-
Clear all of the system flags.
- clearUserFlags() - Method in class jakarta.mail.Flags
-
Clear all of the user flags.
- clone() - Method in class com.sun.mail.imap.ACL
-
Clone this ACL entry.
- clone() - Method in class com.sun.mail.imap.Rights
-
Returns a clone of this Rights object.
- clone() - Method in class com.sun.mail.util.logging.DurationFilter
-
Creates a copy of this filter that retains the filter settings but does not include the current filter state.
- clone() - Method in class jakarta.mail.Flags
-
Returns a clone of this Flags object.
- clone() - Method in class jakarta.mail.internet.InternetAddress
-
Return a copy of this InternetAddress object.
- clone() - Method in class jakarta.mail.internet.MailDateFormat
-
Overrides Cloneable.
- close() - Method in class com.sun.mail.imap.IMAPStore
-
Close this Store.
- close() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
CLOSE Command.
- close() - Method in class com.sun.mail.pop3.POP3Store
- close() - Method in class com.sun.mail.smtp.SMTPTransport
-
Close the Transport and terminate the connection to the server.
- close() - Method in class com.sun.mail.util.BASE64EncoderStream
-
Forces any buffered output bytes to be encoded out to the stream and closes this output stream
- close() - Method in class com.sun.mail.util.logging.MailHandler
-
Prevents any other records from being published.
- close() - Method in class com.sun.mail.util.QPEncoderStream
-
Forces any buffered output bytes to be encoded out to the stream and closes this output stream.
- close() - Method in class com.sun.mail.util.UUEncoderStream
- close() - Method in class com.sun.mail.util.WriteTimeoutSocket
- close() - Method in class jakarta.mail.Folder
-
Close this Folder and expunge deleted messages.
- close() - Method in class jakarta.mail.Service
-
Close this service and terminate its connection.
- close() - Method in class jakarta.mail.util.SharedFileInputStream
-
Closes this input stream and releases any system resources associated with the stream.
- close(boolean) - Method in class com.sun.mail.imap.IMAPFolder
-
Close this folder.
- close(boolean) - Method in class com.sun.mail.pop3.DefaultFolder
- close(boolean) - Method in class com.sun.mail.pop3.POP3Folder
- close(boolean) - Method in class jakarta.mail.Folder
-
Close this Folder.
- closed(ConnectionEvent) - Method in class jakarta.mail.event.ConnectionAdapter
- closed(ConnectionEvent) - Method in interface jakarta.mail.event.ConnectionListener
-
Invoked when a Store/Folder/Transport is closed.
- CLOSED - Static variable in class jakarta.mail.event.ConnectionEvent
-
A connection was closed.
- cmd - Variable in exception com.sun.mail.smtp.SMTPAddressFailedException
- cmd - Variable in exception com.sun.mail.smtp.SMTPAddressSucceededException
- cmd - Variable in exception com.sun.mail.smtp.SMTPSenderFailedException
- cmd - Variable in exception com.sun.mail.smtp.SMTPSendFailedException
- CollectorFormatter - Class in com.sun.mail.util.logging
-
A LogRecord formatter that takes a sequence of LogRecords and combines them into a single summary result.
- CollectorFormatter() - Constructor for class com.sun.mail.util.logging.CollectorFormatter
-
Creates the formatter using the LogManager defaults.
- CollectorFormatter(String) - Constructor for class com.sun.mail.util.logging.CollectorFormatter
-
Creates the formatter using the given format.
- CollectorFormatter(String, Formatter, Comparator<? super LogRecord>) - Constructor for class com.sun.mail.util.logging.CollectorFormatter
-
Creates the formatter using the given values.
- com.sun.mail.auth - package com.sun.mail.auth
-
This package includes internal authentication support classes and SHOULD NOT BE USED DIRECTLY BY APPLICATIONS.
- com.sun.mail.handlers - package com.sun.mail.handlers
-
This package includes internal data handler support classes and SHOULD NOT BE USED DIRECTLY BY APPLICATIONS.
- com.sun.mail.iap - package com.sun.mail.iap
-
This package includes internal IMAP support classes and SHOULD NOT BE USED DIRECTLY BY APPLICATIONS.
- com.sun.mail.imap - package com.sun.mail.imap
-
An IMAP protocol provider for the Jakarta Mail API that provides access to an IMAP message store.
- com.sun.mail.imap.protocol - package com.sun.mail.imap.protocol
-
This package includes internal IMAP support classes and SHOULD NOT BE USED DIRECTLY BY APPLICATIONS.
- com.sun.mail.pop3 - package com.sun.mail.pop3
-
A POP3 protocol provider for the Jakarta Mail API that provides access to a POP3 message store.
- com.sun.mail.smtp - package com.sun.mail.smtp
-
An SMTP protocol provider for the Jakarta Mail API that provides access to an SMTP server.
- com.sun.mail.util - package com.sun.mail.util
-
Utility classes for use with the Jakarta Mail API.
- com.sun.mail.util.logging - package com.sun.mail.util.logging
-
Contains Jakarta Mail extensions for the Java™ platform's core logging facilities.
- combineSegments() - Method in class jakarta.mail.internet.ParameterList
-
Normal users of this class will use simple parameter names.
- command(String, Argument) - Method in class com.sun.mail.iap.Protocol
-
Send a command to the server.
- CommandFailedException - Exception in com.sun.mail.iap
- CommandFailedException() - Constructor for exception com.sun.mail.iap.CommandFailedException
-
Constructs an CommandFailedException with no detail message.
- CommandFailedException(Response) - Constructor for exception com.sun.mail.iap.CommandFailedException
-
Constructs an CommandFailedException with the specified Response.
- CommandFailedException(String) - Constructor for exception com.sun.mail.iap.CommandFailedException
-
Constructs an CommandFailedException with the specified detail message.
- COMMENT - Static variable in class jakarta.mail.internet.HeaderTokenizer.Token
-
Token type indicating a comment.
- CompactFormatter - Class in com.sun.mail.util.logging
-
A plain text formatter that can produce fixed width output.
- CompactFormatter() - Constructor for class com.sun.mail.util.logging.CompactFormatter
-
Creates an instance with a default format pattern.
- CompactFormatter(String) - Constructor for class com.sun.mail.util.logging.CompactFormatter
-
Creates an instance with the given format pattern.
- compare(LogRecord, LogRecord) - Method in class com.sun.mail.util.logging.SeverityComparator
-
Compares two log records based on severity.
- compareThrowable(Throwable, Throwable) - Method in class com.sun.mail.util.logging.SeverityComparator
-
Compares two throwable objects or null.
- comparison - Variable in class jakarta.mail.search.ComparisonTerm
-
The comparison.
- ComparisonTerm - Class in jakarta.mail.search
-
This class models the comparison operator.
- ComparisonTerm() - Constructor for class jakarta.mail.search.ComparisonTerm
- complete - Variable in class jakarta.mail.internet.MimeMultipart
-
Have we seen the final bounary line?
- compress() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
COMPRESS Command.
- CONDSTORE - Static variable in class com.sun.mail.imap.ResyncData
-
Used to enable only the CONDSTORE extension.
- config(String) - Method in class com.sun.mail.util.MailLogger
-
Log a message at the CONFIG level.
- connect() - Method in class jakarta.mail.Service
-
A generic connect method that takes no parameters.
- connect(String, int, String, String) - Method in class jakarta.mail.Service
-
Similar to connect(host, user, password) except a specific port can be specified.
- connect(String, String) - Method in class jakarta.mail.Service
-
Connect to the current host using the specified username and password.
- connect(String, String, String) - Method in class jakarta.mail.Service
-
Connect to the specified address.
- 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(SocketAddress) - Method in class com.sun.mail.util.WriteTimeoutSocket
- connect(SocketAddress, int) - Method in class com.sun.mail.util.WriteTimeoutSocket
- ConnectionAdapter - Class in jakarta.mail.event
-
The adapter which receives connection events.
- ConnectionAdapter() - Constructor for class jakarta.mail.event.ConnectionAdapter
- ConnectionEvent - Class in jakarta.mail.event
-
This class models Connection events.
- ConnectionEvent(Object, int) - Constructor for class jakarta.mail.event.ConnectionEvent
-
Construct a ConnectionEvent.
- ConnectionException - Exception in com.sun.mail.iap
- ConnectionException() - Constructor for exception com.sun.mail.iap.ConnectionException
-
Constructs an ConnectionException with no detail message.
- ConnectionException(Protocol, Response) - Constructor for exception com.sun.mail.iap.ConnectionException
-
Constructs an ConnectionException with the specified Response.
- ConnectionException(String) - Constructor for exception com.sun.mail.iap.ConnectionException
-
Constructs an ConnectionException with the specified detail message.
- ConnectionListener - Interface in jakarta.mail.event
-
This is the Listener interface for Connection events.
- 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(Rights.Right) - Method in class com.sun.mail.imap.Rights
-
Check whether the specified right is present in this Rights object.
- contains(FetchProfile.Item) - Method in class jakarta.mail.FetchProfile
-
Returns true if the fetch profile contains the given special item.
- contains(Flags) - Method in class jakarta.mail.Flags
-
Check whether all the flags in the specified Flags object are present in this Flags object.
- contains(Flags.Flag) - Method in class jakarta.mail.Flags
-
Check whether the specified system flag is present in this Flags object.
- contains(String) - Method in class jakarta.mail.FetchProfile
-
Returns true if the fetch profile contains the given header name.
- contains(String) - Method in class jakarta.mail.Flags
-
Check whether the specified user flag is present in this Flags object.
- content - Variable in class jakarta.mail.internet.MimeBodyPart
-
Byte array that holds the bytes of the content of this Part.
- content - Variable in class jakarta.mail.internet.MimeMessage
-
Byte array that holds the bytes of this Message's content.
- CONTENT_INFO - Static variable in class jakarta.mail.FetchProfile.Item
-
This item is for fetching information about the content of the message.
- ContentDisposition - Class in jakarta.mail.internet
-
This class represents a MIME ContentDisposition value.
- ContentDisposition() - Constructor for class jakarta.mail.internet.ContentDisposition
-
No-arg Constructor.
- ContentDisposition(String) - Constructor for class jakarta.mail.internet.ContentDisposition
-
Constructor that takes a ContentDisposition string.
- ContentDisposition(String, ParameterList) - Constructor for class jakarta.mail.internet.ContentDisposition
-
Constructor.
- contentStream - Variable in class jakarta.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 - Variable in class jakarta.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 - Variable in class jakarta.mail.Multipart
-
This field specifies the content-type of this multipart object.
- ContentType - Class in jakarta.mail.internet
-
This class represents a MIME Content-Type value.
- ContentType() - Constructor for class jakarta.mail.internet.ContentType
-
No-arg Constructor.
- ContentType(String) - Constructor for class jakarta.mail.internet.ContentType
-
Constructor that takes a Content-Type string.
- ContentType(String, String, ParameterList) - Constructor for class jakarta.mail.internet.ContentType
-
Constructor.
- CONTINUATION - Static variable in class com.sun.mail.iap.Response
- copy(int, int, String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
COPY command.
- copy(MessageSet[], String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
COPY command.
- copyMessages(Message[], Folder) - Method in class com.sun.mail.imap.IMAPFolder
-
Copy the specified messages from this folder, to the specified destination.
- copyMessages(Message[], Folder) - Method in class jakarta.mail.Folder
-
Copy the specified Messages from this Folder into another Folder.
- copyuid(int, int, String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
COPY command, return uid from COPYUID response code.
- copyuid(MessageSet[], String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
COPY command, return uid from COPYUID response code.
- CopyUID - Class in com.sun.mail.imap
-
Information from the COPYUID response code defined by the UIDPLUS extension - RFC 4315.
- CopyUID(long, UIDSet[], UIDSet[]) - Constructor for class com.sun.mail.imap.CopyUID
- copyUIDMessages(Message[], Folder) - Method in class com.sun.mail.imap.IMAPFolder
-
Copy the specified messages from this folder, to the specified destination.
- cParams - Variable in class com.sun.mail.imap.protocol.BODYSTRUCTURE
- 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.DefaultFolder
- create(int) - Method in class com.sun.mail.pop3.POP3Folder
-
Always returns
false
; the POP3 protocol doesn't support creating folders. - create(int) - Method in class jakarta.mail.Folder
-
Create this folder on the Store.
- create(String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
CREATE Command.
- CREATE - Static variable in class com.sun.mail.imap.Rights.Right
-
Create - CREATE new sub-mailboxes in any implementation-defined hierarchy, RENAME or DELETE mailbox.
- CREATED - Static variable in class jakarta.mail.event.FolderEvent
-
The folder was created.
- createFlagList(Flags) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
Creates an IMAP flag_list from the given Flags object.
- createInternetHeaders(InputStream) - Method in class jakarta.mail.internet.MimeMessage
-
Create and return an InternetHeaders object that loads the headers from the given InputStream.
- createInternetHeaders(InputStream) - Method in class jakarta.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
- createMessageSets(int[]) - Static method in class com.sun.mail.imap.protocol.MessageSet
-
Convert an array of integers into an array of MessageSets
- createMimeBodyPart(InternetHeaders, byte[]) - Method in class jakarta.mail.internet.MimeMultipart
-
Create and return a MimeBodyPart object to represent a body part parsed from the InputStream.
- createMimeBodyPart(InputStream) - Method in class jakarta.mail.internet.MimeMultipart
-
Create and return a MimeBodyPart object to represent a body part parsed from the InputStream.
- createMimeMessage(Session) - Method in class jakarta.mail.internet.MimeMessage
-
Create and return a MimeMessage object.
- createSaslClient(String[], String, String, String, Map<String, ?>, CallbackHandler) - Method in class com.sun.mail.auth.OAuth2SaslClientFactory
- createSocket() - Method in class com.sun.mail.util.MailSSLSocketFactory
- createSocket(String, int) - Method in class com.sun.mail.util.MailSSLSocketFactory
- createSocket(String, int, InetAddress, int) - Method in class com.sun.mail.util.MailSSLSocketFactory
- createSocket(InetAddress, int) - Method in class com.sun.mail.util.MailSSLSocketFactory
- createSocket(InetAddress, int, InetAddress, int) - Method in class com.sun.mail.util.MailSSLSocketFactory
- createSocket(Socket, String, int, boolean) - Method in class com.sun.mail.util.MailSSLSocketFactory
- createUIDSets(long[]) - Static method in class com.sun.mail.imap.protocol.UIDSet
-
Convert an array of longs into an array of UIDSets
- CRLFOutputStream - Class in com.sun.mail.util
-
Convert lines into the canonical format, that is, terminate lines with the CRLF sequence.
- CRLFOutputStream(OutputStream) - Constructor for class com.sun.mail.util.CRLFOutputStream
D
- data() - Method in class com.sun.mail.smtp.SMTPTransport
-
Send the
DATA
command to the SMTP host and return an OutputStream to which the data is to be written. - datalen - Variable in class jakarta.mail.util.SharedFileInputStream
-
The amount of data in this subset of the file.
- date - Variable in class com.sun.mail.imap.protocol.ENVELOPE
- date - Variable in class com.sun.mail.imap.protocol.INTERNALDATE
- date - Variable in class jakarta.mail.search.DateTerm
-
The date.
- DATE - Static variable in class com.sun.mail.imap.SortTerm
-
Sort by sent date and time.
- DateTerm - Class in jakarta.mail.search
-
This class implements comparisons for Dates
- DateTerm(int, Date) - Constructor for class jakarta.mail.search.DateTerm
-
Constructor.
- debug - Variable in class jakarta.mail.Service
-
Debug flag for this service.
- decode(byte[]) - Static method in class com.sun.mail.util.BASE64DecoderStream
-
Base64 decode a byte array.
- decode(InputStream, String) - Static method in class jakarta.mail.internet.MimeUtility
-
Decode the given input stream.
- decode(String) - Static method in class com.sun.mail.imap.protocol.BASE64MailboxDecoder
- decodeText(String) - Static method in class jakarta.mail.internet.MimeUtility
-
Decode "unstructured" headers, that is, headers that are defined as '*text' as per RFC 822.
- decodeWord(String) - Static method in class jakarta.mail.internet.MimeUtility
-
The string is parsed using the rules in RFC 2047 and RFC 2231 for parsing an "encoded-word".
- DecodingException - Exception in com.sun.mail.util
-
A special IOException that indicates a failure to decode data due to an error in the formatting of the data.
- DecodingException(String) - Constructor for exception com.sun.mail.util.DecodingException
-
Constructor.
- DefaultFolder - Class in com.sun.mail.imap
-
The default IMAP folder (root of the naming hierarchy).
- DefaultFolder - Class in com.sun.mail.pop3
-
The POP3 DefaultFolder.
- DefaultFolder(IMAPStore) - Constructor for class com.sun.mail.imap.DefaultFolder
- defaultPort - Variable in class com.sun.mail.imap.IMAPStore
- DefaultProvider - Annotation Type in com.sun.mail.util
-
Annotation to mark the default providers that are part of Jakarta Mail.
- delete(boolean) - Method in class com.sun.mail.imap.DefaultFolder
- delete(boolean) - Method in class com.sun.mail.imap.IMAPFolder
-
Delete this folder.
- delete(boolean) - Method in class com.sun.mail.pop3.DefaultFolder
- 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. - delete(boolean) - Method in class jakarta.mail.Folder
-
Delete this Folder.
- delete(String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
DELETE Command.
- DELETE - Static variable in class com.sun.mail.imap.Rights.Right
-
Delete - STORE \DELETED flag, perform EXPUNGE.
- deleteACL(String, String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
DELETEACL Command.
- DELETED - Static variable in class jakarta.mail.event.FolderEvent
-
The folder was deleted.
- DELETED - Static variable in class jakarta.mail.Flags.Flag
-
This message is marked deleted.
- delimiter - Variable in class com.sun.mail.imap.protocol.Namespaces.Namespace
-
Delimiter between names in this namespace.
- description - Variable in class com.sun.mail.imap.protocol.BODYSTRUCTURE
- description() - Method in annotation type jakarta.mail.MailSessionDefinition
-
Description of this mail session.
- dh - Variable in class jakarta.mail.internet.MimeBodyPart
-
The DataHandler object representing this Part's content.
- dh - Variable in class jakarta.mail.internet.MimeMessage
-
The DataHandler object representing this Message's content.
- digest(byte[]) - Method in class com.sun.mail.auth.MD4
-
Compute and return the message digest of the input byte array.
- DigestMD5 - Class in com.sun.mail.smtp
-
DIGEST-MD5 authentication support.
- DigestMD5(MailLogger) - Constructor for class com.sun.mail.smtp.DigestMD5
- disconnect() - Method in class com.sun.mail.iap.Protocol
-
Disconnect.
- disconnect() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
Close socket connection.
- disconnected(ConnectionEvent) - Method in class jakarta.mail.event.ConnectionAdapter
- disconnected(ConnectionEvent) - Method in interface jakarta.mail.event.ConnectionListener
-
Invoked when a Store is disconnected.
- DISCONNECTED - Static variable in class jakarta.mail.event.ConnectionEvent
-
A connection was disconnected (not currently used).
- dispatch(Object) - Method in class jakarta.mail.event.ConnectionEvent
-
Invokes the appropriate ConnectionListener method
- dispatch(Object) - Method in class jakarta.mail.event.FolderEvent
-
Invokes the appropriate FolderListener method
- dispatch(Object) - Method in class jakarta.mail.event.MailEvent
-
This method invokes the appropriate method on a listener for this event.
- dispatch(Object) - Method in class jakarta.mail.event.MessageChangedEvent
-
Invokes the appropriate MessageChangedListener method.
- dispatch(Object) - Method in class jakarta.mail.event.MessageCountEvent
-
Invokes the appropriate MessageCountListener method.
- dispatch(Object) - Method in class jakarta.mail.event.StoreEvent
-
Invokes the appropriate StoreListener method.
- dispatch(Object) - Method in class jakarta.mail.event.TransportEvent
-
Invokes the appropriate TransportListener method.
- dispose() - Method in class com.sun.mail.auth.OAuth2SaslClient
- disposition - Variable in class com.sun.mail.imap.protocol.BODYSTRUCTURE
- doCommand(IMAPFolder.ProtocolCommand) - Method in class com.sun.mail.imap.IMAPFolder
-
Execute a user-supplied IMAP command.
- doCommand(IMAPProtocol) - Method in interface com.sun.mail.imap.IMAPFolder.ProtocolCommand
-
Execute the user-defined command using the supplied IMAPProtocol object.
- doCommandIgnoreFailure(IMAPFolder.ProtocolCommand) - Method in class com.sun.mail.imap.IMAPFolder
- doList(String, String, String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
Execute the specified LIST-like command (e.g., "LIST" or "LSUB"), using the reference and pattern.
- doOptionalCommand(String, IMAPFolder.ProtocolCommand) - Method in class com.sun.mail.imap.IMAPFolder
- doProtocolCommand(IMAPFolder.ProtocolCommand) - Method in class com.sun.mail.imap.IMAPFolder
- dParams - Variable in class com.sun.mail.imap.protocol.BODYSTRUCTURE
- DRAFT - Static variable in class jakarta.mail.Flags.Flag
-
This message is a draft.
- ds - Variable in class jakarta.mail.internet.MimeMultipart
-
The DataSource supplying our InputStream.
- dst - Variable in class com.sun.mail.imap.CopyUID
- DurationFilter - Class in com.sun.mail.util.logging
-
A filter used to limit log records based on a maximum generation rate.
- DurationFilter() - Constructor for class com.sun.mail.util.logging.DurationFilter
-
Creates the filter using the default properties.
- DurationFilter(long, long) - Constructor for class com.sun.mail.util.logging.DurationFilter
-
Creates the filter using the given properties.
E
- ehlo(String) - Method in class com.sun.mail.smtp.SMTPTransport
-
Issue the
EHLO
command. - enable(String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
ENABLE Command.
- enabled - Variable in class com.sun.mail.imap.protocol.IMAPProtocol
- encode() - Method in class com.sun.mail.imap.protocol.BASE64MailboxEncoder
- encode(byte[]) - Static method in class com.sun.mail.util.BASE64EncoderStream
-
Base64 encode a byte array.
- encode(OutputStream, String) - Static method in class jakarta.mail.internet.MimeUtility
-
Wrap an encoder around the given output stream.
- encode(OutputStream, String, String) - Static method in class jakarta.mail.internet.MimeUtility
-
Wrap an encoder around the given output stream.
- encode(String) - Static method in class com.sun.mail.imap.protocol.BASE64MailboxEncoder
- encodedLength(byte[]) - Static method in class com.sun.mail.util.BEncoderStream
-
Returns the length of the encoded version of this byte array.
- encodedLength(byte[], boolean) - Static method in class com.sun.mail.util.QEncoderStream
-
Returns the length of the encoded version of this byte array.
- encodedPersonal - Variable in class jakarta.mail.internet.InternetAddress
-
The RFC 2047 encoded version of the personal name.
- encodeText(String) - Static method in class jakarta.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 jakarta.mail.internet.MimeUtility
-
Encode a RFC 822 "text" token into mail-safe form as per RFC 2047.
- encodeWord(String) - Static method in class jakarta.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 jakarta.mail.internet.MimeUtility
-
Encode a RFC 822 "word" token into mail-safe form as per RFC 2047.
- encoding - Variable in class com.sun.mail.imap.protocol.BODYSTRUCTURE
- EncodingAware - Interface in jakarta.mail
-
A
DataSource
that also implementsEncodingAware
may specify the Content-Transfer-Encoding to use for its data. - end - Variable in class com.sun.mail.imap.protocol.MessageSet
- end - Variable in class com.sun.mail.imap.protocol.UIDSet
- ensureAtBOL() - Method in class com.sun.mail.smtp.SMTPOutputStream
-
Ensure we're at the beginning of a line.
- envelope - Variable in class com.sun.mail.imap.IMAPMessage
- envelope - Variable in class com.sun.mail.imap.protocol.BODYSTRUCTURE
- ENVELOPE - Class in com.sun.mail.imap.protocol
-
The ENEVELOPE item of an IMAP FETCH response.
- ENVELOPE - Static variable in class jakarta.mail.FetchProfile.Item
-
This is the Envelope item.
- ENVELOPE(FetchResponse) - Constructor for class com.sun.mail.imap.protocol.ENVELOPE
- ENVELOPE_CHANGED - Static variable in class jakarta.mail.event.MessageChangedEvent
-
The message's envelope (headers, but not body) changed.
- EOF - Static variable in class jakarta.mail.internet.HeaderTokenizer.Token
-
Token type indicating end of input.
- EQ - Static variable in class jakarta.mail.search.ComparisonTerm
- equals(Object) - Method in class com.sun.mail.imap.ModifiedSinceTerm
-
Equality comparison.
- equals(Object) - Method in class com.sun.mail.imap.OlderTerm
-
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 com.sun.mail.imap.YoungerTerm
-
Equality comparison.
- equals(Object) - Method in class com.sun.mail.util.logging.DurationFilter
-
Determines if this filter is equal to another filter.
- equals(Object) - Method in class com.sun.mail.util.logging.SeverityComparator
-
Determines if the given object is also a comparator and it imposes the same ordering as this comparator.
- equals(Object) - Method in class jakarta.mail.Address
-
The equality operator.
- equals(Object) - Method in class jakarta.mail.Flags
-
Check whether the two Flags objects are equal.
- equals(Object) - Method in class jakarta.mail.internet.InternetAddress
-
The equality operator.
- equals(Object) - Method in class jakarta.mail.internet.NewsAddress
-
The equality operator.
- equals(Object) - Method in class jakarta.mail.search.AddressStringTerm
-
Equality comparison.
- equals(Object) - Method in class jakarta.mail.search.AddressTerm
-
Equality comparison.
- equals(Object) - Method in class jakarta.mail.search.AndTerm
-
Equality comparison.
- equals(Object) - Method in class jakarta.mail.search.BodyTerm
-
Equality comparison.
- equals(Object) - Method in class jakarta.mail.search.ComparisonTerm
-
Equality comparison.
- equals(Object) - Method in class jakarta.mail.search.DateTerm
-
Equality comparison.
- equals(Object) - Method in class jakarta.mail.search.FlagTerm
-
Equality comparison.
- equals(Object) - Method in class jakarta.mail.search.FromStringTerm
-
Equality comparison.
- equals(Object) - Method in class jakarta.mail.search.FromTerm
-
Equality comparison.
- equals(Object) - Method in class jakarta.mail.search.HeaderTerm
-
Equality comparison.
- equals(Object) - Method in class jakarta.mail.search.IntegerComparisonTerm
-
Equality comparison.
- equals(Object) - Method in class jakarta.mail.search.MessageIDTerm
-
Equality comparison.
- equals(Object) - Method in class jakarta.mail.search.MessageNumberTerm
-
Equality comparison.
- equals(Object) - Method in class jakarta.mail.search.NotTerm
-
Equality comparison.
- equals(Object) - Method in class jakarta.mail.search.OrTerm
-
Equality comparison.
- equals(Object) - Method in class jakarta.mail.search.ReceivedDateTerm
-
Equality comparison.
- equals(Object) - Method in class jakarta.mail.search.RecipientStringTerm
-
Equality comparison.
- equals(Object) - Method in class jakarta.mail.search.RecipientTerm
-
Equality comparison.
- equals(Object) - Method in class jakarta.mail.search.SentDateTerm
-
Equality comparison.
- equals(Object) - Method in class jakarta.mail.search.SizeTerm
-
Equality comparison.
- equals(Object) - Method in class jakarta.mail.search.StringTerm
-
Equality comparison.
- equals(Object) - Method in class jakarta.mail.search.SubjectTerm
-
Equality comparison.
- equals(Object) - Method in class jakarta.mail.URLName
-
Compares two URLNames.
- evaluateChallenge(byte[]) - Method in class com.sun.mail.auth.OAuth2SaslClient
- ex - Variable in class com.sun.mail.iap.Response
- examine(String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
EXAMINE Command.
- examine(String, ResyncData) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
EXAMINE Command with QRESYNC data.
- exists - Variable in class com.sun.mail.imap.IMAPFolder
- 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.DefaultFolder
- exists() - Method in class com.sun.mail.pop3.POP3Folder
-
Always true for the folder "INBOX", always false for any other name.
- exists() - Method in class jakarta.mail.Folder
-
Tests if this folder physically exists on the Store.
- expunge() - Method in class com.sun.mail.imap.DefaultFolder
- expunge() - Method in class com.sun.mail.imap.IMAPFolder
-
Expunge all messages marked as DELETED.
- expunge() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
EXPUNGE Command.
- expunge() - Method in class com.sun.mail.pop3.DefaultFolder
- 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 theclose
method with theexpunge
argument set totrue
instead. - expunge() - Method in class jakarta.mail.Folder
-
Expunge (permanently remove) messages marked DELETED.
- expunge(Message[]) - Method in class com.sun.mail.imap.IMAPFolder
-
Expunge the indicated messages, which must have been marked as DELETED.
- expunged - Variable in class jakarta.mail.Message
-
True if this message has been expunged.
- expungeMessage(int) - Method in class com.sun.mail.imap.MessageCache
-
Expunge the message with the given sequence number.
F
- fetch(int, int, String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
- fetch(int, String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
- fetch(MessageSet[], String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
- 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.
- fetch(Message[], FetchProfile) - Method in class jakarta.mail.Folder
-
Prefetch the items specified in the FetchProfile for the given Messages.
- fetchBody(int, String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
Fetch given BODY section.
- fetchBody(int, String, boolean) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
- fetchBody(int, String, int, int) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
Partial FETCH of given BODY section.
- fetchBody(int, String, int, int, boolean, ByteArray) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
- fetchBody(int, String, int, int, ByteArray) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
Partial FETCH of given BODY section.
- fetchBodyStructure(int) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
Fetch the BODYSTRUCTURE of the specified message.
- fetchFlags(int) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
Fetch the FLAGS for the given message.
- fetchItem(FetchItem) - Method in class com.sun.mail.imap.IMAPMessage
-
Fetch an individual item for the current message.
- FetchItem - Class in com.sun.mail.imap.protocol
-
Metadata describing a FETCH item.
- FetchItem(String, FetchProfile.Item) - Constructor for class com.sun.mail.imap.protocol.FetchItem
- fetchMODSEQ(int) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
Fetch the IMAP MODSEQ for the given message.
- FetchProfile - Class in jakarta.mail
-
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 jakarta.mail.FetchProfile
-
Create an empty FetchProfile.
- FetchProfile.Item - Class in jakarta.mail
-
This inner class is the base class of all items that can be requested in a FetchProfile.
- FetchProfileCondition(FetchProfile, FetchItem[]) - Constructor for class com.sun.mail.imap.IMAPMessage.FetchProfileCondition
-
Create a FetchProfileCondition to determine if we need to fetch any of the information specified in the FetchProfile.
- FetchProfileItem(String) - Constructor for class com.sun.mail.imap.IMAPFolder.FetchProfileItem
- FetchProfileItem(String) - Constructor for class jakarta.mail.UIDFolder.FetchProfileItem
- FetchResponse - Class in com.sun.mail.imap.protocol
-
This class represents a FETCH response obtained from the input stream of an IMAP server.
- FetchResponse(Protocol) - Constructor for class com.sun.mail.imap.protocol.FetchResponse
- FetchResponse(IMAPResponse) - Constructor for class com.sun.mail.imap.protocol.FetchResponse
- FetchResponse(IMAPResponse, FetchItem[]) - Constructor for class com.sun.mail.imap.protocol.FetchResponse
-
Construct a FetchResponse that handles the additional FetchItems.
- fetchRFC822(int, String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
Fetch the specified RFC822 Data item.
- fetchSectionBody(int, String, String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
Fetch the given body section of the given message, using the body string "body".
- fetchSequenceNumber(long) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
Get the sequence number for the given UID.
- fetchSequenceNumbers(long[]) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
Get the sequence numbers for UIDs specified in the array.
- fetchSequenceNumbers(long, long) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
Get the sequence numbers for UIDs ranging from start till end.
- fetchUID(int) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
Fetch the IMAP UID for the given message.
- finalize() - Method in class com.sun.mail.iap.Protocol
-
Finalizer.
- 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 com.sun.mail.smtp.SMTPTransport
- finalize() - Method in class jakarta.mail.Folder
- finalize() - Method in class jakarta.mail.Service
-
Stop the event dispatcher thread so the queue can be garbage collected.
- finalize() - Method in class jakarta.mail.util.SharedFileInputStream
-
Force this stream to close.
- fine(String) - Method in class com.sun.mail.util.MailLogger
-
Log a message at the FINE level.
- finer(String) - Method in class com.sun.mail.util.MailLogger
-
Log a message at the FINER level.
- finest(String) - Method in class com.sun.mail.util.MailLogger
-
Log a message at the FINEST level.
- finish(String) - Method in class com.sun.mail.util.logging.CollectorFormatter
-
Applied to the head, format, and tail returned by the target formatter.
- finishBdat() - Method in class com.sun.mail.smtp.SMTPTransport
-
Terminate the sent data.
- finishData() - Method in class com.sun.mail.smtp.SMTPTransport
-
Terminate the sent data.
- first - Variable in class com.sun.mail.imap.protocol.MailboxInfo
-
The first unseen message.
- flag(FlagTerm) - Method in class com.sun.mail.imap.protocol.SearchSequence
- FLAGGED - Static variable in class jakarta.mail.Flags.Flag
-
This message is flagged.
- flags - Variable in class jakarta.mail.internet.MimeMessage
-
The Flags for this message.
- Flags - Class in jakarta.mail
-
The Flags class represents the set of flags on a Message.
- Flags() - Constructor for class jakarta.mail.Flags
-
Construct an empty Flags object.
- Flags(Flags) - Constructor for class jakarta.mail.Flags
-
Construct a Flags object initialized with the given flags.
- Flags(Flags.Flag) - Constructor for class jakarta.mail.Flags
-
Construct a Flags object initialized with the given system flag.
- Flags(String) - Constructor for class jakarta.mail.Flags
-
Construct a Flags object initialized with the given user flag.
- FLAGS - Class in com.sun.mail.imap.protocol
-
This class
- FLAGS - Static variable in class jakarta.mail.FetchProfile.Item
-
This is the Flags item.
- FLAGS(IMAPResponse) - Constructor for class com.sun.mail.imap.protocol.FLAGS
-
Constructor.
- FLAGS_CHANGED - Static variable in class jakarta.mail.event.MessageChangedEvent
-
The message's flags changed.
- Flags.Flag - Class in jakarta.mail
-
This inner class represents an individual system flag.
- FlagTerm - Class in jakarta.mail.search
-
This class implements comparisons for Message Flags.
- FlagTerm(Flags, boolean) - Constructor for class jakarta.mail.search.FlagTerm
-
Constructor.
- flush() - Method in class com.sun.mail.imap.protocol.BASE64MailboxEncoder
- flush() - Method in class com.sun.mail.smtp.SMTPOutputStream
-
Override flush method in FilterOutputStream.
- flush() - Method in class com.sun.mail.util.BASE64EncoderStream
-
Flushes this output stream and forces any buffered output bytes to be encoded out to the stream.
- flush() - Method in class com.sun.mail.util.logging.MailHandler
-
Pushes any buffered records to the email server as normal priority.
- flush() - Method in class com.sun.mail.util.QPEncoderStream
-
Flushes this output stream and forces any buffered output bytes to be encoded out to the stream.
- flush() - Method in class com.sun.mail.util.UUEncoderStream
- fold(int, String) - Static method in class jakarta.mail.internet.MimeUtility
-
Fold a string at linear whitespace so that each line is no longer than 76 characters, if possible.
- folder - Variable in class jakarta.mail.event.FolderEvent
-
The folder the event occurred on.
- folder - Variable in class jakarta.mail.Message
-
The containing folder, if this message is obtained from a folder
- Folder - Class in jakarta.mail
-
Folder is an abstract class that represents a folder for mail messages.
- Folder(Store) - Constructor for class jakarta.mail.Folder
-
Constructor that takes a Store object.
- FolderAdapter - Class in jakarta.mail.event
-
The adapter which receives Folder events.
- FolderAdapter() - Constructor for class jakarta.mail.event.FolderAdapter
- FolderClosedException - Exception in jakarta.mail
-
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 exception jakarta.mail.FolderClosedException
-
Constructs a FolderClosedException.
- FolderClosedException(Folder, String) - Constructor for exception jakarta.mail.FolderClosedException
-
Constructs a FolderClosedException with the specified detail message.
- FolderClosedException(Folder, String, Exception) - Constructor for exception jakarta.mail.FolderClosedException
-
Constructs a FolderClosedException with the specified detail message and embedded exception.
- FolderClosedIOException - Exception in com.sun.mail.util
-
A variant of FolderClosedException that can be thrown from methods that only throw IOException.
- FolderClosedIOException(Folder) - Constructor for exception com.sun.mail.util.FolderClosedIOException
-
Constructor
- FolderClosedIOException(Folder, String) - Constructor for exception com.sun.mail.util.FolderClosedIOException
-
Constructor
- folderCreated(FolderEvent) - Method in class jakarta.mail.event.FolderAdapter
- folderCreated(FolderEvent) - Method in interface jakarta.mail.event.FolderListener
-
Invoked when a Folder is created.
- folderDeleted(FolderEvent) - Method in class jakarta.mail.event.FolderAdapter
- folderDeleted(FolderEvent) - Method in interface jakarta.mail.event.FolderListener
-
Invoked when a folder is deleted.
- FolderEvent - Class in jakarta.mail.event
-
This class models Folder existence events.
- FolderEvent(Object, Folder, int) - Constructor for class jakarta.mail.event.FolderEvent
-
Constructor.
- FolderEvent(Object, Folder, Folder, int) - Constructor for class jakarta.mail.event.FolderEvent
-
Constructor.
- FolderListener - Interface in jakarta.mail.event
-
This is the Listener interface for Folder events.
- FolderNotFoundException - Exception in jakarta.mail
-
This exception is thrown by Folder methods, when those methods are invoked on a non existent folder.
- FolderNotFoundException() - Constructor for exception jakarta.mail.FolderNotFoundException
-
Constructs a FolderNotFoundException with no detail message.
- FolderNotFoundException(Folder) - Constructor for exception jakarta.mail.FolderNotFoundException
-
Constructs a FolderNotFoundException.
- FolderNotFoundException(Folder, String) - Constructor for exception jakarta.mail.FolderNotFoundException
-
Constructs a FolderNotFoundException with the specified detail message.
- FolderNotFoundException(Folder, String, Exception) - Constructor for exception jakarta.mail.FolderNotFoundException
-
Constructs a FolderNotFoundException with the specified detail message and embedded exception.
- FolderNotFoundException(String, Folder) - Constructor for exception jakarta.mail.FolderNotFoundException
-
Constructs a FolderNotFoundException with the specified detail message and the specified folder.
- folderRenamed(FolderEvent) - Method in class jakarta.mail.event.FolderAdapter
- folderRenamed(FolderEvent) - Method in interface jakarta.mail.event.FolderListener
-
Invoked when a folder is renamed.
- forceCheckExpunged() - Method in class com.sun.mail.imap.IMAPMessage
-
Do a NOOP to force any untagged EXPUNGE responses and then check if this message is expunged.
- forceClose() - Method in class com.sun.mail.imap.IMAPFolder
-
Close this folder without waiting for the server.
- format(Date) - Static method in class com.sun.mail.imap.protocol.INTERNALDATE
-
Format given Date object into INTERNALDATE string
- format(Date, StringBuffer, FieldPosition) - Method in class jakarta.mail.internet.MailDateFormat
-
Formats the given date in the format specified by RFC 2822 in the current TimeZone.
- format(LogRecord) - Method in class com.sun.mail.util.logging.CollectorFormatter
-
Accumulates log records which will be used to produce the final output.
- format(LogRecord) - Method in class com.sun.mail.util.logging.CompactFormatter
-
Format the given log record and returns the formatted string.
- formatBackTrace(LogRecord) - Method in class com.sun.mail.util.logging.CompactFormatter
-
Formats the back trace for the given log record.
- formatError(LogRecord) - Method in class com.sun.mail.util.logging.CompactFormatter
-
Formats the thrown property of a LogRecord as an error message.
- formatLevel(LogRecord) - Method in class com.sun.mail.util.logging.CompactFormatter
-
Formats the level property of the given log record.
- formatLoggerName(LogRecord) - Method in class com.sun.mail.util.logging.CompactFormatter
-
Formats the logger name property of the given log record.
- formatMessage(Throwable) - Method in class com.sun.mail.util.logging.CompactFormatter
-
Formats the message from the thrown property of the log record.
- formatMessage(LogRecord) - Method in class com.sun.mail.util.logging.CompactFormatter
-
Formats message for the log record.
- formatSource(LogRecord) - Method in class com.sun.mail.util.logging.CompactFormatter
-
Formats the source from the given log record.
- formatThreadID(LogRecord) - Method in class com.sun.mail.util.logging.CompactFormatter
-
Formats the thread id property of the given log record.
- formatThrown(LogRecord) - Method in class com.sun.mail.util.logging.CompactFormatter
-
Formats the thrown property of a LogRecord.
- from - Variable in class com.sun.mail.imap.protocol.ENVELOPE
- from() - Method in annotation type jakarta.mail.MailSessionDefinition
-
From address for the user.
- from(String, String) - Method in class com.sun.mail.imap.protocol.SearchSequence
- FROM - Static variable in class com.sun.mail.imap.SortTerm
-
Sort by first From email address.
- FromStringTerm - Class in jakarta.mail.search
-
This class implements string comparisons for the From Address header.
- FromStringTerm(String) - Constructor for class jakarta.mail.search.FromStringTerm
-
Constructor.
- FromTerm - Class in jakarta.mail.search
-
This class implements comparisons for the From Address header.
- FromTerm(Address) - Constructor for class jakarta.mail.search.FromTerm
-
Constructor
- fullName - Variable in class com.sun.mail.imap.IMAPFolder
- fullURL - Variable in class jakarta.mail.URLName
-
The full version of the URL
G
- GE - Static variable in class jakarta.mail.search.ComparisonTerm
- generateSequence(SearchTerm, String) - Method in class com.sun.mail.imap.protocol.SearchSequence
-
Generate the IMAP search sequence for the given search expression.
- generateType1Msg(int) - Method in class com.sun.mail.auth.Ntlm
- generateType1Msg(int, boolean) - Method in class com.sun.mail.auth.Ntlm
- generateType3Msg(String) - Method in class com.sun.mail.auth.Ntlm
- get(String) - Method in class jakarta.mail.internet.ParameterList
-
Returns the value of the specified parameter.
- get2DigitYearStart() - Method in class jakarta.mail.internet.MailDateFormat
-
This method always throws an UnsupportedOperationException and should not be used because RFC 2822 mandates another strategy for interpreting 2-digits years.
- getACL() - Method in class com.sun.mail.imap.IMAPFolder
-
Get the access control list entries for this folder.
- getACL(String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
GETACL Command.
- getAddress() - Method in exception com.sun.mail.smtp.SMTPAddressFailedException
-
Return the address that failed.
- getAddress() - Method in exception com.sun.mail.smtp.SMTPAddressSucceededException
-
Return the address that succeeded.
- getAddress() - Method in exception com.sun.mail.smtp.SMTPSenderFailedException
-
Return the address that failed.
- getAddress() - Method in class jakarta.mail.internet.InternetAddress
-
Get the email address.
- getAddress() - Method in class jakarta.mail.search.AddressTerm
-
Return the address to match with.
- getAllHeaderLines() - Method in class com.sun.mail.imap.IMAPBodyPart
- getAllHeaderLines() - Method in class com.sun.mail.imap.IMAPMessage
-
Get all header-lines.
- getAllHeaderLines() - Method in class com.sun.mail.pop3.POP3Message
-
Get all header lines as an Enumeration of Strings.
- getAllHeaderLines() - Method in class jakarta.mail.internet.InternetHeaders
-
Return all the header lines as an Enumeration of Strings.
- getAllHeaderLines() - Method in class jakarta.mail.internet.MimeBodyPart
-
Get all header lines as an Enumeration of Strings.
- getAllHeaderLines() - Method in class jakarta.mail.internet.MimeMessage
-
Get all header lines as an Enumeration of Strings.
- getAllHeaderLines() - Method in interface jakarta.mail.internet.MimePart
-
Get all header lines as an Enumeration of Strings.
- getAllHeaders() - Method in class com.sun.mail.imap.IMAPBodyPart
- getAllHeaders() - Method in class com.sun.mail.imap.IMAPMessage
-
Get all headers.
- getAllHeaders() - Method in class com.sun.mail.pop3.POP3Message
-
Return all the headers from this Message as an enumeration of Header objects.
- getAllHeaders() - Method in class jakarta.mail.internet.InternetHeaders
-
Return all the headers as an Enumeration of
Header
objects. - getAllHeaders() - Method in class jakarta.mail.internet.MimeBodyPart
-
Return all the headers from this Message as an Enumeration of Header objects.
- getAllHeaders() - Method in class jakarta.mail.internet.MimeMessage
-
Return all the headers from this Message as an enumeration of Header objects.
- getAllHeaders() - Method in interface jakarta.mail.Part
-
Return all the headers from this part 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 jakarta.mail.internet.MimeMessage
-
Get all the recipient addresses for the message.
- getAllRecipients() - Method in class jakarta.mail.Message
-
Get all the recipient addresses for the message.
- getAttachmentFilters() - Method in class com.sun.mail.util.logging.MailHandler
-
Gets the attachment filters.
- getAttachmentFormatters() - Method in class com.sun.mail.util.logging.MailHandler
-
Gets the attachment formatters.
- getAttachmentNames() - Method in class com.sun.mail.util.logging.MailHandler
-
Gets the attachment name formatters.
- getAttributes() - Method in class com.sun.mail.imap.IMAPFolder
-
Get the attributes that the IMAP server returns with the LIST response.
- getAuthenticator() - Method in class com.sun.mail.util.logging.MailHandler
-
Gets the
Authenticator
used to login to the email server. - getAuthorizationId() - Method in class com.sun.mail.smtp.SMTPTransport
-
Gets the authorization ID to be used for authentication.
- getBaseType() - Method in class jakarta.mail.internet.ContentType
-
Return the MIME type string, without the parameters.
- getBodyPart(int) - Method in class com.sun.mail.imap.IMAPMultipartDataSource
- getBodyPart(int) - Method in class jakarta.mail.internet.MimeMultipart
-
Get the specified BodyPart.
- getBodyPart(int) - Method in class jakarta.mail.Multipart
-
Get the specified Part.
- getBodyPart(int) - Method in interface jakarta.mail.MultipartDataSource
-
Get the specified Part.
- getBodyPart(String) - Method in class jakarta.mail.internet.MimeMultipart
-
Get the MimeBodyPart referred to by the given ContentID (CID).
- getBooleanProperty(Properties, String, boolean) - Static method in class com.sun.mail.util.PropUtil
-
Get a boolean valued property.
- getBooleanSessionProperty(Session, String, boolean) - Static method in class com.sun.mail.util.PropUtil
-
Deprecated.
- getBooleanSystemProperty(String, boolean) - Static method in class com.sun.mail.util.PropUtil
-
Get a boolean valued System property.
- getByteArray() - Method in class com.sun.mail.imap.protocol.BODY
- getByteArray() - Method in class com.sun.mail.imap.protocol.RFC822DATA
- getByteArrayInputStream() - Method in class com.sun.mail.imap.protocol.BODY
- getByteArrayInputStream() - Method in class com.sun.mail.imap.protocol.RFC822DATA
- getBytes() - Method in class com.sun.mail.iap.ByteArray
-
Returns the internal byte array.
- getBytes(InputStream) - Static method in class com.sun.mail.util.ASCIIUtility
- getBytes(String) - Static method in class com.sun.mail.util.ASCIIUtility
- getCapabilities() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
Return the map of capabilities returned by the server.
- getCapacity() - Method in class com.sun.mail.util.logging.MailHandler
-
Gets the number of log records the internal buffer can hold.
- getCause() - Method in exception jakarta.mail.MessagingException
-
Overrides the
getCause
method ofThrowable
to return the next exception in the chain of nested exceptions. - getChannel() - Method in class com.sun.mail.iap.Protocol
-
Return the SocketChannel associated with this connection, if any.
- getChannel() - Method in class com.sun.mail.util.WriteTimeoutSocket
- getClassName() - Method in class jakarta.mail.Provider
-
Returns the name of the class that implements the protocol.
- getCommand() - Method in exception com.sun.mail.smtp.SMTPAddressFailedException
-
Return the command that failed.
- getCommand() - Method in exception com.sun.mail.smtp.SMTPAddressSucceededException
-
Return the command that succeeded.
- getCommand() - Method in exception com.sun.mail.smtp.SMTPSenderFailedException
-
Return the command that failed.
- getCommand() - Method in exception com.sun.mail.smtp.SMTPSendFailedException
-
Return the command that failed.
- getComparator() - Method in class com.sun.mail.util.logging.MailHandler
-
Gets the comparator used to order all
LogRecord
objects prior to formatting. - getComparison() - Method in class jakarta.mail.search.DateTerm
-
Return the type of comparison.
- getComparison() - Method in class jakarta.mail.search.IntegerComparisonTerm
-
Return the type of comparison.
- getConnectionTimeout() - Method in exception com.sun.mail.util.MailConnectException
-
The timeout used for the connection attempt.
- getConnectionTimeout() - Method in exception com.sun.mail.util.SocketConnectException
-
The timeout used for the connection attempt.
- getContent() - Method in class jakarta.mail.internet.MimeBodyPart
-
Return the content as a Java object.
- getContent() - Method in class jakarta.mail.internet.MimeMessage
-
Return the content as a Java object.
- getContent() - Method in interface jakarta.mail.Part
-
Return the content as a Java object.
- getContent(DataSource) - Method in class com.sun.mail.handlers.image_gif
- getContent(DataSource) - Method in class com.sun.mail.handlers.message_rfc822
-
Return the content.
- getContent(DataSource) - Method in class com.sun.mail.handlers.multipart_mixed
-
Return the content.
- getContent(DataSource) - Method in class com.sun.mail.handlers.text_plain
- getContentID() - Method in class com.sun.mail.imap.IMAPBodyPart
- getContentID() - Method in class com.sun.mail.imap.IMAPMessage
-
Get the Content-ID.
- getContentID() - Method in class jakarta.mail.internet.MimeBodyPart
-
Returns the value of the "Content-ID" header field.
- getContentID() - Method in class jakarta.mail.internet.MimeMessage
-
Returns the value of the "Content-ID" header field.
- getContentID() - Method in interface jakarta.mail.internet.MimePart
-
Get the Content-ID of this part.
- getContentLanguage() - Method in class com.sun.mail.imap.IMAPMessage
-
Get the content language.
- getContentLanguage() - Method in class jakarta.mail.internet.MimeBodyPart
-
Get the languages specified in the Content-Language header of this MimePart.
- getContentLanguage() - Method in class jakarta.mail.internet.MimeMessage
-
Get the languages specified in the "Content-Language" header field of this message.
- getContentLanguage() - Method in interface jakarta.mail.internet.MimePart
-
Get the language tags specified in the Content-Language header of this MimePart.
- getContentMD5() - Method in class com.sun.mail.imap.IMAPBodyPart
- getContentMD5() - Method in class com.sun.mail.imap.IMAPMessage
-
Get the Content-MD5.
- getContentMD5() - Method in class jakarta.mail.internet.MimeBodyPart
-
Return the value of the "Content-MD5" header field.
- getContentMD5() - Method in class jakarta.mail.internet.MimeMessage
-
Return the value of the "Content-MD5" header field.
- getContentMD5() - Method in interface jakarta.mail.internet.MimePart
-
Get the Content-MD5 digest of this part.
- getContentStream() - Method in class com.sun.mail.imap.IMAPBodyPart
- getContentStream() - Method in class com.sun.mail.imap.IMAPMessage
-
Get all the bytes for this message.
- getContentStream() - Method in class com.sun.mail.pop3.POP3Message
-
Produce the raw bytes of the content.
- getContentStream() - Method in class jakarta.mail.internet.MimeBodyPart
-
Produce the raw bytes of the content.
- getContentStream() - Method in class jakarta.mail.internet.MimeMessage
-
Produce the raw bytes of the content.
- getContentType() - Method in class com.sun.mail.imap.IMAPBodyPart
- getContentType() - Method in class com.sun.mail.imap.IMAPMessage
-
Get the Content-Type.
- getContentType() - Method in class jakarta.mail.internet.MimeBodyPart
-
Returns the value of the RFC 822 "Content-Type" header field.
- getContentType() - Method in class jakarta.mail.internet.MimeMessage
-
Returns the value of the RFC 822 "Content-Type" header field.
- getContentType() - Method in class jakarta.mail.internet.MimePartDataSource
-
Returns the content-type of this DataSource.
- getContentType() - Method in class jakarta.mail.Multipart
-
Return the content-type of this Multipart.
- getContentType() - Method in interface jakarta.mail.Part
-
Returns the Content-Type of the content of this part.
- getContentType() - Method in class jakarta.mail.util.ByteArrayDataSource
-
Get the MIME content type of the data.
- getCopyUID(Response[]) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
If the response contains a COPYUID response code, extract it and return a CopyUID object with the information.
- getCount() - Method in class com.sun.mail.iap.ByteArray
-
Returns the count of bytes
- getCount() - Method in class com.sun.mail.imap.IMAPMultipartDataSource
- getCount() - Method in class jakarta.mail.internet.MimeMultipart
-
Return the number of enclosed BodyPart objects.
- getCount() - Method in class jakarta.mail.Multipart
-
Return the number of enclosed BodyPart objects.
- getCount() - Method in interface jakarta.mail.MultipartDataSource
-
Return the number of enclosed BodyPart objects.
- getData(ActivationDataFlavor, DataSource) - Method in class com.sun.mail.handlers.handler_base
-
Given the flavor that matched, return the appropriate type of object.
- getData(ActivationDataFlavor, DataSource) - Method in class com.sun.mail.handlers.text_xml
- getDataFlavors() - Method in class com.sun.mail.handlers.handler_base
-
Return an array of ActivationDataFlavors that we support.
- getDataFlavors() - Method in class com.sun.mail.handlers.image_gif
- getDataFlavors() - Method in class com.sun.mail.handlers.image_jpeg
- getDataFlavors() - Method in class com.sun.mail.handlers.message_rfc822
- getDataFlavors() - Method in class com.sun.mail.handlers.multipart_mixed
- getDataFlavors() - Method in class com.sun.mail.handlers.text_html
- getDataFlavors() - Method in class com.sun.mail.handlers.text_plain
- getDataFlavors() - Method in class com.sun.mail.handlers.text_xml
- getDataHandler() - Method in class com.sun.mail.imap.IMAPBodyPart
- getDataHandler() - Method in class com.sun.mail.imap.IMAPMessage
-
Get the DataHandler object for this message.
- getDataHandler() - Method in class jakarta.mail.internet.MimeBodyPart
-
Return a DataHandler for this body part's content.
- getDataHandler() - Method in class jakarta.mail.internet.MimeMessage
-
Return a DataHandler for this Message's content.
- getDataHandler() - Method in interface jakarta.mail.Part
-
Return a DataHandler for the content within this part.
- getDate() - Method in class com.sun.mail.imap.protocol.INTERNALDATE
- getDate() - Method in class jakarta.mail.search.DateTerm
-
Return the Date to compare with.
- getDebug() - Method in class jakarta.mail.Session
-
Get the debug setting for this Session.
- getDebugOut() - Method in class jakarta.mail.Session
-
Returns the stream to be used for debugging output.
- getDefaultCipherSuites() - Method in class com.sun.mail.util.MailSSLSocketFactory
- 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 jakarta.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 jakarta.mail.Session
-
Get the default Session object.
- getDefaultInstance(Properties, Authenticator) - Static method in class jakarta.mail.Session
-
Get the default Session object.
- getDefaultJavaCharset() - Static method in class jakarta.mail.internet.MimeUtility
-
Get the default charset corresponding to the system's current default locale.
- getDefaultUserName() - Method in class jakarta.mail.Authenticator
- getDeletedMessageCount() - Method in class com.sun.mail.imap.IMAPFolder
-
Get the deleted message count.
- getDeletedMessageCount() - Method in class jakarta.mail.Folder
-
Get the number of deleted messages in this Folder.
- getDescription() - Method in class com.sun.mail.imap.IMAPBodyPart
- getDescription() - Method in class com.sun.mail.imap.IMAPMessage
-
Get the decoded Content-Description.
- getDescription() - Method in class jakarta.mail.internet.MimeBodyPart
-
Returns the "Content-Description" header field of this body part.
- getDescription() - Method in class jakarta.mail.internet.MimeMessage
-
Returns the "Content-Description" header field of this Message.
- getDescription() - Method in interface jakarta.mail.Part
-
Return a description String for this part.
- getDisposition() - Method in class com.sun.mail.imap.IMAPBodyPart
- getDisposition() - Method in class com.sun.mail.imap.IMAPMessage
-
Get the Content-Disposition.
- getDisposition() - Method in class jakarta.mail.internet.ContentDisposition
-
Return the disposition value.
- getDisposition() - Method in class jakarta.mail.internet.MimeBodyPart
-
Returns the disposition from the "Content-Disposition" header field.
- getDisposition() - Method in class jakarta.mail.internet.MimeMessage
-
Returns the disposition from the "Content-Disposition" header field.
- getDisposition() - Method in interface jakarta.mail.Part
-
Return the disposition of this part.
- getEncoding() - Method in class com.sun.mail.imap.IMAPBodyPart
- getEncoding() - Method in class com.sun.mail.imap.IMAPMessage
-
Get the Content-Transfer-Encoding.
- getEncoding() - Method in class com.sun.mail.util.logging.MailHandler
-
Return the character encoding for this
Handler
. - getEncoding() - Method in interface jakarta.mail.EncodingAware
-
Return the MIME Content-Transfer-Encoding to use for this data, or null to indicate that an appropriate value should be chosen by the caller.
- getEncoding() - Method in class jakarta.mail.internet.MimeBodyPart
-
Returns the content transfer encoding from the "Content-Transfer-Encoding" header field.
- getEncoding() - Method in class jakarta.mail.internet.MimeMessage
-
Returns the content transfer encoding from the "Content-Transfer-Encoding" header field.
- getEncoding() - Method in interface jakarta.mail.internet.MimePart
-
Get the transfer encoding of this part.
- getEncoding() - Method in class jakarta.mail.internet.PreencodedMimeBodyPart
-
Returns the content transfer encoding specified when this object was created.
- getEncoding(DataHandler) - Static method in class jakarta.mail.internet.MimeUtility
-
Same as
getEncoding(DataSource)
except that instead of reading the data from anInputStream
it uses thewriteTo
method to examine the data. - getEncoding(DataSource) - Static method in class jakarta.mail.internet.MimeUtility
-
Get the Content-Transfer-Encoding that should be applied to the input stream of this DataSource, to make it mail-safe.
- getEnvelopeCommand() - Method in class com.sun.mail.imap.IMAPFolder
-
Return the IMAP FETCH items to request in order to load all the "envelope" data.
- getEnvelopeFrom() - Method in class com.sun.mail.smtp.SMTPMessage
-
Return the envelope From address.
- getErrorManager() - Method in class com.sun.mail.util.logging.MailHandler
-
Retrieves the ErrorManager for this Handler.
- getException() - Method in class com.sun.mail.iap.Response
-
Return the exception for a synthetic BYE response.
- getException() - Method in exception com.sun.mail.util.SocketConnectException
-
The exception that caused the failure.
- getExtensionItems() - Method in class com.sun.mail.imap.protocol.FetchResponse
-
Return a map of the extension items found in this fetch response.
- 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.
- getFetchBlockSize() - Method in class com.sun.mail.imap.IMAPMessage
- getFetchBlockSize() - Method in class com.sun.mail.imap.IMAPNestedMessage
- getFetchItems() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
Return an array of FetchItem objects describing the FETCH items supported by this protocol.
- getFetchProfileItem() - Method in class com.sun.mail.imap.protocol.FetchItem
- getFile() - Method in class jakarta.mail.URLName
-
Returns the file name of this URLName.
- getFileDescriptor$() - Method in class com.sun.mail.util.WriteTimeoutSocket
-
KLUDGE for Android, which has this illegal non-Java Compatible method.
- getFileName() - Method in class com.sun.mail.imap.IMAPBodyPart
- getFileName() - Method in class com.sun.mail.imap.IMAPMessage
-
Get the "filename" Disposition parameter.
- getFileName() - Method in class jakarta.mail.internet.MimeBodyPart
-
Get the filename associated with this body part.
- getFileName() - Method in class jakarta.mail.internet.MimeMessage
-
Get the filename associated with this Message.
- getFileName() - Method in interface jakarta.mail.Part
-
Get the filename associated with this part, if possible.
- getFilter() - Method in class com.sun.mail.util.logging.MailHandler
-
Get the current
Filter
for thisHandler
. - getFlags() - Method in class com.sun.mail.imap.IMAPMessage
-
Get the Flags for this message.
- getFlags() - Method in class jakarta.mail.internet.MimeMessage
-
Return a
Flags
object containing the flags for this message. - getFlags() - Method in class jakarta.mail.Message
-
Returns a
Flags
object containing the flags for this message. - getFlags() - Method in class jakarta.mail.search.FlagTerm
-
Return the Flags to test.
- getFolder() - Method in exception com.sun.mail.util.FolderClosedIOException
-
Returns the dead Folder object
- getFolder() - Method in class jakarta.mail.event.FolderEvent
-
Return the affected folder.
- getFolder() - Method in exception jakarta.mail.FolderClosedException
-
Returns the dead Folder object
- getFolder() - Method in exception jakarta.mail.FolderNotFoundException
-
Returns the offending Folder object.
- getFolder() - Method in class jakarta.mail.Message
-
Get the folder from which this message was obtained.
- getFolder() - Method in exception jakarta.mail.ReadOnlyFolderException
-
Returns the Folder object.
- 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 jakarta.mail.Session
-
Get a closed Folder object for the given URLName.
- getFolder(URLName) - Method in class jakarta.mail.Store
-
Return a closed Folder object, corresponding to the given URLName.
- getFolder(String) - Method in class com.sun.mail.imap.DefaultFolder
- 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.DefaultFolder
- 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 jakarta.mail.Folder
-
Return the Folder object corresponding to the given name.
- getFolder(String) - Method in class jakarta.mail.Store
-
Return the Folder object corresponding to the given name.
- getFormatter() - Method in class com.sun.mail.util.logging.MailHandler
-
Return the
Formatter
for thisHandler
. - getFrom() - Method in class com.sun.mail.imap.IMAPMessage
-
Get the "From" attribute.
- getFrom() - Method in class jakarta.mail.internet.MimeMessage
-
Returns the value of the RFC 822 "From" header fields.
- getFrom() - Method in class jakarta.mail.Message
-
Returns the "From" attribute.
- getFullName() - Method in class com.sun.mail.imap.IMAPFolder
-
Get the fullname of this folder.
- getFullName() - Method in class com.sun.mail.pop3.DefaultFolder
- getFullName() - Method in class com.sun.mail.pop3.POP3Folder
- getFullName() - Method in class jakarta.mail.Folder
-
Returns the full name of this Folder.
- getGroup(boolean) - Method in class jakarta.mail.internet.InternetAddress
-
Return the members of a group address.
- getHeader(String) - Method in class com.sun.mail.imap.IMAPBodyPart
- getHeader(String) - Method in class com.sun.mail.imap.IMAPMessage
-
Get the named header.
- getHeader(String) - Method in class com.sun.mail.pop3.POP3Message
-
Get all the headers for this header_name.
- getHeader(String) - Method in class jakarta.mail.internet.InternetHeaders
-
Return all the values for the specified header.
- getHeader(String) - Method in class jakarta.mail.internet.MimeBodyPart
-
Get all the headers for this header_name.
- getHeader(String) - Method in class jakarta.mail.internet.MimeMessage
-
Get all the headers for this header_name.
- getHeader(String) - Method in interface jakarta.mail.Part
-
Get all the headers for this header name.
- getHeader(String, String) - Method in class com.sun.mail.imap.IMAPMessage
-
Get the named header.
- 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.
- getHeader(String, String) - Method in class jakarta.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 jakarta.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 jakarta.mail.internet.MimeMessage
-
Get all the headers for this header name, returned as a single String, with headers separated by the delimiter.
- getHeader(String, String) - Method in interface jakarta.mail.internet.MimePart
-
Get the values of all header fields available for this header, returned as a single String, with the values separated by the delimiter.
- getHeaderName() - Method in class jakarta.mail.search.HeaderTerm
-
Return the name of the header to compare with.
- getHeaderNames() - Method in class jakarta.mail.FetchProfile
-
Get the names of the header-fields set in this profile.
- getHighestModSeq() - Method in class com.sun.mail.imap.IMAPFolder
-
Returns the HIGHESTMODSEQ for this folder.
- getHost() - Method in exception com.sun.mail.util.MailConnectException
-
The host we were trying to connect to.
- getHost() - Method in exception com.sun.mail.util.SocketConnectException
-
The host we were trying to connect to.
- getHost() - Method in class jakarta.mail.internet.NewsAddress
-
Get the host.
- getHost() - Method in class jakarta.mail.URLName
-
Returns the host of this URLName.
- getIgnoreCase() - Method in class jakarta.mail.search.StringTerm
-
Return true if we should ignore case when matching.
- getInbox() - Method in class com.sun.mail.pop3.DefaultFolder
- getInetAddress() - Method in class com.sun.mail.iap.Protocol
-
Return the address the socket connected to.
- getInetAddress() - Method in class com.sun.mail.util.WriteTimeoutSocket
- getInputStream() - Method in class com.sun.mail.iap.Protocol
-
Return the Protocol's InputStream.
- getInputStream() - Method in class com.sun.mail.util.WriteTimeoutSocket
- getInputStream() - Method in class jakarta.mail.internet.MimeBodyPart
-
Return a decoded input stream for this body part's "content".
- getInputStream() - Method in class jakarta.mail.internet.MimeMessage
-
Return a decoded input stream for this Message's "content".
- getInputStream() - Method in class jakarta.mail.internet.MimePartDataSource
-
Returns an input stream from this MimePart.
- getInputStream() - Method in interface jakarta.mail.Part
-
Return an input stream for this part's "content".
- getInputStream() - Method in class jakarta.mail.util.ByteArrayDataSource
-
Return an InputStream for the data.
- getInReplyTo() - Method in class com.sun.mail.imap.IMAPMessage
-
Get the In-Reply-To header.
- getInstance(char) - Static method in class com.sun.mail.imap.Rights.Right
-
Get a Right object representing the specified character.
- getInstance(Properties) - Static method in class jakarta.mail.Session
-
Get a new Session object.
- getInstance(Properties, Authenticator) - Static method in class jakarta.mail.Session
-
Get a new Session object.
- getInterval() - Method in class com.sun.mail.imap.OlderTerm
-
Return the interval.
- getInterval() - Method in class com.sun.mail.imap.YoungerTerm
-
Return the interval.
- getIntProperty(Properties, String, int) - Static method in class com.sun.mail.util.PropUtil
-
Get an integer valued property.
- getIntSessionProperty(Session, String, int) - Static method in class com.sun.mail.util.PropUtil
-
Deprecated.
- getInvalidAddresses() - Method in class jakarta.mail.event.TransportEvent
-
Return the addresses to which this message could not be sent.
- getInvalidAddresses() - Method in exception jakarta.mail.SendFailedException
-
Return the addresses to which this message could not be sent.
- getItem(int) - Method in class com.sun.mail.imap.protocol.FetchResponse
- getItem(Response[], int, Class<T>) - Static method in class com.sun.mail.imap.protocol.FetchResponse
-
Return the first fetch response item of the given class for the given message number.
- getItem(FetchItem) - Method in class com.sun.mail.imap.IMAPMessage
-
Return the data associated with the FetchItem.
- getItem(Class<T>) - Method in class com.sun.mail.imap.protocol.FetchResponse
- getItem(String) - Method in class com.sun.mail.imap.protocol.Status
-
Get the value for the STATUS item.
- getItemCount() - Method in class com.sun.mail.imap.protocol.FetchResponse
- getItems() - Method in class jakarta.mail.FetchProfile
-
Get the items set in this profile.
- getItems(Response[], int, Class<T>) - Static method in class com.sun.mail.imap.protocol.FetchResponse
-
Return all fetch response items of the given class for the given message number.
- getKeepAlive() - Method in class com.sun.mail.util.WriteTimeoutSocket
- getKey() - Method in class com.sun.mail.imap.protocol.IMAPResponse
- getKeyManagers() - Method in class com.sun.mail.util.MailSSLSocketFactory
- getLastReturnCode() - Method in class com.sun.mail.smtp.SMTPTransport
-
Return the return code from the last response we got from the server.
- getLastServerResponse() - Method in class com.sun.mail.smtp.SMTPTransport
-
Return the last response we got from the server.
- getLevel() - Method in class com.sun.mail.util.logging.MailHandler
-
Get the log level specifying which messages will be logged by this
Handler
. - getLineCount() - Method in class com.sun.mail.imap.IMAPBodyPart
- getLineCount() - Method in class com.sun.mail.imap.IMAPMessage
-
Get the total number of lines.
- getLineCount() - Method in class jakarta.mail.internet.MimeBodyPart
-
Return the number of lines for the content of this Part.
- getLineCount() - Method in class jakarta.mail.internet.MimeMessage
-
Return the number of lines for the content of this message.
- getLineCount() - Method in interface jakarta.mail.Part
-
Return the number of lines in the content of this part.
- getLocalAddress() - Method in class com.sun.mail.util.WriteTimeoutSocket
- getLocalAddress(Session) - Static method in class jakarta.mail.internet.InternetAddress
-
Return an InternetAddress object representing the current user.
- getLocalHost() - Method in class com.sun.mail.iap.Protocol
-
Get the name of the local host.
- getLocalHost() - Method in class com.sun.mail.smtp.SMTPTransport
-
Get the name of the local host, for use in the EHLO and HELO commands.
- getLocalPort() - Method in class com.sun.mail.util.WriteTimeoutSocket
- getLocalSocketAddress() - Method in class com.sun.mail.iap.Protocol
-
Return the local SocketAddress (host and port) for this end of the connection.
- getLocalSocketAddress() - Method in class com.sun.mail.util.WriteTimeoutSocket
- getLogger(Class<?>, String) - Method in class com.sun.mail.util.MailLogger
-
Create a MailLogger using the specified class' package name as the Logger name and the specified prefix.
- getLogger(String, String) - Method in class com.sun.mail.util.MailLogger
-
Create a MailLogger that uses a Logger with the specified name and prefix.
- getMailExtension() - Method in class com.sun.mail.smtp.SMTPMessage
-
Gets the extension string to use with the MAIL command.
- getMailProperties() - Method in class com.sun.mail.util.logging.MailHandler
-
Gets a copy of the mail properties used for the session.
- getMatchingHeaderLines(String[]) - Method in class com.sun.mail.imap.IMAPBodyPart
- getMatchingHeaderLines(String[]) - Method in class com.sun.mail.imap.IMAPMessage
-
Get all matching header-lines.
- getMatchingHeaderLines(String[]) - Method in class com.sun.mail.pop3.POP3Message
-
Get matching header lines as an Enumeration of Strings.
- getMatchingHeaderLines(String[]) - Method in class jakarta.mail.internet.InternetHeaders
-
Return all matching header lines as an Enumeration of Strings.
- getMatchingHeaderLines(String[]) - Method in class jakarta.mail.internet.MimeBodyPart
-
Get matching header lines as an Enumeration of Strings.
- getMatchingHeaderLines(String[]) - Method in class jakarta.mail.internet.MimeMessage
-
Get matching header lines as an Enumeration of Strings.
- getMatchingHeaderLines(String[]) - Method in interface jakarta.mail.internet.MimePart
-
Get matching header lines as an Enumeration of Strings.
- getMatchingHeaders(String[]) - Method in class com.sun.mail.imap.IMAPBodyPart
- getMatchingHeaders(String[]) - Method in class com.sun.mail.imap.IMAPMessage
-
Get matching headers.
- getMatchingHeaders(String[]) - Method in class com.sun.mail.pop3.POP3Message
-
Return matching headers from this Message as an Enumeration of Header objects.
- getMatchingHeaders(String[]) - Method in class jakarta.mail.internet.InternetHeaders
-
Return all matching
Header
objects. - getMatchingHeaders(String[]) - Method in class jakarta.mail.internet.MimeBodyPart
-
Return matching headers from this Message as an Enumeration of Header objects.
- getMatchingHeaders(String[]) - Method in class jakarta.mail.internet.MimeMessage
-
Return matching headers from this Message as an Enumeration of Header objects.
- getMatchingHeaders(String[]) - Method in interface jakarta.mail.Part
-
Return matching headers from this part as an Enumeration of Header objects.
- getMechanismName() - Method in class com.sun.mail.auth.OAuth2SaslClient
- getMechanismNames(Map<String, ?>) - Method in class com.sun.mail.auth.OAuth2SaslClientFactory
- getMessage() - Method in class jakarta.mail.event.MessageChangedEvent
-
Return the changed Message.
- getMessage() - Method in class jakarta.mail.event.StoreEvent
-
Get the message from the Store.
- getMessage() - Method in class jakarta.mail.event.TransportEvent
-
Get the Message object associated with this Transport Event.
- getMessage() - Method in class jakarta.mail.MessageContext
-
Return the Message that contains the content.
- getMessage(int) - Method in class com.sun.mail.imap.IMAPFolder
-
Get the specified message.
- getMessage(int) - Method in class com.sun.mail.imap.MessageCache
-
Get the message object for the indicated message number.
- getMessage(int) - Method in class com.sun.mail.pop3.DefaultFolder
- getMessage(int) - Method in class com.sun.mail.pop3.POP3Folder
- getMessage(int) - Method in class jakarta.mail.Folder
-
Get the Message object corresponding to the given message number.
- getMessageBySeqnum(int) - Method in class com.sun.mail.imap.MessageCache
-
Get the message object for the indicated sequence number.
- getMessageBySeqNumber(int) - Method in class com.sun.mail.imap.IMAPFolder
-
Get the message object for the given sequence number.
- getMessageByUID(long) - Method in class com.sun.mail.imap.IMAPFolder
-
Get the Message corresponding to the given UID.
- getMessageByUID(long) - Method in interface jakarta.mail.UIDFolder
-
Get the Message corresponding to the given UID.
- getMessageCacheLock() - Method in class com.sun.mail.imap.IMAPMessage
-
Get the messageCacheLock, associated with this Message's Folder.
- getMessageCacheLock() - Method in class com.sun.mail.imap.IMAPNestedMessage
- getMessageChangeType() - Method in class jakarta.mail.event.MessageChangedEvent
-
Return the type of this event.
- getMessageContext() - Method in class jakarta.mail.internet.MimePartDataSource
-
Return the
MessageContext
for the current part. - getMessageContext() - Method in interface jakarta.mail.MessageAware
-
Return the message context.
- getMessageCount() - Method in class com.sun.mail.imap.IMAPFolder
-
Get the total message count.
- getMessageCount() - Method in class com.sun.mail.pop3.DefaultFolder
- 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.
- getMessageCount() - Method in class jakarta.mail.Folder
-
Get total number of messages in this Folder.
- getMessageID() - Method in class com.sun.mail.imap.IMAPMessage
-
Get the Message-ID.
- getMessageID() - Method in class jakarta.mail.internet.MimeMessage
-
Returns the value of the "Message-ID" header field.
- getMessageNumber() - Method in class jakarta.mail.Message
-
Get the Message number for this Message.
- getMessages() - Method in class com.sun.mail.imap.IMAPFolder
-
Get all Message objects from this Folder.
- getMessages() - Method in class jakarta.mail.event.MessageCountEvent
-
Return the array of messages added or removed.
- getMessages() - Method in class jakarta.mail.Folder
-
Get all Message objects from this Folder.
- getMessages(int[]) - Method in class jakarta.mail.Folder
-
Get the Message objects for message numbers specified in the array.
- getMessages(int, int) - Method in class jakarta.mail.Folder
-
Get the Message objects for message numbers ranging from start through end, both start and end inclusive.
- getMessagesBySeqNumbers(int[]) - Method in class com.sun.mail.imap.IMAPFolder
-
Get the message objects for the given sequence numbers.
- getMessagesByUID(long[]) - Method in class com.sun.mail.imap.IMAPFolder
-
Get the Messages specified by the given array.
- getMessagesByUID(long[]) - Method in interface jakarta.mail.UIDFolder
-
Get the Messages specified by the given array of UIDs.
- getMessagesByUID(long, long) - Method in class com.sun.mail.imap.IMAPFolder
-
Get the Messages specified by the given range.
- getMessagesByUID(long, long) - Method in interface jakarta.mail.UIDFolder
-
Get the Messages specified by the given range.
- getMessagesByUIDChangedSince(long, long, long) - Method in class com.sun.mail.imap.IMAPFolder
-
Get the messages that have been changed since the given MODSEQ value.
- getMessageType() - Method in class jakarta.mail.event.StoreEvent
-
Return the type of this event.
- getMimeStream() - Method in class com.sun.mail.imap.IMAPBodyPart
-
Return the MIME format stream corresponding to this message part.
- getMimeStream() - Method in class com.sun.mail.imap.IMAPMessage
-
Return the MIME format stream corresponding to this message.
- getMimeStream() - Method in class com.sun.mail.pop3.POP3Message
-
Return the MIME format stream corresponding to this message part.
- getMimeStream() - Method in interface com.sun.mail.util.ReadableMime
-
Return the MIME format stream corresponding to this message part.
- getMode() - Method in class com.sun.mail.util.UUDecoderStream
-
Get the "mode" field from the prefix.
- getMode() - Method in class jakarta.mail.Folder
-
Return the open mode of this folder.
- getModSeq() - Method in class com.sun.mail.imap.IMAPMessage
-
Return the modification sequence number (MODSEQ) for this message.
- getModSeq() - Method in class com.sun.mail.imap.ModifiedSinceTerm
-
Return the modseq.
- getModSeq() - Method in class com.sun.mail.imap.ResyncData
-
Get the MODSEQ value specified when this instance was created.
- getName() - Method in class com.sun.mail.imap.ACL
-
Get the identifier name for this ACL entry.
- getName() - Method in class com.sun.mail.imap.DefaultFolder
- getName() - Method in class com.sun.mail.imap.IMAPFolder
-
Get the name of this folder.
- getName() - Method in class com.sun.mail.imap.protocol.FetchItem
- getName() - Method in class com.sun.mail.pop3.DefaultFolder
- getName() - Method in class com.sun.mail.pop3.POP3Folder
- getName() - Method in class com.sun.mail.util.UUDecoderStream
-
Get the "name" field from the prefix.
- getName() - Method in class jakarta.mail.Folder
-
Returns the name of this Folder.
- getName() - Method in class jakarta.mail.Header
-
Returns the name of this header.
- getName() - Method in class jakarta.mail.internet.MimePartDataSource
-
DataSource method to return a name.
- getName() - Method in class jakarta.mail.util.ByteArrayDataSource
-
Get the name of the data.
- getNames() - Method in class jakarta.mail.internet.ParameterList
-
Return an enumeration of the names of all parameters in this list.
- getNegotiatedProperty(String) - Method in class com.sun.mail.auth.OAuth2SaslClient
- getNewBytes() - Method in class com.sun.mail.iap.ByteArray
-
Returns a new byte array that is a copy of the data.
- getNewFolder() - Method in class jakarta.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 com.sun.mail.imap.IMAPFolder
-
Get the new message count.
- getNewMessageCount() - Method in class jakarta.mail.Folder
-
Get the number of new messages in this Folder.
- getNewsgroup() - Method in class jakarta.mail.internet.NewsAddress
-
Get the newsgroup.
- getNextException() - Method in exception jakarta.mail.MessagingException
-
Get the next exception chained to this one.
- getNonMatchingHeaderLines(String[]) - Method in class com.sun.mail.imap.IMAPBodyPart
- getNonMatchingHeaderLines(String[]) - Method in class com.sun.mail.imap.IMAPMessage
-
Get all non-matching headerlines.
- getNonMatchingHeaderLines(String[]) - Method in class com.sun.mail.pop3.POP3Message
-
Get non-matching header lines as an Enumeration of Strings.
- getNonMatchingHeaderLines(String[]) - Method in class jakarta.mail.internet.InternetHeaders
-
Return all non-matching header lines
- getNonMatchingHeaderLines(String[]) - Method in class jakarta.mail.internet.MimeBodyPart
-
Get non-matching header lines as an Enumeration of Strings.
- getNonMatchingHeaderLines(String[]) - Method in class jakarta.mail.internet.MimeMessage
-
Get non-matching header lines as an Enumeration of Strings.
- getNonMatchingHeaderLines(String[]) - Method in interface jakarta.mail.internet.MimePart
-
Get non-matching header lines as an Enumeration of Strings.
- getNonMatchingHeaders(String[]) - Method in class com.sun.mail.imap.IMAPBodyPart
- getNonMatchingHeaders(String[]) - Method in class com.sun.mail.imap.IMAPMessage
-
Get non-matching headers.
- getNonMatchingHeaders(String[]) - Method in class com.sun.mail.pop3.POP3Message
-
Return non-matching headers from this Message as an Enumeration of Header objects.
- getNonMatchingHeaders(String[]) - Method in class jakarta.mail.internet.InternetHeaders
-
Return all non-matching
Header
objects. - getNonMatchingHeaders(String[]) - Method in class jakarta.mail.internet.MimeBodyPart
-
Return non-matching headers from this Message as an Enumeration of Header objects.
- getNonMatchingHeaders(String[]) - Method in class jakarta.mail.internet.MimeMessage
-
Return non-matching headers from this Message as an Enumeration of Header objects.
- getNonMatchingHeaders(String[]) - Method in interface jakarta.mail.Part
-
Return non-matching headers from this envelope as an Enumeration of Header objects.
- getNoopStrict() - Method in class com.sun.mail.smtp.SMTPTransport
-
Is the NOOP command required to return a response code of 250 to indicate success?
- getNotifyOptions() - Method in class com.sun.mail.smtp.SMTPMessage
-
Get notification options.
- getNTLMDomain() - Method in class com.sun.mail.smtp.SMTPTransport
-
Gets the NTLM domain to be used for NTLM authentication.
- getNumber() - Method in class com.sun.mail.imap.protocol.IMAPResponse
- getNumber() - Method in class jakarta.mail.search.IntegerComparisonTerm
-
Return the number to compare with.
- getOOBInline() - Method in class com.sun.mail.util.WriteTimeoutSocket
- getOption(SocketOption<T>) - Method in class com.sun.mail.util.WriteTimeoutSocket
- getOrigin() - Method in class com.sun.mail.imap.protocol.BODY
- getOutputStream() - Method in class com.sun.mail.iap.Protocol
-
Return the Protocol's OutputStream
- getOutputStream() - Method in class com.sun.mail.util.WriteTimeoutSocket
- getOutputStream() - Method in class jakarta.mail.internet.MimePartDataSource
-
DataSource method to return an output stream.
- getOutputStream() - Method in class jakarta.mail.util.ByteArrayDataSource
-
Return an OutputStream for the data.
- getParameter(String) - Method in class jakarta.mail.internet.ContentDisposition
-
Return the specified parameter value.
- getParameter(String) - Method in class jakarta.mail.internet.ContentType
-
Return the specified parameter value.
- getParameterList() - Method in class jakarta.mail.internet.ContentDisposition
-
Return a ParameterList object that holds all the available parameters.
- getParameterList() - Method in class jakarta.mail.internet.ContentType
-
Return a ParameterList object that holds all the available parameters.
- getParent() - Method in class com.sun.mail.imap.DefaultFolder
- getParent() - Method in class com.sun.mail.imap.IMAPFolder
-
Get this folder's parent.
- getParent() - Method in class com.sun.mail.pop3.DefaultFolder
- getParent() - Method in class com.sun.mail.pop3.POP3Folder
- getParent() - Method in class jakarta.mail.BodyPart
-
Return the containing
Multipart
object, ornull
if not known. - getParent() - Method in class jakarta.mail.Folder
-
Returns the parent folder of this folder.
- getParent() - Method in class jakarta.mail.Multipart
-
Return the
Part
that contains thisMultipart
object, ornull
if not known. - getPart() - Method in class jakarta.mail.MessageContext
-
Return the Part that contains the content.
- getPassword() - Method in class jakarta.mail.PasswordAuthentication
- getPassword() - Method in class jakarta.mail.URLName
-
Returns the password of this URLName.
- getPasswordAuthentication() - Method in class jakarta.mail.Authenticator
-
Called when password authentication is needed.
- getPasswordAuthentication(URLName) - Method in class jakarta.mail.Session
-
Return any saved PasswordAuthentication for this (store or transport) URLName.
- getPattern() - Method in class jakarta.mail.search.StringTerm
-
Return the string to match with.
- getPeek() - Method in class com.sun.mail.imap.IMAPMessage
-
Get whether or not to use the PEEK variant of FETCH when fetching message content.
- 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.DefaultFolder
- 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. - getPermanentFlags() - Method in class jakarta.mail.Folder
-
Get the permanent flags supported by this Folder.
- getPersonal() - Method in class jakarta.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 jakarta.mail.Store
-
Return a set of folders representing the personal namespaces for the current user.
- getPort() - Method in exception com.sun.mail.util.MailConnectException
-
The port we were trying to connect to.
- getPort() - Method in exception com.sun.mail.util.SocketConnectException
-
The port we were trying to connect to.
- getPort() - Method in class com.sun.mail.util.WriteTimeoutSocket
- getPort() - Method in class jakarta.mail.URLName
-
Returns the port number of this URLName.
- getPos() - Method in exception jakarta.mail.internet.AddressException
-
Get the position with the reference string where the error was detected (-1 if not relevant).
- getPosition() - Method in interface jakarta.mail.internet.SharedInputStream
-
Return the current position in the InputStream, as an offset from the beginning of the InputStream.
- getPosition() - Method in class jakarta.mail.util.SharedByteArrayInputStream
-
Return the current position in the InputStream, as an offset from the beginning of the InputStream.
- getPosition() - Method in class jakarta.mail.util.SharedFileInputStream
-
Return the current position in the InputStream, as an offset from the beginning of the InputStream.
- getPreamble() - Method in class jakarta.mail.internet.MimeMultipart
-
Get the preamble text, if any, that appears before the first body part of this multipart.
- getPrimaryType() - Method in class jakarta.mail.internet.ContentType
-
Return the primary type.
- getProperties() - Method in class jakarta.mail.Session
-
Returns the Properties object associated with this Session
- getProperty(String) - Method in class jakarta.mail.Session
-
Returns the value of the specified property.
- getProtocol() - Method in exception com.sun.mail.iap.ConnectionException
- getProtocol() - Method in class com.sun.mail.imap.IMAPFolder
-
Return the IMAPProtocol object for this folder.
- getProtocol() - Method in class com.sun.mail.imap.IMAPMessage
-
Get this message's folder's protocol connection.
- getProtocol() - Method in class com.sun.mail.imap.IMAPNestedMessage
- getProtocol() - Method in class jakarta.mail.Provider
-
Returns the protocol supported by this Provider.
- getProtocol() - Method in class jakarta.mail.URLName
-
Returns the protocol of this URLName.
- getProvider(String) - Method in class jakarta.mail.Session
-
Returns the default Provider for the protocol specified.
- getProviders() - Method in class jakarta.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.
- getProxyAuthUser() - Method in class com.sun.mail.imap.IMAPStore
-
Get the user name to be used with the PROXYAUTH command.
- getProxyAuthUser() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
Get the user name used with the PROXYAUTH command.
- getPushFilter() - Method in class com.sun.mail.util.logging.MailHandler
-
Gets the push filter.
- getPushLevel() - Method in class com.sun.mail.util.logging.MailHandler
-
Gets the push level.
- 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 com.sun.mail.imap.protocol.IMAPProtocol
-
GETQUOTA Command.
- getQuota(String) - Method in interface jakarta.mail.QuotaAwareStore
-
Get the quotas for the named folder.
- getQuotaRoot(String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
GETQUOTAROOT Command.
- getRawInputStream() - Method in class jakarta.mail.internet.MimeBodyPart
-
Return an InputStream to the raw data with any Content-Transfer-Encoding intact.
- getRawInputStream() - Method in class jakarta.mail.internet.MimeMessage
-
Return an InputStream to the raw data with any Content-Transfer-Encoding intact.
- getReceiveBufferSize() - Method in class com.sun.mail.util.WriteTimeoutSocket
- getReceivedDate() - Method in class com.sun.mail.imap.IMAPMessage
-
Get the received date (INTERNALDATE).
- getReceivedDate() - Method in class jakarta.mail.internet.MimeMessage
-
Returns the Date on this message was received.
- getReceivedDate() - Method in class jakarta.mail.Message
-
Get the date this message was received.
- getRecipients(Message.RecipientType) - Method in class com.sun.mail.imap.IMAPMessage
-
Get the desired Recipient type.
- getRecipients(Message.RecipientType) - Method in class jakarta.mail.internet.MimeMessage
-
Returns the recepients specified by the type.
- getRecipients(Message.RecipientType) - Method in class jakarta.mail.Message
-
Get all the recipient addresses of the given type.
- getRecipientType() - Method in class jakarta.mail.search.RecipientStringTerm
-
Return the type of recipient to match with.
- getRecipientType() - Method in class jakarta.mail.search.RecipientTerm
-
Return the type of recipient to match with.
- getRef() - Method in exception jakarta.mail.internet.AddressException
-
Get the string that was being parsed when the error was detected (null if not relevant).
- getRef() - Method in class jakarta.mail.URLName
-
Returns the reference of this URLName.
- getRemainder() - Method in class jakarta.mail.internet.HeaderTokenizer
-
Return the rest of the Header.
- getRemoteSocketAddress() - Method in class com.sun.mail.util.WriteTimeoutSocket
- getReplyTo() - Method in class com.sun.mail.imap.IMAPMessage
-
Get the ReplyTo addresses.
- getReplyTo() - Method in class jakarta.mail.internet.MimeMessage
-
Return the value of the RFC 822 "Reply-To" header field.
- getReplyTo() - Method in class jakarta.mail.Message
-
Get the addresses to which replies should be directed.
- 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 anSMTPAddressSucceededException
will be included in the exception chain for each successful address, along with the usualSMTPAddressFailedException
for each unsuccessful address. - getRequestingPort() - Method in class jakarta.mail.Authenticator
- getRequestingPrompt() - Method in class jakarta.mail.Authenticator
- getRequestingProtocol() - Method in class jakarta.mail.Authenticator
-
Give the protocol that's requesting the connection.
- getRequestingSite() - Method in class jakarta.mail.Authenticator
- getRequireStartTLS() - Method in class com.sun.mail.smtp.SMTPTransport
-
Should we require the STARTTLS command to secure the connection?
- getResponse() - Method in exception com.sun.mail.iap.ProtocolException
-
Return the offending Response object.
- getResponseBuffer() - Method in class com.sun.mail.iap.Protocol
-
Return a buffer to be used to read a response.
- getResponseBuffer() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
Return a buffer to read a response into.
- getRest() - Method in class com.sun.mail.iap.Response
-
Return the rest of the response as a string, usually used to return the arbitrary message text after a NO response.
- getResyncUIDSet(ResyncData) - Static method in class com.sun.mail.imap.Utility
-
Make the ResyncData UIDSet available to IMAPProtocol, which is in a different package.
- getReturnCode() - Method in exception com.sun.mail.smtp.SMTPAddressFailedException
-
Return the return code from the SMTP server that indicates the reason for the failure.
- getReturnCode() - Method in exception com.sun.mail.smtp.SMTPAddressSucceededException
-
Return the return code from the SMTP server that indicates the reason for the success.
- getReturnCode() - Method in exception com.sun.mail.smtp.SMTPSenderFailedException
-
Return the return code from the SMTP server that indicates the reason for the failure.
- getReturnCode() - Method in exception com.sun.mail.smtp.SMTPSendFailedException
-
Return the return code from the SMTP server that indicates the reason for the failure.
- getReturnOption() - Method in class com.sun.mail.smtp.SMTPMessage
-
Return return option.
- getReuseAddress() - Method in class com.sun.mail.util.WriteTimeoutSocket
- 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.
- getSASLEnabled() - Method in class com.sun.mail.smtp.SMTPTransport
-
Is SASL authentication enabled?
- getSASLMechanisms() - Method in class com.sun.mail.smtp.SMTPTransport
-
Get the list of SASL mechanisms to consider if SASL authentication is enabled.
- getSASLRealm() - Method in class com.sun.mail.smtp.SMTPTransport
-
Gets the SASL realm to be used for DIGEST-MD5 authentication.
- getSearchSequence() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
Get the SearchSequence object.
- getSection() - Method in class com.sun.mail.imap.protocol.BODY
- getSecureRandom() - Method in class com.sun.mail.util.MailSSLSocketFactory
- getSendBufferSize() - Method in class com.sun.mail.util.WriteTimeoutSocket
- getSender() - Method in class com.sun.mail.imap.IMAPMessage
-
Get the "Sender" attribute.
- getSender() - Method in class jakarta.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 com.sun.mail.imap.IMAPMessage
-
Get the SentDate.
- getSentDate() - Method in class jakarta.mail.internet.MimeMessage
-
Returns the value of the RFC 822 "Date" field.
- getSentDate() - Method in class jakarta.mail.Message
-
Get the date this message was sent.
- getSeparator() - Method in class com.sun.mail.imap.IMAPFolder
-
Get the separator character.
- getSeparator() - Method in class com.sun.mail.pop3.DefaultFolder
- getSeparator() - Method in class com.sun.mail.pop3.POP3Folder
-
Always returns a NUL character because POP3 doesn't support a hierarchy.
- getSeparator() - Method in class jakarta.mail.Folder
-
Return the delimiter character that separates this Folder's pathname from the names of immediate subfolders.
- getSequenceNumber() - Method in class com.sun.mail.imap.IMAPMessage
-
Get this message's IMAP sequence number.
- getSequenceNumber() - Method in class com.sun.mail.imap.IMAPNestedMessage
- getSession() - Method in class jakarta.mail.Message
-
Return the Session used when this message was created.
- getSession() - Method in class jakarta.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 jakarta.mail.Store
-
Return a set of folders representing the shared namespaces.
- getSize() - Method in class com.sun.mail.imap.IMAPBodyPart
- getSize() - Method in class com.sun.mail.imap.IMAPMessage
-
Get the message size.
- getSize() - Method in class com.sun.mail.imap.IMAPNestedMessage
- 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.
- getSize() - Method in class jakarta.mail.internet.MimeBodyPart
-
Return the size of the content of this body part in bytes.
- getSize() - Method in class jakarta.mail.internet.MimeMessage
-
Return the size of the content of this message in bytes.
- getSize() - Method in interface jakarta.mail.Part
-
Return the size of the content of this part in bytes.
- getSizeLong() - Method in class com.sun.mail.imap.IMAPMessage
-
Get the message size as a long.
- 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.
- getSocket(String, int, Properties, String) - Static method in class com.sun.mail.util.SocketFetcher
- getSocket(String, int, Properties, String, boolean) - Static method in class com.sun.mail.util.SocketFetcher
-
This method returns a Socket.
- getSoLinger() - Method in class com.sun.mail.util.WriteTimeoutSocket
- getSortedMessages(SortTerm[]) - Method in class com.sun.mail.imap.IMAPFolder
-
Sort the messages in the folder according to the sort criteria.
- getSortedMessages(SortTerm[], SearchTerm) - Method in class com.sun.mail.imap.IMAPFolder
-
Sort the messages in the folder according to the sort criteria.
- getSoTimeout() - Method in class com.sun.mail.util.WriteTimeoutSocket
- getStart() - Method in class com.sun.mail.iap.ByteArray
-
Returns the start position
- getStartTLS() - Method in class com.sun.mail.smtp.SMTPTransport
-
Should we use the STARTTLS command to secure the connection if the server supports it?
- getStatusItem(String) - Method in class com.sun.mail.imap.IMAPFolder
-
Use the IMAP STATUS command to get the indicated item.
- getStore() - Method in class jakarta.mail.Folder
-
Returns the Store that owns this Folder object.
- getStore() - Method in class jakarta.mail.Session
-
Get a Store object that implements this user's desired Store protocol.
- getStore() - Method in exception jakarta.mail.StoreClosedException
-
Returns the dead Store object.
- getStore(Provider) - Method in class jakarta.mail.Session
-
Get an instance of the store specified by Provider.
- getStore(URLName) - Method in class jakarta.mail.Session
-
Get a Store object for the given URLName.
- getStore(String) - Method in class jakarta.mail.Session
-
Get a Store object that implements the specified protocol.
- getStoreProtocol() - Method in class com.sun.mail.imap.IMAPFolder
-
Get this folder's Store's protocol connection.
- getSubject() - Method in class com.sun.mail.imap.IMAPMessage
-
Get the decoded subject.
- getSubject() - Method in class com.sun.mail.util.logging.MailHandler
-
Gets the formatter used to create the subject line.
- getSubject() - Method in class jakarta.mail.internet.MimeMessage
-
Returns the value of the "Subject" header field.
- getSubject() - Method in class jakarta.mail.Message
-
Get the subject of this message.
- getSubLogger(String, String) - Method in class com.sun.mail.util.MailLogger
-
Create a MailLogger that uses a Logger whose name is composed of this MailLogger's name plus the specified sub-name, separated by a dot.
- getSubLogger(String, String, boolean) - Method in class com.sun.mail.util.MailLogger
-
Create a MailLogger that uses a Logger whose name is composed of this MailLogger's name plus the specified sub-name, separated by a dot.
- 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 jakarta.mail.internet.ContentType
-
Return the subType.
- getSupportedCipherSuites() - Method in class com.sun.mail.util.MailSSLSocketFactory
- getSystemFlags() - Method in class jakarta.mail.Flags
-
Return all the system flags in this Flags object.
- getTag() - Method in class com.sun.mail.iap.Response
-
Return the tag, if this is a tagged statement.
- getTail(Handler) - Method in class com.sun.mail.util.logging.CollectorFormatter
-
Formats the collected LogRecord and summary statistics.
- getTcpNoDelay() - Method in class com.sun.mail.util.WriteTimeoutSocket
- getTerm() - Method in class jakarta.mail.search.NotTerm
-
Return the term to negate.
- getTerms() - Method in class jakarta.mail.search.AndTerm
-
Return the search terms.
- getTerms() - Method in class jakarta.mail.search.OrTerm
-
Return the search terms.
- getTestSet() - Method in class jakarta.mail.search.FlagTerm
-
Return true if testing whether the flags are set.
- getText() - Method in exception com.sun.mail.imap.ReferralException
-
Return the text sent by the server along with the referral.
- getTimestamp() - Method in class com.sun.mail.iap.Protocol
-
Returns the timestamp.
- getTrafficClass() - Method in class com.sun.mail.util.WriteTimeoutSocket
- getTransferData(ActivationDataFlavor, DataSource) - Method in class com.sun.mail.handlers.handler_base
-
Return the Transfer Data of type ActivationDataFlavor from InputStream.
- getTransferDataFlavors() - Method in class com.sun.mail.handlers.handler_base
-
Return the ActivationDataFlavors for this
DataContentHandler
. - getTransport() - Method in class jakarta.mail.Session
-
Get a Transport object that implements this user's desired Transport protcol.
- getTransport(Address) - Method in class jakarta.mail.Session
-
Get a Transport object that can transport a Message of the specified address type.
- getTransport(Provider) - Method in class jakarta.mail.Session
-
Get an instance of the transport specified in the Provider.
- getTransport(URLName) - Method in class jakarta.mail.Session
-
Get a Transport object for the given URLName.
- getTransport(String) - Method in class jakarta.mail.Session
-
Get a Transport object that implements the specified protocol.
- getTrustedHosts() - Method in class com.sun.mail.util.MailSSLSocketFactory
- getTrustManagers() - Method in class com.sun.mail.util.MailSSLSocketFactory
- getType() - Method in class com.sun.mail.iap.Response
- getType() - Method in class com.sun.mail.imap.IMAPFolder
-
Get the type of this folder.
- getType() - Method in class com.sun.mail.pop3.DefaultFolder
- getType() - Method in class com.sun.mail.pop3.POP3Folder
-
Always returns Folder.HOLDS_MESSAGES.
- getType() - Method in class jakarta.mail.Address
-
Return a type string that identifies this address type.
- getType() - Method in class jakarta.mail.event.ConnectionEvent
-
Return the type of this event
- getType() - Method in class jakarta.mail.event.FolderEvent
-
Return the type of this event.
- getType() - Method in class jakarta.mail.event.MessageCountEvent
-
Return the type of this event.
- getType() - Method in class jakarta.mail.event.TransportEvent
-
Return the type of this event.
- getType() - Method in class jakarta.mail.Folder
-
Returns the type of this Folder, that is, whether this folder can hold messages or subfolders or both.
- getType() - Method in class jakarta.mail.internet.HeaderTokenizer.Token
-
Return the type of the token.
- getType() - Method in class jakarta.mail.internet.InternetAddress
-
Return the type of this address.
- getType() - Method in class jakarta.mail.internet.NewsAddress
-
Return the type of this address.
- getType() - Method in class jakarta.mail.Provider
-
Returns the type of this Provider.
- getUID() - Method in class com.sun.mail.imap.IMAPMessage
-
Return the UID for this message.
- 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 interface jakarta.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.
- getUIDNext() - Method in interface jakarta.mail.UIDFolder
-
Returns the predicted UID that will be assigned to the next message that is appended to this folder.
- getUIDNotSticky() - Method in class com.sun.mail.imap.IMAPFolder
-
Servers that support the UIDPLUS extension (RFC 4315) may indicate that this folder does not support persistent UIDs; that is, UIDVALIDITY will be different each time the folder is opened.
- getUIDs() - Method in class com.sun.mail.imap.MessageVanishedEvent
-
Return the UIDs for this event.
- getUIDValidity() - Method in class com.sun.mail.imap.IMAPFolder
-
Returns the UIDValidity for this folder.
- getUIDValidity() - Method in class com.sun.mail.imap.ResyncData
-
Get the UIDVALIDITY value specified when this instance was created.
- getUIDValidity() - Method in interface jakarta.mail.UIDFolder
-
Returns the UIDValidity value associated with this folder.
- getUnreadMessageCount() - Method in class com.sun.mail.imap.IMAPFolder
-
Get the unread message count.
- getUnreadMessageCount() - Method in class jakarta.mail.Folder
-
Get the total number of unread messages in this Folder.
- getUrl() - Method in exception com.sun.mail.imap.protocol.IMAPReferralException
-
Return the IMAP URL in the referral.
- getUrl() - Method in exception com.sun.mail.imap.ReferralException
-
Return the IMAP URL in the referral.
- getURL() - Method in class jakarta.mail.URLName
-
Constructs a URL from the URLName.
- getURLName() - Method in class jakarta.mail.Folder
-
Return a URLName representing this folder.
- getURLName() - Method in class jakarta.mail.Service
-
Return a URLName representing this service.
- getUseCanonicalHostName() - Method in class com.sun.mail.smtp.SMTPTransport
-
Should SASL use the canonical host name?
- getUserFlags() - Method in class jakarta.mail.Flags
-
Return all the user flags in this Flags object.
- getUsername() - Method in class jakarta.mail.URLName
-
Returns the user name of this URLName.
- getUserName() - Method in class jakarta.mail.PasswordAuthentication
- 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 jakarta.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 jakarta.mail.event.TransportEvent
-
Return the addresses to which this message was sent succesfully.
- getValidSentAddresses() - Method in exception jakarta.mail.SendFailedException
-
Return the addresses to which this message was sent succesfully.
- getValidUnsentAddresses() - Method in class jakarta.mail.event.TransportEvent
-
Return the addresses that are valid but to which this message was not sent.
- getValidUnsentAddresses() - Method in exception jakarta.mail.SendFailedException
-
Return the addresses that are valid but to which this message was not sent.
- getValue() - Method in class jakarta.mail.Header
-
Returns the value of this header.
- getValue() - Method in class jakarta.mail.internet.HeaderTokenizer.Token
-
Returns the value of the token just read.
- getValue() - Method in class jakarta.mail.internet.InternetHeaders.InternetHeader
-
Return the "value" part of the header line.
- getVendor() - Method in class jakarta.mail.Provider
-
Returns the name of the vendor associated with this implementation or null.
- getVersion() - Method in class jakarta.mail.Provider
-
Returns the version of this implementation or null if no version.
- grow(int) - Method in class com.sun.mail.iap.ByteArray
-
Grow the byte array by incr bytes.
- GT - Static variable in class jakarta.mail.search.ComparisonTerm
H
- handleCapabilityResponse(Response[]) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
Handle any untagged CAPABILITY response in the Response array.
- handleExtensionFetchItems(Map<String, Object>) - Method in class com.sun.mail.imap.IMAPMessage
-
Apply the data in the extension FETCH items to this message.
- handleFetchItem(Item, String[], boolean) - Method in class com.sun.mail.imap.IMAPMessage
-
Apply the data in the FETCH item to this message.
- handleLoginResult(Response) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
Handle the result response for a LOGIN or AUTHENTICATE command.
- handler_base - Class in com.sun.mail.handlers
-
Base class for other DataContentHandlers.
- handler_base() - Constructor for class com.sun.mail.handlers.handler_base
- handleResponse(Response) - Method in interface com.sun.mail.iap.ResponseHandler
- 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.
- handleResult(Response) - Method in class com.sun.mail.iap.Protocol
-
Convenience routine to handle OK, NO, BAD and BYE responses.
- 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.
- hasCapability(String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
Check whether the given capability is supported by this server.
- hashCode() - Method in class com.sun.mail.imap.ModifiedSinceTerm
-
Compute a hashCode for this object.
- hashCode() - Method in class com.sun.mail.imap.OlderTerm
-
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 com.sun.mail.imap.YoungerTerm
-
Compute a hashCode for this object.
- hashCode() - Method in class com.sun.mail.util.logging.DurationFilter
-
Returns a hash code value for this filter.
- hashCode() - Method in class com.sun.mail.util.logging.SeverityComparator
-
Returns a hash code value for the object.
- hashCode() - Method in class jakarta.mail.Flags
-
Compute a hash code for this Flags object.
- hashCode() - Method in class jakarta.mail.internet.InternetAddress
-
Compute a hash code for the address.
- hashCode() - Method in class jakarta.mail.internet.NewsAddress
-
Compute a hash code for the address.
- hashCode() - Method in class jakarta.mail.search.AddressTerm
-
Compute a hashCode for this object.
- hashCode() - Method in class jakarta.mail.search.AndTerm
-
Compute a hashCode for this object.
- hashCode() - Method in class jakarta.mail.search.ComparisonTerm
-
Compute a hashCode for this object.
- hashCode() - Method in class jakarta.mail.search.DateTerm
-
Compute a hashCode for this object.
- hashCode() - Method in class jakarta.mail.search.FlagTerm
-
Compute a hashCode for this object.
- hashCode() - Method in class jakarta.mail.search.HeaderTerm
-
Compute a hashCode for this object.
- hashCode() - Method in class jakarta.mail.search.IntegerComparisonTerm
-
Compute a hashCode for this object.
- hashCode() - Method in class jakarta.mail.search.NotTerm
-
Compute a hashCode for this object.
- hashCode() - Method in class jakarta.mail.search.OrTerm
-
Compute a hashCode for this object.
- hashCode() - Method in class jakarta.mail.search.RecipientStringTerm
-
Compute a hashCode for this object.
- hashCode() - Method in class jakarta.mail.search.RecipientTerm
-
Compute a hashCode for this object.
- hashCode() - Method in class jakarta.mail.search.StringTerm
-
Compute a hashCode for this object.
- hashCode() - Method in class jakarta.mail.URLName
-
Compute the hash code for this URLName.
- hasInferiors - Variable in class com.sun.mail.imap.protocol.ListInfo
- hasInitialResponse() - Method in class com.sun.mail.auth.OAuth2SaslClient
- hasNewMessages() - Method in class com.sun.mail.imap.DefaultFolder
- hasNewMessages() - Method in class com.sun.mail.imap.IMAPFolder
-
Check whether this folder has new messages.
- hasNewMessages() - Method in class com.sun.mail.pop3.DefaultFolder
- 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. - hasNewMessages() - Method in class jakarta.mail.Folder
-
Returns true if this Folder has new messages since the last time this indication was reset.
- hasResponse() - Method in class com.sun.mail.iap.Protocol
-
Is another response available in our buffer?
- header(HeaderTerm, String) - Method in class com.sun.mail.imap.protocol.SearchSequence
- Header - Class in jakarta.mail
-
The Header class stores a name/value pair to represent headers.
- Header(String, String) - Constructor for class jakarta.mail.Header
-
Construct a Header object.
- headers - Variable in class jakarta.mail.internet.InternetHeaders
-
The actual list of Headers, including placeholder entries.
- headers - Variable in class jakarta.mail.internet.MimeBodyPart
-
The InternetHeaders object that stores all the headers of this body part.
- headers - Variable in class jakarta.mail.internet.MimeMessage
-
The InternetHeaders object that stores the header of this message.
- HEADERS - Static variable in class com.sun.mail.imap.IMAPFolder.FetchProfileItem
-
HEADERS is a fetch profile item that can be included in a
FetchProfile
during a fetch request to a Folder. - HeaderTerm - Class in jakarta.mail.search
-
This class implements comparisons for Message headers.
- HeaderTerm(String, String) - Constructor for class jakarta.mail.search.HeaderTerm
-
Constructor.
- HeaderTokenizer - Class in jakarta.mail.internet
-
This class tokenizes RFC822 and MIME headers into the basic symbols specified by RFC822 and MIME.
- HeaderTokenizer(String) - Constructor for class jakarta.mail.internet.HeaderTokenizer
-
Constructor.
- HeaderTokenizer(String, String) - Constructor for class jakarta.mail.internet.HeaderTokenizer
-
Constructor.
- HeaderTokenizer(String, String, boolean) - Constructor for class jakarta.mail.internet.HeaderTokenizer
-
Constructor that takes a rfc822 style header.
- HeaderTokenizer.Token - Class in jakarta.mail.internet
-
The Token class represents tokens returned by the HeaderTokenizer.
- helo(String) - Method in class com.sun.mail.smtp.SMTPTransport
-
Issue the
HELO
command. - highestmodseq - Variable in class com.sun.mail.imap.protocol.MailboxInfo
-
The highest MODSEQ value.
- highestmodseq - Variable in class com.sun.mail.imap.protocol.Status
- HOLDS_FOLDERS - Static variable in class jakarta.mail.Folder
-
This folder can contain other folders
- HOLDS_MESSAGES - Static variable in class jakarta.mail.Folder
-
This folder can contain messages
- host - Variable in class com.sun.mail.iap.Protocol
- host - Variable in class com.sun.mail.imap.IMAPStore
- host - Variable in class jakarta.mail.internet.NewsAddress
- host() - Method in annotation type jakarta.mail.MailSessionDefinition
-
Host name for the mail server.
I
- id - Variable in class com.sun.mail.imap.protocol.BODYSTRUCTURE
- id(String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
Deprecated.As of JavaMail 1.5.1, replaced by
id(Map<String,String>)
- id(Map<String, String>) - Method in class com.sun.mail.imap.IMAPFolder
-
Send the IMAP ID command (if supported by the server) and return the result from the server.
- id(Map<String, String>) - Method in class com.sun.mail.imap.IMAPStore
-
Send the IMAP ID command (if supported by the server) and return the result from the server.
- id(Map<String, String>) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
ID Command.
- ID - Class in com.sun.mail.imap.protocol
-
This class represents the response to the ID command.
- ID(Response) - Constructor for class com.sun.mail.imap.protocol.ID
-
Parse the server parameter list out of the response.
- ID_ADDRESS - Static variable in class com.sun.mail.imap.IMAPStore
- ID_ARGUMENTS - Static variable in class com.sun.mail.imap.IMAPStore
- ID_COMMAND - Static variable in class com.sun.mail.imap.IMAPStore
- ID_DATE - Static variable in class com.sun.mail.imap.IMAPStore
- ID_ENVIRONMENT - Static variable in class com.sun.mail.imap.IMAPStore
- ID_NAME - Static variable in class com.sun.mail.imap.IMAPStore
- ID_OS - Static variable in class com.sun.mail.imap.IMAPStore
- ID_OS_VERSION - Static variable in class com.sun.mail.imap.IMAPStore
- ID_SUPPORT_URL - Static variable in class com.sun.mail.imap.IMAPStore
- ID_VENDOR - Static variable in class com.sun.mail.imap.IMAPStore
- ID_VERSION - Static variable in class com.sun.mail.imap.IMAPStore
- idle() - Method in class com.sun.mail.imap.IMAPFolder
-
Use the IMAP IDLE command (see RFC 2177), if supported by the server, to enter idle mode so that the server can send unsolicited notifications of new messages arriving, etc.
- idle() - Method in class com.sun.mail.imap.IMAPStore
-
Use the IMAP IDLE command (see RFC 2177), if supported by the server, to enter idle mode so that the server can send unsolicited notifications without the need for the client to constantly poll the server.
- idle(boolean) - Method in class com.sun.mail.imap.IMAPFolder
-
Like
IMAPFolder.idle()
, but ifonce
is true, abort the IDLE command after the first notification, to allow the caller to process any notification synchronously. - idleAbort() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
Abort an IDLE command.
- IdleManager - Class in com.sun.mail.imap
-
IdleManager uses the optional IMAP IDLE command (RFC 2177) to watch multiple folders for new messages.
- IdleManager(Session, Executor) - Constructor for class com.sun.mail.imap.IdleManager
-
Create an IdleManager.
- idleStart() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
IDLE Command.
- ignore(StackTraceElement) - Method in class com.sun.mail.util.logging.CompactFormatter
-
Determines if a stack frame should be ignored as the cause of an error.
- ignoreBodyStructureSize() - Method in class com.sun.mail.imap.IMAPMessage
- ignoreBodyStructureSize() - Method in class com.sun.mail.imap.IMAPNestedMessage
- ignoreCase - Variable in class jakarta.mail.search.StringTerm
-
Ignore case when comparing?
- ignoreExistingBoundaryParameter - Variable in class jakarta.mail.internet.MimeMultipart
-
Flag corresponding to the "mail.mime.multipart.ignoreexistingboundaryparameter" property, set in the
MimeMultipart.initializeProperties()
method called from constructors and the parse method. - ignoreMissingBoundaryParameter - Variable in class jakarta.mail.internet.MimeMultipart
-
Flag corresponding to the "mail.mime.multipart.ignoremissingboundaryparameter" property, set in the
MimeMultipart.initializeProperties()
method called from constructors and the parse method. - ignoreMissingEndBoundary - Variable in class jakarta.mail.internet.MimeMultipart
-
Flag corresponding to the "mail.mime.multipart.ignoremissingendboundary" property, set in the
MimeMultipart.initializeProperties()
method called from constructors and the parse method. - IllegalWriteException - Exception in jakarta.mail
-
The exception thrown when a write is attempted on a read-only attribute of any Messaging object.
- IllegalWriteException() - Constructor for exception jakarta.mail.IllegalWriteException
-
Constructs an IllegalWriteException with no detail message.
- IllegalWriteException(String) - Constructor for exception jakarta.mail.IllegalWriteException
-
Constructs an IllegalWriteException with the specified detail message.
- IllegalWriteException(String, Exception) - Constructor for exception jakarta.mail.IllegalWriteException
-
Constructs an IllegalWriteException with the specified detail message and embedded exception.
- image_gif - Class in com.sun.mail.handlers
-
DataContentHandler for image/gif.
- image_gif() - Constructor for class com.sun.mail.handlers.image_gif
- image_jpeg - Class in com.sun.mail.handlers
-
DataContentHandler for image/jpeg.
- image_jpeg() - Constructor for class com.sun.mail.handlers.image_jpeg
- IMAPBodyPart - Class in com.sun.mail.imap
-
An IMAP body part.
- IMAPBodyPart(BODYSTRUCTURE, String, IMAPMessage) - Constructor for class com.sun.mail.imap.IMAPBodyPart
- IMAPFolder - Class in com.sun.mail.imap
-
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, Boolean) - Constructor for class com.sun.mail.imap.IMAPFolder
-
Constructor used to create a possibly non-existent folder.
- IMAPFolder.FetchProfileItem - Class in com.sun.mail.imap
-
A fetch profile item for fetching headers.
- IMAPFolder.ProtocolCommand - Interface in com.sun.mail.imap
-
A simple interface for user-defined IMAP protocol commands.
- IMAPInputStream - Class in com.sun.mail.imap
-
This class implements an IMAP data stream.
- IMAPInputStream(IMAPMessage, String, int, boolean) - Constructor for class com.sun.mail.imap.IMAPInputStream
-
Create an IMAPInputStream.
- IMAPMessage - Class in com.sun.mail.imap
-
This class implements an IMAPMessage object.
- IMAPMessage(IMAPFolder, int) - Constructor for class com.sun.mail.imap.IMAPMessage
-
Constructor.
- IMAPMessage(Session) - Constructor for class com.sun.mail.imap.IMAPMessage
-
Constructor, for use by IMAPNestedMessage.
- IMAPMessage.FetchProfileCondition - Class in com.sun.mail.imap
-
This class implements the test to be done on each message in the folder.
- IMAPMultipartDataSource - Class in com.sun.mail.imap
-
This class
- IMAPMultipartDataSource(MimePart, BODYSTRUCTURE[], String, IMAPMessage) - Constructor for class com.sun.mail.imap.IMAPMultipartDataSource
- IMAPNestedMessage - Class in com.sun.mail.imap
-
This class implements a nested IMAP message
- IMAPProtocol - Class in com.sun.mail.imap.protocol
-
This class extends the iap.Protocol object and implements IMAP semantics.
- IMAPProtocol(InputStream, PrintStream, Properties, boolean) - Constructor for class com.sun.mail.imap.protocol.IMAPProtocol
-
Constructor for debugging.
- IMAPProtocol(String, String, int, Properties, boolean, MailLogger) - Constructor for class com.sun.mail.imap.protocol.IMAPProtocol
-
Constructor.
- IMAPProvider - Class in com.sun.mail.imap
-
The IMAP protocol provider.
- IMAPProvider() - Constructor for class com.sun.mail.imap.IMAPProvider
- IMAPReferralException - Exception in com.sun.mail.imap.protocol
-
A ProtocolException that includes IMAP login referral information.
- IMAPReferralException(String, String) - Constructor for exception com.sun.mail.imap.protocol.IMAPReferralException
-
Constructs an IMAPReferralException with the specified detail message.
- IMAPResponse - Class in com.sun.mail.imap.protocol
-
This class represents a response obtained from the input stream of an IMAP server.
- IMAPResponse(Protocol) - Constructor for class com.sun.mail.imap.protocol.IMAPResponse
- IMAPResponse(IMAPResponse) - Constructor for class com.sun.mail.imap.protocol.IMAPResponse
-
Copy constructor.
- IMAPResponse(String) - Constructor for class com.sun.mail.imap.protocol.IMAPResponse
-
For testing.
- IMAPResponse(String, boolean) - Constructor for class com.sun.mail.imap.protocol.IMAPResponse
-
For testing.
- IMAPSaslAuthenticator - Class in com.sun.mail.imap.protocol
-
This class contains a single method that does authentication using SASL.
- IMAPSaslAuthenticator(IMAPProtocol, String, Properties, MailLogger, String) - Constructor for class com.sun.mail.imap.protocol.IMAPSaslAuthenticator
- IMAPSSLProvider - Class in com.sun.mail.imap
-
The IMAP SSL protocol provider.
- IMAPSSLProvider() - Constructor for class com.sun.mail.imap.IMAPSSLProvider
- IMAPSSLStore - Class in com.sun.mail.imap
-
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 in com.sun.mail.imap
-
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, boolean) - Constructor for class com.sun.mail.imap.IMAPStore
-
Constructor used by this class and by IMAPSSLStore subclass.
- in - Variable in class jakarta.mail.util.SharedFileInputStream
-
The file containing the data.
- INDETERMINATE - Static variable in class com.sun.mail.imap.protocol.ListInfo
- index - Variable in class com.sun.mail.iap.Response
- init() - Static method in class com.sun.mail.auth.OAuth2SaslClientFactory
-
Initialize this OAUTH2 provider, but only if there isn't one already.
- initializeProperties() - Method in class jakarta.mail.internet.MimeMultipart
-
Initialize flags that control parsing behavior, based on System properties described above in the class documentation.
- INLINE - Static variable in interface jakarta.mail.Part
-
This part should be presented inline.
- inReplyTo - Variable in class com.sun.mail.imap.protocol.ENVELOPE
- INSERT - Static variable in class com.sun.mail.imap.Rights.Right
-
Insert - perform APPEND, COPY into mailbox.
- IntegerComparisonTerm - Class in jakarta.mail.search
-
This class implements comparisons for integers.
- IntegerComparisonTerm(int, int) - Constructor for class jakarta.mail.search.IntegerComparisonTerm
- INTERNALDATE - Class in com.sun.mail.imap.protocol
-
An INTERNALDATE FETCH item.
- INTERNALDATE - Static variable in class com.sun.mail.imap.IMAPFolder.FetchProfileItem
-
INTERNALDATE is a fetch profile item that can be included in a
FetchProfile
during a fetch request to a Folder. - INTERNALDATE(FetchResponse) - Constructor for class com.sun.mail.imap.protocol.INTERNALDATE
-
Constructor.
- InternetAddress - Class in jakarta.mail.internet
-
This class represents an Internet email address using the syntax of RFC822.
- InternetAddress() - Constructor for class jakarta.mail.internet.InternetAddress
-
Default constructor.
- InternetAddress(String) - Constructor for class jakarta.mail.internet.InternetAddress
-
Constructor.
- InternetAddress(String, boolean) - Constructor for class jakarta.mail.internet.InternetAddress
-
Parse the given string and create an InternetAddress.
- InternetAddress(String, String) - Constructor for class jakarta.mail.internet.InternetAddress
-
Construct an InternetAddress given the address and personal name.
- InternetAddress(String, String, String) - Constructor for class jakarta.mail.internet.InternetAddress
-
Construct an InternetAddress given the address and personal name.
- InternetHeader(String) - Constructor for class jakarta.mail.internet.InternetHeaders.InternetHeader
-
Constructor that takes a line and splits out the header name.
- InternetHeader(String, String) - Constructor for class jakarta.mail.internet.InternetHeaders.InternetHeader
-
Constructor that takes a header name and value.
- InternetHeaders - Class in jakarta.mail.internet
-
InternetHeaders is a utility class that manages RFC822 style headers.
- InternetHeaders() - Constructor for class jakarta.mail.internet.InternetHeaders
-
Create an empty InternetHeaders object.
- InternetHeaders(InputStream) - Constructor for class jakarta.mail.internet.InternetHeaders
-
Read and parse the given RFC822 message stream till the blank line separating the header from the body.
- InternetHeaders(InputStream, boolean) - Constructor for class jakarta.mail.internet.InternetHeaders
-
Read and parse the given RFC822 message stream till the blank line separating the header from the body.
- InternetHeaders.InternetHeader - Class in jakarta.mail.internet
-
An individual internet header.
- invalid - Variable in class jakarta.mail.event.TransportEvent
-
The invalid addresses.
- invalid - Variable in exception jakarta.mail.SendFailedException
- 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.
- invalidateHeaders() - Method in class com.sun.mail.imap.IMAPMessage
-
Invalidate cached header and envelope information for this message.
- isAscii(SearchTerm) - Static method in class com.sun.mail.imap.protocol.SearchSequence
-
Check if the "text" terms in the given SearchTerm contain non US-ASCII characters.
- isAscii(SearchTerm[]) - Static method in class com.sun.mail.imap.protocol.SearchSequence
-
Check if any of the "text" terms in the given SearchTerms contain non US-ASCII characters.
- isAscii(String) - Static method in class com.sun.mail.imap.protocol.SearchSequence
-
Does this string contain only ASCII characters?
- isAuthenticated() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
Returns
true
if the connection has been authenticated, either due to a successful login, or due to a PREAUTH greeting response. - isBAD() - Method in class com.sun.mail.iap.Response
- isBound() - Method in class com.sun.mail.util.WriteTimeoutSocket
- isBYE() - Method in class com.sun.mail.iap.Response
- isClosed() - Method in class com.sun.mail.util.WriteTimeoutSocket
- isComplete() - Method in class com.sun.mail.auth.OAuth2SaslClient
- isComplete() - Method in class jakarta.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 com.sun.mail.smtp.SMTPTransport
-
Check whether the transport is connected.
- isConnected() - Method in class com.sun.mail.util.WriteTimeoutSocket
- isConnected() - Method in class jakarta.mail.Service
-
Is this service currently connected?
- isContinuation() - Method in class com.sun.mail.iap.Response
- isEnabled(String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
Is the capability/extension enabled?
- isExpunged() - Method in class com.sun.mail.imap.IMAPNestedMessage
- isExpunged() - Method in class jakarta.mail.Message
-
Checks whether this message is expunged.
- isGroup() - Method in class jakarta.mail.internet.InternetAddress
-
Indicates whether this address is an RFC 822 group address.
- isHeader() - Method in class com.sun.mail.imap.protocol.BODY
- isHeader() - Method in class com.sun.mail.imap.protocol.RFC822DATA
- isIdle() - Method in class com.sun.mail.util.logging.DurationFilter
-
Determines if this filter is able to accept the maximum number of log records for this instant in time.
- isInputShutdown() - Method in class com.sun.mail.util.WriteTimeoutSocket
- isLoggable() - Method in class com.sun.mail.util.logging.DurationFilter
-
Determines if this filter will accept log records for this instant in time.
- isLoggable(Level) - Method in class com.sun.mail.util.MailLogger
-
If "debug" is set, or our embedded Logger is loggable at the given level, return true.
- isLoggable(LogRecord) - Method in class com.sun.mail.util.logging.DurationFilter
-
Check if the given log record should be published.
- isLoggable(LogRecord) - Method in class com.sun.mail.util.logging.MailHandler
-
Check if this
Handler
would actually log a givenLogRecord
into its internal buffer. - isMimeType(String) - Method in class jakarta.mail.internet.MimeBodyPart
-
Is this Part of the specified MIME type? This method compares only the
primaryType
andsubType
. - isMimeType(String) - Method in class jakarta.mail.internet.MimeMessage
-
Is this Part of the specified MIME type? This method compares only the
primaryType
andsubType
. - isMimeType(String) - Method in interface jakarta.mail.Part
-
Is this Part of the specified MIME type? This method compares only the
primaryType
andsubType
. - isMulti() - Method in class com.sun.mail.imap.protocol.BODYSTRUCTURE
- isNamespace - Variable in class com.sun.mail.imap.IMAPFolder
- isNested() - Method in class com.sun.mail.imap.protocol.BODYSTRUCTURE
- isNextNonSpace(char) - Method in class com.sun.mail.iap.Response
-
Skip past any spaces.
- isNO() - Method in class com.sun.mail.iap.Response
- isNormal(Throwable) - Method in class com.sun.mail.util.logging.SeverityComparator
-
Determines if the given throwable instance is "normal occurrence".
- isOK() - Method in class com.sun.mail.iap.Response
- isOpen() - Method in class com.sun.mail.imap.IMAPFolder
-
Check whether this connection is really open.
- isOpen() - Method in class com.sun.mail.pop3.DefaultFolder
- isOpen() - Method in class com.sun.mail.pop3.POP3Folder
- isOpen() - Method in class jakarta.mail.Folder
-
Indicates whether this Folder is in the 'open' state.
- isOutputShutdown() - Method in class com.sun.mail.util.WriteTimeoutSocket
- isRemoved() - Method in class jakarta.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.
- isREV1() - Method in class com.sun.mail.imap.IMAPMessage
- isREV1() - Method in class com.sun.mail.imap.IMAPNestedMessage
- isREV1() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
Returns
true
if this is an IMAP4rev1 server - isRunning() - Method in class com.sun.mail.imap.IdleManager
-
Is the IdleManager currently running? The IdleManager starts running when the Executor schedules its task.
- isServerTrusted(String, SSLSocket) - Method in class com.sun.mail.util.MailSSLSocketFactory
-
After a successful conection to the server, this method is called to ensure that the server should be trusted.
- isSet(Flags.Flag) - Method in class com.sun.mail.imap.IMAPMessage
-
Test if the given Flags are set in this message.
- isSet(Flags.Flag) - Method in class jakarta.mail.internet.MimeMessage
-
Check whether the flag specified in the
flag
argument is set in this message. - isSet(Flags.Flag) - Method in class jakarta.mail.Message
-
Check whether the flag specified in the
flag
argument is set in this message. - isSingle() - Method in class com.sun.mail.imap.protocol.BODYSTRUCTURE
- isSSL - Variable in class com.sun.mail.imap.IMAPStore
- isSSL() - Method in class com.sun.mail.iap.Protocol
-
Is this connection using an SSL socket?
- isSSL() - Method in class com.sun.mail.imap.IMAPStore
-
Does this IMAPStore use SSL when connecting to the server?
- isSSL() - Method in class com.sun.mail.pop3.POP3Store
-
Is this POP3Store using SSL to connect to the server?
- isSSL() - Method in class com.sun.mail.smtp.SMTPTransport
-
Is this Transport using SSL to connect to the server?
- isSubscribed() - Method in class com.sun.mail.imap.IMAPFolder
-
Check whether this folder is subscribed.
- isSubscribed() - Method in class jakarta.mail.Folder
-
Returns true if this Folder is subscribed.
- issueCommand(String, int) - Method in class com.sun.mail.smtp.SMTPTransport
-
Send the command to the server.
- isSynthetic() - Method in class com.sun.mail.iap.Response
- isTagged() - Method in class com.sun.mail.iap.Response
- isTracing() - Method in class com.sun.mail.iap.Protocol
-
Is protocol tracing enabled?
- isTrustAllHosts() - Method in class com.sun.mail.util.MailSSLSocketFactory
- isUnTagged() - Method in class com.sun.mail.iap.Response
- Item - Interface in com.sun.mail.imap.protocol
-
A tagging interface for all IMAP data items.
- Item(String) - Constructor for class jakarta.mail.FetchProfile.Item
-
Constructor for an item.
- items - Variable in class com.sun.mail.iap.Argument
- items - Variable in class com.sun.mail.imap.IMAPMessage
-
A map of the extension FETCH items.
- items - Variable in class com.sun.mail.imap.protocol.Status
J
- jakarta.mail - module jakarta.mail
- jakarta.mail - package jakarta.mail
-
The Jakarta Mail API provides classes that model a mail system.
- jakarta.mail.event - package jakarta.mail.event
-
Listeners and events for the Jakarta Mail API.
- jakarta.mail.internet - package jakarta.mail.internet
-
Classes specific to Internet mail systems.
- jakarta.mail.search - package jakarta.mail.search
-
Message search terms for the Jakarta Mail API.
- jakarta.mail.util - package jakarta.mail.util
-
Jakarta Mail API utility classes.
- javaCharset(String) - Static method in class jakarta.mail.internet.MimeUtility
-
Convert a MIME charset name into a valid Java charset name.
K
- KEEP_SEEN - Static variable in class com.sun.mail.imap.Rights.Right
-
Keep seen/unseen information across sessions - STORE \SEEN flag.
- keepConnectionAlive(boolean) - Method in class com.sun.mail.imap.IMAPFolder
-
Issue a noop command for the connection if the connection has not been used in more than a second.
- keyEquals(String) - Method in class com.sun.mail.imap.protocol.IMAPResponse
L
- language - Variable in class com.sun.mail.imap.protocol.BODYSTRUCTURE
- lastb - Variable in class com.sun.mail.util.CRLFOutputStream
- LASTUID - Static variable in interface jakarta.mail.UIDFolder
-
This is a special value that can be used as the
end
parameter ingetMessagesByUID(start, end)
, to denote the UID of the last message in the folder. - LE - Static variable in class jakarta.mail.search.ComparisonTerm
- level - Variable in class com.sun.mail.util.LogOutputStream
- limit - Variable in class jakarta.mail.Quota.Resource
-
The usage limit for the resource.
- LineInputStream - Class in com.sun.mail.util
-
LineInputStream supports reading CRLF terminated lines that contain only US-ASCII characters from an input stream.
- LineInputStream(InputStream) - Constructor for class com.sun.mail.util.LineInputStream
- LineInputStream(InputStream, boolean) - Constructor for class com.sun.mail.util.LineInputStream
- LineOutputStream - Class in com.sun.mail.util
-
This class is to support writing out Strings as a sequence of bytes terminated by a CRLF sequence.
- LineOutputStream(OutputStream) - Constructor for class com.sun.mail.util.LineOutputStream
- LineOutputStream(OutputStream, boolean) - Constructor for class com.sun.mail.util.LineOutputStream
- lines - Variable in class com.sun.mail.imap.protocol.BODYSTRUCTURE
- list() - Method in class jakarta.mail.Folder
-
Convenience method that returns the list of folders under this Folder.
- list(String) - Method in class com.sun.mail.imap.DefaultFolder
- 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.DefaultFolder
- list(String) - Method in class com.sun.mail.pop3.POP3Folder
-
Always throws
MessagingException
because no POP3 folders can contain subfolders. - list(String) - Method in class jakarta.mail.Folder
-
Returns a list of Folders belonging to this Folder's namespace that match the specified pattern.
- list(String, String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
LIST Command.
- listCommand() - Method in class com.sun.mail.pop3.POP3Folder
-
Return the raw results of the POP3 LIST command with no arguments.
- ListInfo - Class in com.sun.mail.imap.protocol
-
A LIST response.
- ListInfo(IMAPResponse) - Constructor for class com.sun.mail.imap.protocol.ListInfo
- listRights(String) - Method in class com.sun.mail.imap.IMAPFolder
-
Get all the rights that may be allowed to the given identifier.
- listRights(String, String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
LISTRIGHTS Command.
- listSubscribed() - Method in class jakarta.mail.Folder
-
Convenience method that returns the list of subscribed folders under this Folder.
- listSubscribed(String) - Method in class com.sun.mail.imap.DefaultFolder
- listSubscribed(String) - Method in class com.sun.mail.imap.IMAPFolder
-
List all subscribed subfolders matching the specified pattern.
- listSubscribed(String) - Method in class jakarta.mail.Folder
-
Returns a list of subscribed Folders belonging to this Folder's namespace that match the specified pattern.
- Literal - Interface in com.sun.mail.iap
-
An interface for objects that provide data dynamically for use in a literal protocol element.
- LiteralException - Exception in com.sun.mail.iap
- LiteralException(Response) - Constructor for exception com.sun.mail.iap.LiteralException
-
Constructs a LiteralException with the specified Response object.
- load(InputStream) - Method in class jakarta.mail.internet.InternetHeaders
-
Read and parse the given RFC822 message stream till the blank line separating the header from the body.
- load(InputStream, boolean) - Method in class jakarta.mail.internet.InternetHeaders
-
Read and parse the given RFC822 message stream till the blank line separating the header from the body.
- log(String) - Method in class com.sun.mail.util.LogOutputStream
-
Log the specified message.
- log(Level, String) - Method in class com.sun.mail.util.MailLogger
-
Log the message at the specified level.
- log(Level, String, Object) - Method in class com.sun.mail.util.MailLogger
-
Log the message at the specified level.
- log(Level, String, Object...) - Method in class com.sun.mail.util.MailLogger
-
Log the message at the specified level.
- log(Level, String, Throwable) - Method in class com.sun.mail.util.MailLogger
-
Log the message at the specified level.
- logf(Level, String, Object...) - Method in class com.sun.mail.util.MailLogger
-
Log the message at the specified level using a format string.
- logger - Variable in class com.sun.mail.iap.Protocol
- logger - Variable in class com.sun.mail.imap.IMAPFolder
- logger - Variable in class com.sun.mail.imap.IMAPStore
- logger - Variable in class com.sun.mail.util.LogOutputStream
- login(String, String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
LOGIN Command.
- logout() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
LOGOUT Command.
- LogOutputStream - Class in com.sun.mail.util
-
Capture output lines and send them to the mail logger.
- LogOutputStream(MailLogger) - Constructor for class com.sun.mail.util.LogOutputStream
-
Log to the specified logger.
- LOOKUP - Static variable in class com.sun.mail.imap.Rights.Right
-
Lookup - mailbox is visible to LIST/LSUB commands.
- lsub(String, String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
LSUB Command.
- LT - Static variable in class jakarta.mail.search.ComparisonTerm
M
- MailboxInfo - Class in com.sun.mail.imap.protocol
-
Information collected when opening a mailbox.
- MailboxInfo(Response[]) - Constructor for class com.sun.mail.imap.protocol.MailboxInfo
-
Collect the information about this mailbox from the responses to a SELECT or EXAMINE.
- MailConnectException - Exception in com.sun.mail.util
-
A MessagingException that indicates a socket connection attempt failed.
- MailConnectException(SocketConnectException) - Constructor for exception com.sun.mail.util.MailConnectException
-
Constructs a MailConnectException.
- MailDateFormat - Class in jakarta.mail.internet
-
Formats and parses date specification based on RFC 2822.
- MailDateFormat() - Constructor for class jakarta.mail.internet.MailDateFormat
-
Create a new date format for the RFC2822 specification with lenient parsing.
- MailEvent - Class in jakarta.mail.event
-
Common base class for mail events, defining the dispatch method.
- MailEvent(Object) - Constructor for class jakarta.mail.event.MailEvent
-
Construct a MailEvent referring to the given source.
- mailFrom() - Method in class com.sun.mail.smtp.SMTPTransport
-
Issue the
MAIL FROM:
command to start sending a message. - MailHandler - Class in com.sun.mail.util.logging
-
Handler
that formats log records as an email message. - MailHandler() - Constructor for class com.sun.mail.util.logging.MailHandler
-
Creates a
MailHandler
that is configured by theLogManager
configuration properties. - MailHandler(int) - Constructor for class com.sun.mail.util.logging.MailHandler
-
Creates a
MailHandler
that is configured by theLogManager
configuration properties but overrides theLogManager
capacity with the given capacity. - MailHandler(Properties) - Constructor for class com.sun.mail.util.logging.MailHandler
-
Creates a mail handler with the given mail properties.
- MailLogger - Class in com.sun.mail.util
-
A simplified logger used by Jakarta Mail to handle logging to a PrintStream and logging through a java.util.logging.Logger.
- MailLogger(Class<?>, String, boolean, PrintStream) - Constructor for class com.sun.mail.util.MailLogger
-
Construct a new MailLogger using the specified class' package name as the Logger name, debug prefix (e.g., "DEBUG"), debug flag, and PrintStream.
- MailLogger(Class<?>, String, Session) - Constructor for class com.sun.mail.util.MailLogger
-
Deprecated.
- MailLogger(Class<?>, String, String, boolean, PrintStream) - Constructor for class com.sun.mail.util.MailLogger
-
Construct a new MailLogger using the specified class' package name combined with the specified subname as the Logger name, debug prefix (e.g., "DEBUG"), debug flag, and PrintStream.
- MailLogger(String, String, boolean, PrintStream) - Constructor for class com.sun.mail.util.MailLogger
-
Construct a new MailLogger using the specified Logger name, debug prefix (e.g., "DEBUG"), debug flag, and PrintStream.
- MailLogger(String, String, Session) - Constructor for class com.sun.mail.util.MailLogger
-
Deprecated.
- MailSessionDefinition - Annotation Type in jakarta.mail
-
Annotation used by Jakarta EE applications to define a
MailSession
to be registered with JNDI. - MailSessionDefinitions - Annotation Type in jakarta.mail
-
Declares one or more
MailSessionDefinition
annotations. - MailSSLSocketFactory - Class in com.sun.mail.util
-
An SSL socket factory that makes it easier to specify trust.
- MailSSLSocketFactory() - Constructor for class com.sun.mail.util.MailSSLSocketFactory
-
Initializes a new MailSSLSocketFactory.
- MailSSLSocketFactory(String) - Constructor for class com.sun.mail.util.MailSSLSocketFactory
-
Initializes a new MailSSLSocketFactory with a given protocol.
- mark(int) - Method in class jakarta.mail.util.SharedFileInputStream
-
See the general contract of the
mark
method ofInputStream
. - markSupported() - Method in class com.sun.mail.util.BASE64DecoderStream
-
Tests if this input stream supports marks.
- markSupported() - Method in class com.sun.mail.util.QPDecoderStream
-
Tests if this input stream supports marks.
- markSupported() - Method in class com.sun.mail.util.UUDecoderStream
- markSupported() - Method in class jakarta.mail.util.SharedFileInputStream
-
Tests if this input stream supports the
mark
andreset
methods. - match(int) - Method in class jakarta.mail.search.IntegerComparisonTerm
- match(Address) - Method in class jakarta.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 jakarta.mail.search.AddressTerm
-
Match against the argument Address.
- match(ContentType) - Method in class jakarta.mail.internet.ContentType
-
Match with the specified ContentType object.
- match(Message) - Method in class com.sun.mail.imap.ModifiedSinceTerm
-
The match method.
- match(Message) - Method in class com.sun.mail.imap.OlderTerm
-
The match method.
- match(Message) - Method in class com.sun.mail.imap.YoungerTerm
-
The match method.
- match(Message) - Method in class jakarta.mail.search.AndTerm
-
The AND operation.
- match(Message) - Method in class jakarta.mail.search.BodyTerm
-
The match method.
- match(Message) - Method in class jakarta.mail.search.FlagTerm
-
The comparison method.
- match(Message) - Method in class jakarta.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 jakarta.mail.search.FromTerm
-
The address comparator.
- match(Message) - Method in class jakarta.mail.search.HeaderTerm
-
The header match method.
- match(Message) - Method in class jakarta.mail.search.MessageIDTerm
-
The match method.
- match(Message) - Method in class jakarta.mail.search.MessageNumberTerm
-
The match method.
- match(Message) - Method in class jakarta.mail.search.NotTerm
- match(Message) - Method in class jakarta.mail.search.OrTerm
-
The OR operation.
- match(Message) - Method in class jakarta.mail.search.ReceivedDateTerm
-
The match method.
- match(Message) - Method in class jakarta.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 jakarta.mail.search.RecipientTerm
-
The match method.
- match(Message) - Method in class jakarta.mail.search.SearchTerm
-
This method applies a specific match criterion to the given message and returns the result.
- match(Message) - Method in class jakarta.mail.search.SentDateTerm
-
The match method.
- match(Message) - Method in class jakarta.mail.search.SizeTerm
-
The match method.
- match(Message) - Method in class jakarta.mail.search.SubjectTerm
-
The match method.
- match(SearchTerm) - Method in class jakarta.mail.Message
-
Apply the specified Search criterion to this message.
- match(String) - Method in class jakarta.mail.internet.ContentType
-
Match with the specified content-type string.
- match(String) - Method in class jakarta.mail.search.StringTerm
- match(Date) - Method in class jakarta.mail.search.DateTerm
-
The date comparison method.
- MAXUID - Static variable in interface jakarta.mail.UIDFolder
-
The largest value possible for a UID, a 32-bit unsigned integer.
- mbox - Variable in class com.sun.mail.imap.protocol.Status
- MD4 - Class in com.sun.mail.auth
-
The MD4 class is used to compute an MD4 message digest over a given buffer of bytes.
- MD4() - Constructor for class com.sun.mail.auth.MD4
-
Standard constructor, creates a new MD4 instance.
- md5 - Variable in class com.sun.mail.imap.protocol.BODYSTRUCTURE
- message - Variable in class jakarta.mail.event.StoreEvent
-
The message text to be presented to the user.
- Message - Class in jakarta.mail
-
This class models an email message.
- Message() - Constructor for class jakarta.mail.Message
-
No-arg version of the constructor.
- Message(Folder, int) - Constructor for class jakarta.mail.Message
-
Constructor that takes a Folder and a message number.
- Message(Session) - Constructor for class jakarta.mail.Message
-
Constructor that takes a Session.
- MESSAGE - Static variable in class com.sun.mail.imap.IMAPFolder.FetchProfileItem
-
MESSAGE is a fetch profile item that can be included in a
FetchProfile
during a fetch request to a Folder. - MESSAGE_DELIVERED - Static variable in class jakarta.mail.event.TransportEvent
-
Message has been successfully delivered to all recipients by the transport firing this event.
- MESSAGE_NOT_DELIVERED - Static variable in class jakarta.mail.event.TransportEvent
-
Message was not sent for some reason.
- MESSAGE_PARTIALLY_DELIVERED - Static variable in class jakarta.mail.event.TransportEvent
-
Message was successfully sent to some recipients but not to all.
- message_rfc822 - Class in com.sun.mail.handlers
- message_rfc822() - Constructor for class com.sun.mail.handlers.message_rfc822
- Message.RecipientType - Class in jakarta.mail
-
This inner class defines the types of recipients allowed by the Message class.
- MessageAware - Interface in jakarta.mail
-
An interface optionally implemented by
DataSources
to supply information to aDataContentHandler
about the message context in which the data content object is operating. - messageCache - Variable in class com.sun.mail.imap.IMAPFolder
- MessageCache - Class in com.sun.mail.imap
-
A cache of IMAPMessage objects along with the mapping from message number to IMAP sequence number.
- messageCacheLock - Variable in class com.sun.mail.imap.IMAPFolder
- messageChanged(MessageChangedEvent) - Method in interface jakarta.mail.event.MessageChangedListener
-
Invoked when a message is changed.
- MessageChangedEvent - Class in jakarta.mail.event
-
This class models Message change events.
- MessageChangedEvent(Object, int, Message) - Constructor for class jakarta.mail.event.MessageChangedEvent
-
Constructor.
- MessageChangedListener - Interface in jakarta.mail.event
-
This is the Listener interface for MessageChanged events
- MessageContext - Class in jakarta.mail
-
The context in which a piece of Message content is contained.
- MessageContext(Part) - Constructor for class jakarta.mail.MessageContext
-
Create a MessageContext object describing the context of the given Part.
- MessageCountAdapter - Class in jakarta.mail.event
-
The adapter which receives MessageCount events.
- MessageCountAdapter() - Constructor for class jakarta.mail.event.MessageCountAdapter
- MessageCountEvent - Class in jakarta.mail.event
-
This class notifies changes in the number of messages in a folder.
- MessageCountEvent(Folder, int, boolean, Message[]) - Constructor for class jakarta.mail.event.MessageCountEvent
-
Constructor.
- MessageCountListener - Interface in jakarta.mail.event
-
This is the Listener interface for MessageCount events.
- messageDelivered(TransportEvent) - Method in class jakarta.mail.event.TransportAdapter
- messageDelivered(TransportEvent) - Method in interface jakarta.mail.event.TransportListener
-
Invoked when a Message is succesfully delivered.
- messageid(MessageIDTerm, String) - Method in class com.sun.mail.imap.protocol.SearchSequence
- messageId - Variable in class com.sun.mail.imap.protocol.ENVELOPE
- MessageIDTerm - Class in jakarta.mail.search
-
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 jakarta.mail.search.MessageIDTerm
-
Constructor.
- messageNotDelivered(TransportEvent) - Method in class jakarta.mail.event.TransportAdapter
- messageNotDelivered(TransportEvent) - Method in interface jakarta.mail.event.TransportListener
-
Invoked when a Message is not delivered.
- MessageNumberTerm - Class in jakarta.mail.search
-
This class implements comparisons for Message numbers.
- MessageNumberTerm(int) - Constructor for class jakarta.mail.search.MessageNumberTerm
-
Constructor.
- messagePartiallyDelivered(TransportEvent) - Method in class jakarta.mail.event.TransportAdapter
- messagePartiallyDelivered(TransportEvent) - Method in interface jakarta.mail.event.TransportListener
-
Invoked when a Message is partially delivered.
- MessageRemovedException - Exception in jakarta.mail
-
The exception thrown when an invalid method is invoked on an expunged Message.
- MessageRemovedException() - Constructor for exception jakarta.mail.MessageRemovedException
-
Constructs a MessageRemovedException with no detail message.
- MessageRemovedException(String) - Constructor for exception jakarta.mail.MessageRemovedException
-
Constructs a MessageRemovedException with the specified detail message.
- MessageRemovedException(String, Exception) - Constructor for exception jakarta.mail.MessageRemovedException
-
Constructs a MessageRemovedException with the specified detail message and embedded exception.
- MessageRemovedIOException - Exception in com.sun.mail.util
-
A variant of MessageRemovedException that can be thrown from methods that only throw IOException.
- MessageRemovedIOException() - Constructor for exception com.sun.mail.util.MessageRemovedIOException
-
Constructs a MessageRemovedIOException with no detail message.
- MessageRemovedIOException(String) - Constructor for exception com.sun.mail.util.MessageRemovedIOException
-
Constructs a MessageRemovedIOException with the specified detail message.
- messagesAdded(MessageCountEvent) - Method in class jakarta.mail.event.MessageCountAdapter
- messagesAdded(MessageCountEvent) - Method in interface jakarta.mail.event.MessageCountListener
-
Invoked when messages are added into a folder.
- MessageSet - Class in com.sun.mail.imap.protocol
-
This class holds the 'start' and 'end' for a range of messages.
- MessageSet() - Constructor for class com.sun.mail.imap.protocol.MessageSet
- MessageSet(int, int) - Constructor for class com.sun.mail.imap.protocol.MessageSet
- messagesRemoved(MessageCountEvent) - Method in class jakarta.mail.event.MessageCountAdapter
- messagesRemoved(MessageCountEvent) - Method in interface jakarta.mail.event.MessageCountListener
-
Invoked when messages are removed (expunged) from a folder.
- MessageVanishedEvent - Class in com.sun.mail.imap
-
This class provides notification of messages that have been removed since the folder was last synchronized.
- MessageVanishedEvent(Folder, long[]) - Constructor for class com.sun.mail.imap.MessageVanishedEvent
-
Constructor.
- MessagingException - Exception in jakarta.mail
-
The base class for all exceptions thrown by the Messaging classes
- MessagingException() - Constructor for exception jakarta.mail.MessagingException
-
Constructs a MessagingException with no detail message.
- MessagingException(String) - Constructor for exception jakarta.mail.MessagingException
-
Constructs a MessagingException with the specified detail message.
- MessagingException(String, Exception) - Constructor for exception jakarta.mail.MessagingException
-
Constructs a MessagingException with the specified Exception and detail message.
- MethodNotSupportedException - Exception in jakarta.mail
-
The exception thrown when a method is not supported by the implementation
- MethodNotSupportedException() - Constructor for exception jakarta.mail.MethodNotSupportedException
-
Constructs a MethodNotSupportedException with no detail message.
- MethodNotSupportedException(String) - Constructor for exception jakarta.mail.MethodNotSupportedException
-
Constructs a MethodNotSupportedException with the specified detail message.
- MethodNotSupportedException(String, Exception) - Constructor for exception jakarta.mail.MethodNotSupportedException
-
Constructs a MethodNotSupportedException with the specified detail message and embedded exception.
- MIME - Static variable in class jakarta.mail.internet.HeaderTokenizer
-
MIME specials
- MimeBodyPart - Class in jakarta.mail.internet
-
This class represents a MIME body part.
- MimeBodyPart() - Constructor for class jakarta.mail.internet.MimeBodyPart
-
An empty MimeBodyPart object is created.
- MimeBodyPart(InternetHeaders, byte[]) - Constructor for class jakarta.mail.internet.MimeBodyPart
-
Constructs a MimeBodyPart using the given header and content bytes.
- MimeBodyPart(InputStream) - Constructor for class jakarta.mail.internet.MimeBodyPart
-
Constructs a MimeBodyPart by reading and parsing the data from the specified input stream.
- mimeCharset(String) - Static method in class jakarta.mail.internet.MimeUtility
-
Convert a java charset into its MIME charset name.
- MimeMessage - Class in jakarta.mail.internet
-
This class represents a MIME style email message.
- MimeMessage(Folder, int) - Constructor for class jakarta.mail.internet.MimeMessage
-
Constructs an empty MimeMessage object with the given Folder and message number.
- MimeMessage(Folder, InternetHeaders, byte[], int) - Constructor for class jakarta.mail.internet.MimeMessage
-
Constructs a MimeMessage from the given InternetHeaders object and content.
- MimeMessage(Folder, InputStream, int) - Constructor for class jakarta.mail.internet.MimeMessage
-
Constructs a MimeMessage by reading and parsing the data from the specified MIME InputStream.
- MimeMessage(MimeMessage) - Constructor for class jakarta.mail.internet.MimeMessage
-
Constructs a new MimeMessage with content initialized from the
source
MimeMessage. - MimeMessage(Session) - Constructor for class jakarta.mail.internet.MimeMessage
-
Default constructor.
- MimeMessage(Session, InputStream) - Constructor for class jakarta.mail.internet.MimeMessage
-
Constructs a MimeMessage by reading and parsing the data from the specified MIME InputStream.
- MimeMessage.RecipientType - Class in jakarta.mail.internet
-
This inner class extends the jakarta.mail.Message.RecipientType class to add additional RecipientTypes.
- MimeMultipart - Class in jakarta.mail.internet
-
The MimeMultipart class is an implementation of the abstract Multipart class that uses MIME conventions for the multipart data.
- MimeMultipart() - Constructor for class jakarta.mail.internet.MimeMultipart
-
Default constructor.
- MimeMultipart(DataSource) - Constructor for class jakarta.mail.internet.MimeMultipart
-
Constructs a MimeMultipart object and its bodyparts from the given DataSource.
- MimeMultipart(BodyPart...) - Constructor for class jakarta.mail.internet.MimeMultipart
-
Construct a MimeMultipart object of the default "mixed" subtype, and with the given body parts.
- MimeMultipart(String) - Constructor for class jakarta.mail.internet.MimeMultipart
-
Construct a MimeMultipart object of the given subtype.
- MimeMultipart(String, BodyPart...) - Constructor for class jakarta.mail.internet.MimeMultipart
-
Construct a MimeMultipart object of the given subtype and with the given body parts.
- MimePart - Interface in jakarta.mail.internet
-
The MimePart interface models an Entity as defined by MIME (RFC2045, Section 2.4).
- MimePartDataSource - Class in jakarta.mail.internet
-
A utility class that implements a DataSource out of a MimePart.
- MimePartDataSource(MimePart) - Constructor for class jakarta.mail.internet.MimePartDataSource
-
Constructor, that constructs a DataSource from a MimePart.
- MimeUtil - Class in com.sun.mail.util
-
General MIME-related utility methods.
- MimeUtility - Class in jakarta.mail.internet
-
This is a utility class that provides various MIME related functionality.
- mode - Variable in class com.sun.mail.imap.protocol.MailboxInfo
-
Folder.READ_WRITE or Folder.READ_ONLY, set by IMAPProtocol.
- mode - Variable in class jakarta.mail.Folder
-
The open mode of this folder.
- modified - Variable in class jakarta.mail.internet.MimeMessage
-
A flag indicating whether the message has been modified.
- modifiedSince(ModifiedSinceTerm) - Method in class com.sun.mail.imap.protocol.SearchSequence
-
Generate argument for ModifiedSinceTerm.
- ModifiedSinceTerm - Class in com.sun.mail.imap
-
Find messages that have been modified since a given MODSEQ value.
- ModifiedSinceTerm(long) - Constructor for class com.sun.mail.imap.ModifiedSinceTerm
-
Constructor.
- modseq - Variable in class com.sun.mail.imap.protocol.MODSEQ
- MODSEQ - Class in com.sun.mail.imap.protocol
-
This class represents the MODSEQ data item.
- MODSEQ(FetchResponse) - Constructor for class com.sun.mail.imap.protocol.MODSEQ
-
Constructor.
- move(int, int, String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
MOVE command.
- move(MessageSet[], String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
MOVE command.
- moveMessages(Message[], Folder) - Method in class com.sun.mail.imap.IMAPFolder
-
Move the specified messages from this folder, to the specified destination.
- moveuid(int, int, String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
MOVE Command, return uid from COPYUID response code.
- moveuid(MessageSet[], String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
MOVE Command, return uid from COPYUID response code.
- moveUIDMessages(Message[], Folder) - Method in class com.sun.mail.imap.IMAPFolder
-
Move the specified messages from this folder, to the specified destination.
- msg - Variable in class jakarta.mail.event.MessageChangedEvent
-
The message that changed.
- msg - Variable in class jakarta.mail.event.TransportEvent
-
The Message to which this event applies.
- msgno - Variable in class com.sun.mail.imap.protocol.BODYSTRUCTURE
- msgno - Variable in class com.sun.mail.imap.protocol.ENVELOPE
- msgno - Variable in class com.sun.mail.imap.protocol.FLAGS
- msgno - Variable in class com.sun.mail.imap.protocol.INTERNALDATE
- msgno - Variable in class com.sun.mail.imap.protocol.RFC822SIZE
- msgnum - Variable in class jakarta.mail.Message
-
The number of this message within its folder, or zero if the message was not retrieved from a folder.
- msgs - Variable in class jakarta.mail.event.MessageCountEvent
-
The messages.
- Multipart - Class in jakarta.mail
-
Multipart is a container that holds multiple body parts.
- Multipart() - Constructor for class jakarta.mail.Multipart
-
Default constructor.
- multipart_mixed - Class in com.sun.mail.handlers
- multipart_mixed() - Constructor for class com.sun.mail.handlers.multipart_mixed
- MultipartDataSource - Interface in jakarta.mail
-
MultipartDataSource is a
DataSource
that contains body parts. - myRights() - Method in class com.sun.mail.imap.IMAPFolder
-
Get the rights allowed to the currently authenticated user.
- myRights(String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
MYRIGHTS Command.
N
- name - Variable in class com.sun.mail.imap.IMAPFolder
- name - Variable in class com.sun.mail.imap.IMAPStore
- name - Variable in class com.sun.mail.imap.protocol.ListInfo
- name - Variable in class jakarta.mail.Header
-
The name of the header.
- name - Variable in class jakarta.mail.Quota.Resource
-
The name of the resource.
- name() - Method in annotation type jakarta.mail.MailSessionDefinition
-
JNDI name by which the mail session will be registered.
- namespace() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
NAMESPACE Command.
- Namespace(Response) - Constructor for class com.sun.mail.imap.protocol.Namespaces.Namespace
-
Parse a namespace element out of the response.
- Namespaces - Class in com.sun.mail.imap.protocol
-
This class and its inner class represent the response to the NAMESPACE command.
- Namespaces(Response) - Constructor for class com.sun.mail.imap.protocol.Namespaces
-
Parse out all the namespaces.
- Namespaces.Namespace - Class in com.sun.mail.imap.protocol
-
A single namespace entry.
- NE - Static variable in class jakarta.mail.search.ComparisonTerm
- newFolder - Variable in class jakarta.mail.event.FolderEvent
-
The folder that represents the new name, in case of a RENAMED event.
- newIMAPFolder(ListInfo) - Method in class com.sun.mail.imap.IMAPStore
-
Create an IMAPFolder object.
- newIMAPFolder(String, char) - Method in class com.sun.mail.imap.IMAPStore
-
Create an IMAPFolder object.
- newIMAPFolder(String, char, Boolean) - Method in class com.sun.mail.imap.IMAPStore
-
Create an IMAPFolder object.
- newIMAPMessage(int) - Method in class com.sun.mail.imap.IMAPFolder
-
Create a new IMAPMessage object to represent the given message number.
- newIMAPProtocol(String, int) - Method in class com.sun.mail.imap.IMAPStore
-
Create an IMAPProtocol object connected to the host and port.
- NewsAddress - Class in jakarta.mail.internet
-
This class models an RFC1036 newsgroup address.
- NewsAddress() - Constructor for class jakarta.mail.internet.NewsAddress
-
Default constructor.
- NewsAddress(String) - Constructor for class jakarta.mail.internet.NewsAddress
-
Construct a NewsAddress with the given newsgroup.
- NewsAddress(String, String) - Constructor for class jakarta.mail.internet.NewsAddress
-
Construct a NewsAddress with the given newsgroup and host.
- newsgroup - Variable in class jakarta.mail.internet.NewsAddress
- NEWSGROUPS - Static variable in class jakarta.mail.internet.MimeMessage.RecipientType
-
The "Newsgroup" (Usenet news) recipients.
- newStream(long, long) - Method in interface jakarta.mail.internet.SharedInputStream
-
Return a new InputStream representing a subset of the data from this InputStream, starting at
start
(inclusive) up toend
(exclusive). - newStream(long, long) - Method in class jakarta.mail.util.SharedByteArrayInputStream
-
Return a new InputStream representing a subset of the data from this InputStream, starting at
start
(inclusive) up toend
(exclusive). - newStream(long, long) - Method in class jakarta.mail.util.SharedFileInputStream
-
Return a new InputStream representing a subset of the data from this InputStream, starting at
start
(inclusive) up toend
(exclusive). - next() - Method in class jakarta.mail.internet.HeaderTokenizer
-
Parses the next token from this String.
- next(char) - Method in class jakarta.mail.internet.HeaderTokenizer
-
Parses the next token from this String.
- next(char, boolean) - Method in class jakarta.mail.internet.HeaderTokenizer
-
Parses the next token from this String.
- NO - Static variable in class com.sun.mail.iap.Response
- noop() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
The NOOP command.
- NoSuchProviderException - Exception in jakarta.mail
-
This exception is thrown when Session attempts to instantiate a Provider that doesn't exist.
- NoSuchProviderException() - Constructor for exception jakarta.mail.NoSuchProviderException
-
Constructs a NoSuchProviderException with no detail message.
- NoSuchProviderException(String) - Constructor for exception jakarta.mail.NoSuchProviderException
-
Constructs a NoSuchProviderException with the specified detail message.
- NoSuchProviderException(String, Exception) - Constructor for exception jakarta.mail.NoSuchProviderException
-
Constructs a NoSuchProviderException with the specified detail message and embedded exception.
- not(NotTerm, String) - Method in class com.sun.mail.imap.protocol.SearchSequence
- NOTICE - Static variable in class jakarta.mail.event.StoreEvent
-
Indicates that this message is a NOTICE.
- notification(StoreEvent) - Method in interface jakarta.mail.event.StoreListener
-
Invoked when the Store generates a notification event.
- NOTIFY_DELAY - Static variable in class com.sun.mail.smtp.SMTPMessage
-
Notify of delivery delay
- NOTIFY_FAILURE - Static variable in class com.sun.mail.smtp.SMTPMessage
-
Notify of delivery failure
- NOTIFY_NEVER - Static variable in class com.sun.mail.smtp.SMTPMessage
-
Never notify of delivery status
- NOTIFY_SUCCESS - Static variable in class com.sun.mail.smtp.SMTPMessage
-
Notify of delivery success
- notifyConnectionListeners(int) - Method in class jakarta.mail.Folder
-
Notify all ConnectionListeners.
- notifyConnectionListeners(int) - Method in class jakarta.mail.Service
-
Notify all ConnectionListeners.
- notifyFolderListeners(int) - Method in class jakarta.mail.Folder
-
Notify all FolderListeners registered on this Folder and this folder's Store.
- notifyFolderListeners(int, Folder) - Method in class jakarta.mail.Store
-
Notify all FolderListeners.
- notifyFolderRenamedListeners(Folder) - Method in class jakarta.mail.Folder
-
Notify all FolderListeners registered on this Folder and this folder's Store about the renaming of this folder.
- notifyFolderRenamedListeners(Folder, Folder) - Method in class jakarta.mail.Store
-
Notify all FolderListeners about the renaming of a folder.
- notifyMessageAddedListeners(Message[]) - Method in class jakarta.mail.Folder
-
Notify all MessageCountListeners about the addition of messages into this folder.
- notifyMessageChangedListeners(int, Message) - Method in class com.sun.mail.pop3.POP3Folder
- notifyMessageChangedListeners(int, Message) - Method in class jakarta.mail.Folder
-
Notify all MessageChangedListeners.
- notifyMessageRemovedListeners(boolean, Message[]) - Method in class jakarta.mail.Folder
-
Notify all MessageCountListeners about the removal of messages from this Folder.
- notifyResponseHandlers(Response[]) - Method in class com.sun.mail.iap.Protocol
-
Notify response handlers
- notifyStoreListeners(int, String) - Method in class jakarta.mail.Store
-
Notify all StoreListeners.
- notifyTransportListeners(int, Address[], Address[], Address[], Message) - Method in class com.sun.mail.smtp.SMTPTransport
-
Notify all TransportListeners.
- notifyTransportListeners(int, Address[], Address[], Address[], Message) - Method in class jakarta.mail.Transport
-
Notify all TransportListeners.
- NotTerm - Class in jakarta.mail.search
-
This class implements the logical NEGATION operator.
- NotTerm(SearchTerm) - Constructor for class jakarta.mail.search.NotTerm
- Ntlm - Class in com.sun.mail.auth
-
NTLMAuthentication:
- Ntlm(String, String, String, String, MailLogger) - Constructor for class com.sun.mail.auth.Ntlm
-
Create an NTLM authenticator.
- number - Variable in class jakarta.mail.search.IntegerComparisonTerm
-
The number.
O
- OAuth2SaslClient - Class in com.sun.mail.auth
-
Jakarta Mail SASL client for OAUTH2.
- OAuth2SaslClient(Map<String, ?>, CallbackHandler) - Constructor for class com.sun.mail.auth.OAuth2SaslClient
- OAuth2SaslClientFactory - Class in com.sun.mail.auth
-
Jakarta Mail SASL client factory for OAUTH2.
- OAuth2SaslClientFactory() - Constructor for class com.sun.mail.auth.OAuth2SaslClientFactory
- OK - Static variable in class com.sun.mail.iap.Response
- older(OlderTerm) - Method in class com.sun.mail.imap.protocol.SearchSequence
-
Generate argument for OlderTerm.
- OlderTerm - Class in com.sun.mail.imap
-
Find messages that are older than a given interval (in seconds).
- OlderTerm(int) - Constructor for class com.sun.mail.imap.OlderTerm
-
Constructor.
- 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.DefaultFolder
- open(int) - Method in class com.sun.mail.pop3.POP3Folder
-
Throws
FolderNotFoundException
unless this folder is named "INBOX". - open(int) - Method in class jakarta.mail.Folder
-
Open this Folder.
- open(int, ResyncData) - Method in class com.sun.mail.imap.IMAPFolder
-
Open this folder in the given mode, with the given resynchronization data.
- opened(ConnectionEvent) - Method in class jakarta.mail.event.ConnectionAdapter
- opened(ConnectionEvent) - Method in interface jakarta.mail.event.ConnectionListener
-
Invoked when a Store/Folder/Transport is opened.
- OPENED - Static variable in class jakarta.mail.event.ConnectionEvent
-
A connection was opened.
- or(OrTerm, String) - Method in class com.sun.mail.imap.protocol.SearchSequence
- OrTerm - Class in jakarta.mail.search
-
This class implements the logical OR operator on individual SearchTerms.
- OrTerm(SearchTerm[]) - Constructor for class jakarta.mail.search.OrTerm
-
Constructor that takes an array of SearchTerms.
- OrTerm(SearchTerm, SearchTerm) - Constructor for class jakarta.mail.search.OrTerm
-
Constructor that takes two operands.
- otherUsers - Variable in class com.sun.mail.imap.protocol.Namespaces
-
The namespaces for other users.
- out - Variable in class com.sun.mail.imap.protocol.BASE64MailboxEncoder
- output(int, boolean) - Method in class com.sun.mail.util.QPEncoderStream
P
- ParameterList - Class in jakarta.mail.internet
-
This class holds MIME parameters (attribute-value pairs).
- ParameterList() - Constructor for class jakarta.mail.internet.ParameterList
-
No-arg Constructor.
- ParameterList(String) - Constructor for class jakarta.mail.internet.ParameterList
-
Constructor that takes a parameter-list string.
- parent - Variable in class jakarta.mail.BodyPart
-
The
Multipart
object containing thisBodyPart
, if known. - parent - Variable in class jakarta.mail.Multipart
-
The
Part
containing thisMultipart
, if known. - parse() - Method in class jakarta.mail.internet.MimeMultipart
-
Parse the InputStream from our DataSource, constructing the appropriate MimeBodyParts.
- parse(InputStream) - Method in class jakarta.mail.internet.MimeMessage
-
Parse the InputStream setting the
headers
andcontent
fields appropriately. - parse(String) - Static method in class jakarta.mail.internet.InternetAddress
-
Parse the given comma separated sequence of addresses into InternetAddress objects.
- parse(String) - Static method in class jakarta.mail.internet.NewsAddress
-
Parse the given comma separated sequence of newsgroups into NewsAddress objects.
- parse(String, boolean) - Static method in class jakarta.mail.internet.InternetAddress
-
Parse the given sequence of addresses into InternetAddress objects.
- parse(String, ParsePosition) - Method in class jakarta.mail.internet.MailDateFormat
-
Parses the given date in the format specified by RFC 2822.
- parseCapabilities(Response) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
Parse the capabilities from a CAPABILITY response or from a CAPABILITY response code attached to (e.g.) an OK response.
- parsed - Variable in class jakarta.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 - Exception in jakarta.mail.internet
-
The exception thrown due to an error in parsing RFC822 or MIME headers, including multipart bodies.
- ParseException() - Constructor for exception jakarta.mail.internet.ParseException
-
Constructs a ParseException with no detail message.
- ParseException(String) - Constructor for exception jakarta.mail.internet.ParseException
-
Constructs a ParseException with the specified detail message.
- parseHeader(String, boolean) - Static method in class jakarta.mail.internet.InternetAddress
-
Parse the given sequence of addresses into InternetAddress objects.
- parseInt(byte[], int, int) - Static method in class com.sun.mail.util.ASCIIUtility
-
Convert the bytes within the specified range of the given byte array into a signed integer .
- parseInt(byte[], int, int, int) - Static method in class com.sun.mail.util.ASCIIUtility
-
Convert the bytes within the specified range of the given byte array into a signed integer in the given radix .
- parseItem(FetchResponse) - Method in class com.sun.mail.imap.protocol.FetchItem
-
Parse the item into some kind of object appropriate for the item.
- parseLong(byte[], int, int) - Static method in class com.sun.mail.util.ASCIIUtility
-
Convert the bytes within the specified range of the given byte array into a signed long .
- parseLong(byte[], int, int, int) - Static method in class com.sun.mail.util.ASCIIUtility
-
Convert the bytes within the specified range of the given byte array into a signed long in the given radix .
- parseString(String) - Method in class jakarta.mail.URLName
-
Method which does all of the work of parsing the string.
- parseUIDSets(String) - Static method in class com.sun.mail.imap.protocol.UIDSet
-
Parse a string in IMAP UID range format.
- ParsingException - Exception in com.sun.mail.iap
- ParsingException() - Constructor for exception com.sun.mail.iap.ParsingException
-
Constructs an ParsingException with no detail message.
- ParsingException(Response) - Constructor for exception com.sun.mail.iap.ParsingException
-
Constructs an ParsingException with the specified Response.
- ParsingException(String) - Constructor for exception com.sun.mail.iap.ParsingException
-
Constructs an ParsingException with the specified detail message.
- part - Variable in class jakarta.mail.internet.MimePartDataSource
-
The MimePart that provides the data for this DataSource.
- Part - Interface in jakarta.mail
-
The
Part
interface is the common base interface for Messages and BodyParts. - parts - Variable in class jakarta.mail.Multipart
-
Vector of BodyPart objects.
- password - Variable in class com.sun.mail.imap.IMAPStore
- password() - Method in annotation type jakarta.mail.MailSessionDefinition
-
Password to use for authentication.
- PasswordAuthentication - Class in jakarta.mail
-
The class PasswordAuthentication is a data holder that is used by Authenticator.
- PasswordAuthentication(String, String) - Constructor for class jakarta.mail.PasswordAuthentication
-
Initialize a new PasswordAuthentication
- pattern - Variable in class jakarta.mail.search.StringTerm
-
The pattern.
- peek() - Method in class jakarta.mail.internet.HeaderTokenizer
-
Peek at the next token, without actually removing the token from the parse stream.
- peekBody(int, String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
Fetch given BODY section, without marking the message as SEEN.
- peekBody(int, String, int, int) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
Partial FETCH of given BODY section, without setting SEEN flag.
- peekBody(int, String, int, int, ByteArray) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
Partial FETCH of given BODY section, without setting SEEN flag.
- peekByte() - Method in class com.sun.mail.iap.Response
- permanentFlags - Variable in class com.sun.mail.imap.IMAPFolder
- permanentFlags - Variable in class com.sun.mail.imap.protocol.MailboxInfo
-
The permanent flags.
- personal - Variable in class com.sun.mail.imap.protocol.Namespaces
-
The personal namespaces.
- personal - Variable in class jakarta.mail.internet.InternetAddress
-
The personal name.
- pindex - Variable in class com.sun.mail.iap.Response
- POP3Folder - Class in com.sun.mail.pop3
-
A POP3 Folder (can only be "INBOX").
- POP3Folder(POP3Store, String) - Constructor for class com.sun.mail.pop3.POP3Folder
- POP3Message - Class in com.sun.mail.pop3
-
A POP3 Message.
- POP3Message(Folder, int) - Constructor for class com.sun.mail.pop3.POP3Message
- POP3Provider - Class in com.sun.mail.pop3
-
The POP3 protocol provider.
- POP3Provider() - Constructor for class com.sun.mail.pop3.POP3Provider
- POP3SSLProvider - Class in com.sun.mail.pop3
-
The POP3 SSL protocol provider.
- POP3SSLProvider() - Constructor for class com.sun.mail.pop3.POP3SSLProvider
- POP3SSLStore - Class in com.sun.mail.pop3
-
A POP3 Message Store using SSL.
- POP3SSLStore(Session, URLName) - Constructor for class com.sun.mail.pop3.POP3SSLStore
- POP3Store - Class in com.sun.mail.pop3
-
A POP3 Message Store.
- POP3Store(Session, URLName) - Constructor for class com.sun.mail.pop3.POP3Store
- POP3Store(Session, URLName, String, boolean) - Constructor for class com.sun.mail.pop3.POP3Store
- pos - Variable in exception jakarta.mail.internet.AddressException
-
The index in the string where the error occurred, or -1 if not known.
- POST - Static variable in class com.sun.mail.imap.Rights.Right
-
Post - send mail to submission address for mailbox, not enforced by IMAP4 itself.
- postConstruct() - Method in class com.sun.mail.util.logging.MailHandler
-
A callback method for when this object is about to be placed into commission.
- preamble - Variable in class jakarta.mail.internet.MimeMultipart
-
The MIME multipart preamble text, the text that occurs before the first boundary line.
- preDestroy() - Method in class com.sun.mail.util.logging.MailHandler
-
A callback method for when this object is about to be decommissioned.
- PreencodedMimeBodyPart - Class in jakarta.mail.internet
-
A MimeBodyPart that handles data that has already been encoded.
- PreencodedMimeBodyPart(String) - Constructor for class jakarta.mail.internet.PreencodedMimeBodyPart
-
Create a PreencodedMimeBodyPart that assumes the data is encoded using the specified encoding.
- prefix - Variable in class com.sun.mail.iap.Protocol
- prefix - Variable in class com.sun.mail.imap.protocol.Namespaces.Namespace
-
Prefix string for the namespace.
- preLogin(IMAPProtocol) - Method in class com.sun.mail.imap.IMAPStore
-
This method is called after the connection is made and TLS is started (if needed), but before any authentication is attempted.
- processGreeting(Response) - Method in class com.sun.mail.iap.Protocol
- processGreeting(Response) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
Check the greeting when first connecting; look for PREAUTH response.
- processIdleResponse(Response) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
Process a response returned by readIdleResponse().
- properties() - Method in annotation type jakarta.mail.MailSessionDefinition
-
Properties to include in the Session.
- props - Variable in class com.sun.mail.iap.Protocol
- PropUtil - Class in com.sun.mail.util
-
Utilities to make it easier to get property values.
- protocol - Variable in class com.sun.mail.imap.IMAPFolder
- Protocol - Class in com.sun.mail.iap
-
General protocol handling code for IMAP-like protocols.
- Protocol(InputStream, PrintStream, Properties, boolean) - Constructor for class com.sun.mail.iap.Protocol
-
Constructor for debugging.
- Protocol(String, int, Properties, String, boolean, MailLogger) - Constructor for class com.sun.mail.iap.Protocol
-
Constructor.
- 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
- protocolConnect(String, int, String, String) - Method in class com.sun.mail.smtp.SMTPTransport
-
Performs the actual protocol-specific connection attempt.
- protocolConnect(String, int, String, String) - Method in class jakarta.mail.Service
-
The service implementation should override this method to perform the actual protocol-specific connection attempt.
- ProtocolException - Exception in com.sun.mail.iap
- ProtocolException() - Constructor for exception com.sun.mail.iap.ProtocolException
-
Constructs a ProtocolException with no detail message.
- ProtocolException(Response) - Constructor for exception com.sun.mail.iap.ProtocolException
-
Constructs a ProtocolException with the specified Response object.
- ProtocolException(String) - Constructor for exception com.sun.mail.iap.ProtocolException
-
Constructs a ProtocolException with the specified detail message.
- ProtocolException(String, Throwable) - Constructor for exception com.sun.mail.iap.ProtocolException
-
Constructs a ProtocolException with the specified detail message and cause.
- Provider - Class in jakarta.mail
-
The Provider is a class that describes a protocol implementation.
- Provider(Provider.Type, String, String, String, String) - Constructor for class jakarta.mail.Provider
-
Create a new provider of the specified type for the specified protocol.
- Provider.Type - Class in jakarta.mail
-
This inner class defines the Provider type.
- proxyauth(String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
PROXYAUTH Command.
- proxyAuthUser - Variable in class com.sun.mail.imap.IMAPStore
- publish(LogRecord) - Method in class com.sun.mail.util.logging.MailHandler
-
Stores a
LogRecord
in the internal buffer. - push() - Method in class com.sun.mail.util.logging.MailHandler
-
Pushes any buffered records to the email server as high importance with urgent priority.
Q
- QDecoderStream - Class in com.sun.mail.util
-
This class implements a Q Decoder as defined in RFC 2047 for decoding MIME headers.
- QDecoderStream(InputStream) - Constructor for class com.sun.mail.util.QDecoderStream
-
Create a Q-decoder that decodes the specified input stream.
- QEncoderStream - Class in com.sun.mail.util
-
This class implements a Q Encoder as defined by RFC 2047 for encoding MIME headers.
- QEncoderStream(OutputStream, boolean) - Constructor for class com.sun.mail.util.QEncoderStream
-
Create a Q encoder that encodes the specified input stream
- QPDecoderStream - Class in com.sun.mail.util
-
This class implements a QP Decoder.
- QPDecoderStream(InputStream) - Constructor for class com.sun.mail.util.QPDecoderStream
-
Create a Quoted Printable decoder that decodes the specified input stream.
- QPEncoderStream - Class in com.sun.mail.util
-
This class implements a Quoted Printable Encoder.
- QPEncoderStream(OutputStream) - Constructor for class com.sun.mail.util.QPEncoderStream
-
Create a QP encoder that encodes the specified input stream.
- QPEncoderStream(OutputStream, int) - Constructor for class com.sun.mail.util.QPEncoderStream
-
Create a QP encoder that encodes the specified input stream
- queueEvent(MailEvent, Vector<? extends EventListener>) - Method in class jakarta.mail.Service
-
Add the event and vector of listeners to the queue to be delivered.
- Quota - Class in jakarta.mail
-
This class represents a set of quotas for a given quota root.
- Quota(String) - Constructor for class jakarta.mail.Quota
-
Create a Quota object for the named quotaroot with no associated resources.
- Quota.Resource - Class in jakarta.mail
-
An individual resource in a quota root.
- QuotaAwareStore - Interface in jakarta.mail
-
An interface implemented by Stores that support quotas.
- quotaRoot - Variable in class jakarta.mail.Quota
-
The name of the quota root.
- quote - Variable in class com.sun.mail.iap.Protocol
- quote(String, String) - Static method in class jakarta.mail.internet.MimeUtility
-
A utility method to quote a word, if the word contains any characters from the specified 'specials' list.
- QUOTEDSTRING - Static variable in class jakarta.mail.internet.HeaderTokenizer.Token
-
Token type indicating a quoted string.
R
- rc - Variable in exception com.sun.mail.smtp.SMTPAddressFailedException
- rc - Variable in exception com.sun.mail.smtp.SMTPAddressSucceededException
- rc - Variable in exception com.sun.mail.smtp.SMTPSenderFailedException
- rc - Variable in exception com.sun.mail.smtp.SMTPSendFailedException
- rcptTo() - Method in class com.sun.mail.smtp.SMTPTransport
-
Sends each address to the SMTP host using the
RCPT TO:
command and copies the address either into the validSentAddr or invalidAddr arrays. - read() - Method in class com.sun.mail.imap.IMAPInputStream
-
Reads the next byte of data from this buffered input stream.
- read() - Method in class com.sun.mail.util.BASE64DecoderStream
-
Read the next decoded byte from this input stream.
- read() - Method in class com.sun.mail.util.QDecoderStream
-
Read the next decoded byte from this input stream.
- read() - Method in class com.sun.mail.util.QPDecoderStream
-
Read the next decoded byte from this input stream.
- read() - Method in class com.sun.mail.util.TraceInputStream
-
Reads the next byte of data from this input stream.
- read() - Method in class com.sun.mail.util.UUDecoderStream
-
Read the next decoded byte from this input stream.
- read() - Method in class jakarta.mail.util.SharedFileInputStream
-
See the general contract of the
read
method ofInputStream
. - read(byte[]) - Method in class com.sun.mail.imap.IMAPInputStream
-
Reads up to
b.length
bytes of data from this input stream into an array of bytes. - read(byte[], int, int) - Method in class com.sun.mail.imap.IMAPInputStream
-
Reads up to
len
bytes of data from this input stream into the given buffer. - read(byte[], int, int) - Method in class com.sun.mail.util.BASE64DecoderStream
-
Reads up to
len
decoded bytes of data from this input stream into an array of bytes. - read(byte[], int, int) - Method in class com.sun.mail.util.QPDecoderStream
-
Reads up to
len
decoded bytes of data from this input stream into an array of bytes. - read(byte[], int, int) - Method in class com.sun.mail.util.TraceInputStream
-
Reads up to
len
bytes of data from this input stream into an array of bytes. - read(byte[], int, int) - Method in class com.sun.mail.util.UUDecoderStream
- read(byte[], int, int) - Method in class jakarta.mail.util.SharedFileInputStream
-
Reads bytes from this stream into the specified byte array, starting at the given offset.
- READ - Static variable in class com.sun.mail.imap.Rights.Right
-
Read - SELECT the mailbox, perform CHECK, FETCH, PARTIAL, SEARCH, COPY from mailbox
- READ_ONLY - Static variable in class jakarta.mail.Folder
-
The Folder is read only.
- READ_WRITE - Static variable in class jakarta.mail.Folder
-
The state and contents of this folder can be modified.
- ReadableMime - Interface in com.sun.mail.util
-
A Message or message Part whose data can be read as a MIME format stream.
- readAtom() - Method in class com.sun.mail.iap.Response
-
Extract an ATOM, starting at the current position.
- readAtomString() - Method in class com.sun.mail.iap.Response
-
Extract an ASTRING, starting at the current position and return as a String.
- readAtomStringList() - Method in class com.sun.mail.iap.Response
- readByte() - Method in class com.sun.mail.iap.Response
-
Return the next byte from this Statement.
- readByteArray() - Method in class com.sun.mail.iap.Response
-
Extract a NSTRING, starting at the current position.
- readBytes() - Method in class com.sun.mail.iap.Response
-
Extract a NSTRING, starting at the current position.
- readIdleResponse() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
While an IDLE command is in progress, read a response sent from the server.
- readLine() - Method in class com.sun.mail.util.LineInputStream
-
Read a line containing only ASCII characters from the input stream.
- readLong() - Method in class com.sun.mail.iap.Response
-
Extract a long number, starting at the current position.
- readNumber() - Method in class com.sun.mail.iap.Response
-
Extract an integer, starting at the current position.
- ReadOnlyFolderException - Exception in jakarta.mail
-
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 exception jakarta.mail.ReadOnlyFolderException
-
Constructs a ReadOnlyFolderException with the specified folder and no detail message.
- ReadOnlyFolderException(Folder, String) - Constructor for exception jakarta.mail.ReadOnlyFolderException
-
Constructs a ReadOnlyFolderException with the specified detail message.
- ReadOnlyFolderException(Folder, String, Exception) - Constructor for exception jakarta.mail.ReadOnlyFolderException
-
Constructs a ReadOnlyFolderException with the specified detail message and embedded exception.
- readResolve() - Method in class jakarta.mail.internet.MimeMessage.RecipientType
- readResolve() - Method in class jakarta.mail.Message.RecipientType
-
When deserializing a RecipientType, we need to make sure to return only one of the known static final instances defined in this class.
- readResponse() - Method in class com.sun.mail.iap.Protocol
- readResponse() - Method in class com.sun.mail.iap.ResponseInputStream
-
Read a Response from the InputStream.
- readResponse() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
Read a response from the server.
- readResponse(ByteArray) - Method in class com.sun.mail.iap.ResponseInputStream
-
Read a Response from the InputStream.
- readServerResponse() - Method in class com.sun.mail.smtp.SMTPTransport
-
Reads server reponse returning the
returnCode
as the number. - readSimpleList() - Method in class com.sun.mail.imap.protocol.IMAPResponse
-
Read a list of space-separated "flag-extension" sequences and return the list as a array of Strings.
- readString() - Method in class com.sun.mail.iap.Response
-
Extract a NSTRING, starting at the current position.
- readString(char) - Method in class com.sun.mail.iap.Response
-
Read a string as an arbitrary sequence of characters, stopping at the delimiter Used to read part of a response code inside [].
- readStringList() - Method in class com.sun.mail.iap.Response
- receiveddate(DateTerm) - Method in class com.sun.mail.imap.protocol.SearchSequence
- ReceivedDateTerm - Class in jakarta.mail.search
-
This class implements comparisons for the Message Received date
- ReceivedDateTerm(int, Date) - Constructor for class jakarta.mail.search.ReceivedDateTerm
-
Constructor.
- recent - Variable in class com.sun.mail.imap.protocol.MailboxInfo
-
The number of recent messages.
- recent - Variable in class com.sun.mail.imap.protocol.Status
- RECENT - Static variable in class jakarta.mail.Flags.Flag
-
This message is recent.
- recipient(Message.RecipientType, String, String) - Method in class com.sun.mail.imap.protocol.SearchSequence
- RecipientStringTerm - Class in jakarta.mail.search
-
This class implements string comparisons for the Recipient Address headers.
- RecipientStringTerm(Message.RecipientType, String) - Constructor for class jakarta.mail.search.RecipientStringTerm
-
Constructor.
- RecipientTerm - Class in jakarta.mail.search
-
This class implements comparisons for the Recipient Address headers.
- RecipientTerm(Message.RecipientType, Address) - Constructor for class jakarta.mail.search.RecipientTerm
-
Constructor.
- RecipientType(String) - Constructor for class jakarta.mail.internet.MimeMessage.RecipientType
- RecipientType(String) - Constructor for class jakarta.mail.Message.RecipientType
-
Constructor for use by subclasses.
- ref - Variable in exception jakarta.mail.internet.AddressException
-
The string being parsed.
- ReferralException - Exception in com.sun.mail.imap
-
A special kind of AuthenticationFailedException that indicates that the reason for the failure was an IMAP REFERRAL in the response code.
- ReferralException(String, String) - Constructor for exception com.sun.mail.imap.ReferralException
-
Constructs an ReferralException with the specified URL and text.
- releaseProtocol(boolean) - Method in class com.sun.mail.imap.IMAPFolder
-
Release the protocol object.
- releaseStoreProtocol(IMAPProtocol) - Method in class com.sun.mail.imap.IMAPFolder
-
Release the store protocol object.
- remove(Rights) - Method in class com.sun.mail.imap.Rights
-
Remove all rights in the given Rights object from this Rights object.
- remove(Rights.Right) - Method in class com.sun.mail.imap.Rights
-
Remove the specified right from this Rights object.
- remove(Flags) - Method in class jakarta.mail.Flags
-
Remove all flags in the given Flags object from this Flags object.
- remove(Flags.Flag) - Method in class jakarta.mail.Flags
-
Remove the specified system flag from this Flags object.
- remove(String) - Method in class jakarta.mail.Flags
-
Remove the specified user flag from this Flags object.
- remove(String) - Method in class jakarta.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(int) - Method in class jakarta.mail.internet.MimeMultipart
-
Remove the part at specified location (starting from 0).
- removeBodyPart(int) - Method in class jakarta.mail.Multipart
-
Remove the part at specified location (starting from 0).
- removeBodyPart(BodyPart) - Method in class jakarta.mail.internet.MimeMultipart
-
Remove the specified part from the multipart message.
- removeBodyPart(BodyPart) - Method in class jakarta.mail.Multipart
-
Remove the specified part from the multipart message.
- removeConnectionListener(ConnectionListener) - Method in class jakarta.mail.Folder
-
Remove a Connection event listener.
- removeConnectionListener(ConnectionListener) - Method in class jakarta.mail.Service
-
Remove a Connection event listener.
- removed - Variable in class jakarta.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.
- REMOVED - Static variable in class jakarta.mail.event.MessageCountEvent
-
The messages were removed from their folder
- removeExpungedMessages() - Method in class com.sun.mail.imap.MessageCache
-
Remove all the expunged messages from the array, returning a list of removed message objects.
- removeExpungedMessages(Message[]) - Method in class com.sun.mail.imap.MessageCache
-
Remove expunged messages in msgs from the array, returning a list of removed message objects.
- removeFolderListener(FolderListener) - Method in class jakarta.mail.Folder
-
Remove a Folder event listener.
- removeFolderListener(FolderListener) - Method in class jakarta.mail.Store
-
Remove a listener for Folder events.
- removeHeader(String) - Method in class com.sun.mail.imap.IMAPBodyPart
- removeHeader(String) - Method in class com.sun.mail.imap.IMAPMessage
- removeHeader(String) - Method in class com.sun.mail.pop3.POP3Message
-
Remove all headers with this name.
- removeHeader(String) - Method in class jakarta.mail.internet.InternetHeaders
-
Remove all header entries that match the given name
- removeHeader(String) - Method in class jakarta.mail.internet.MimeBodyPart
-
Remove all headers with this name.
- removeHeader(String) - Method in class jakarta.mail.internet.MimeMessage
-
Remove all headers with this name.
- removeHeader(String) - Method in interface jakarta.mail.Part
-
Remove all headers with this name.
- removeMessageChangedListener(MessageChangedListener) - Method in class jakarta.mail.Folder
-
Remove a MessageChanged listener.
- removeMessageCountListener(MessageCountListener) - Method in class jakarta.mail.Folder
-
Remove a MessageCount listener.
- removeResponseHandler(ResponseHandler) - Method in class com.sun.mail.iap.Protocol
-
Removed the specified response handler.
- 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 jakarta.mail.Store
-
Remove a listener for Store events.
- removeTransportListener(TransportListener) - Method in class jakarta.mail.Transport
-
Remove a listener for Transport events.
- rename(String, String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
RENAME Command.
- RENAMED - Static variable in class jakarta.mail.event.FolderEvent
-
The folder was renamed.
- renameTo(Folder) - Method in class com.sun.mail.imap.DefaultFolder
- renameTo(Folder) - Method in class com.sun.mail.imap.IMAPFolder
-
Rename this folder.
- renameTo(Folder) - Method in class com.sun.mail.pop3.DefaultFolder
- renameTo(Folder) - Method in class com.sun.mail.pop3.POP3Folder
-
Always throws
MethodNotSupportedException
because the POP3 protocol doesn't support multiple folders. - renameTo(Folder) - Method in class jakarta.mail.Folder
-
Rename this Folder.
- reply(boolean) - Method in class jakarta.mail.internet.MimeMessage
-
Get a new Message suitable for a reply to this message.
- reply(boolean) - Method in class jakarta.mail.Message
-
Get a new Message suitable for a reply to this message.
- reply(boolean, boolean) - Method in class jakarta.mail.internet.MimeMessage
-
Get a new Message suitable for a reply to this message.
- replyTo - Variable in class com.sun.mail.imap.protocol.ENVELOPE
- reportError(String, Exception, int) - Method in class com.sun.mail.util.logging.MailHandler
-
Protected convenience method to report an error to this Handler's ErrorManager.
- requestPasswordAuthentication(InetAddress, int, String, String, String) - Method in class jakarta.mail.Session
-
Call back to the application to get the needed user name and password.
- reset() - Method in class com.sun.mail.iap.Response
-
Reset pointer to beginning of response.
- reset() - Method in class jakarta.mail.util.SharedFileInputStream
-
See the general contract of the
reset
method ofInputStream
. - Resource(String, long, long) - Constructor for class jakarta.mail.Quota.Resource
-
Construct a Resource object with the given name, usage, and limit.
- resources - Variable in class jakarta.mail.Quota
-
The set of resources associated with this quota root.
- response - Variable in exception com.sun.mail.iap.ProtocolException
- Response - Class in com.sun.mail.iap
-
This class represents a response obtained from the input stream of an IMAP server.
- Response(Protocol) - Constructor for class com.sun.mail.iap.Response
-
Read a new Response from the given Protocol
- Response(Response) - Constructor for class com.sun.mail.iap.Response
-
Copy constructor.
- Response(String) - Constructor for class com.sun.mail.iap.Response
- Response(String, boolean) - Constructor for class com.sun.mail.iap.Response
-
Constructor for testing.
- RESPONSE - Static variable in class com.sun.mail.imap.IMAPStore
-
A special event type for a StoreEvent to indicate an IMAP response, if the mail.imap.enableimapevents property is set.
- ResponseHandler - Interface in com.sun.mail.iap
-
This class
- ResponseInputStream - Class in com.sun.mail.iap
-
Inputstream that is used to read a Response.
- ResponseInputStream(InputStream) - Constructor for class com.sun.mail.iap.ResponseInputStream
-
Constructor.
- responses - Variable in class com.sun.mail.imap.protocol.MailboxInfo
-
VANISHED or FETCH responses received while opening the mailbox.
- resumeTracing() - Method in class com.sun.mail.iap.Protocol
-
Resume protocol tracing, if it was enabled to begin with.
- ResyncData - Class in com.sun.mail.imap
-
Resynchronization data as defined by the QRESYNC extension (RFC 5162).
- ResyncData(long, long) - Constructor for class com.sun.mail.imap.ResyncData
-
Used to report on changes since the specified modseq.
- ResyncData(long, long, long[]) - Constructor for class com.sun.mail.imap.ResyncData
-
Used to limit the reported message changes to those with the specified UIDs.
- ResyncData(long, long, long, long) - Constructor for class com.sun.mail.imap.ResyncData
-
Used to limit the reported message changes to those with UIDs in the specified range.
- retainAll(Flags) - Method in class jakarta.mail.Flags
-
Remove any flags not in the given Flags object.
- RETURN_FULL - Static variable in class com.sun.mail.smtp.SMTPMessage
-
Return full message with delivery status notification
- RETURN_HDRS - Static variable in class com.sun.mail.smtp.SMTPMessage
-
Return only message headers with delivery status notification
- REVERSE - Static variable in class com.sun.mail.imap.SortTerm
-
Reverse the sort order of the following item.
- RFC822 - Static variable in class jakarta.mail.internet.HeaderTokenizer
-
RFC822 specials
- RFC822DATA - Class in com.sun.mail.imap.protocol
-
The RFC822 response data item.
- RFC822DATA(FetchResponse) - Constructor for class com.sun.mail.imap.protocol.RFC822DATA
-
Constructor, header flag is false.
- RFC822DATA(FetchResponse, boolean) - Constructor for class com.sun.mail.imap.protocol.RFC822DATA
-
Constructor, specifying header flag.
- RFC822SIZE - Class in com.sun.mail.imap.protocol
-
An RFC822SIZE FETCH item.
- RFC822SIZE(FetchResponse) - Constructor for class com.sun.mail.imap.protocol.RFC822SIZE
-
Constructor.
- Rights - Class in com.sun.mail.imap
-
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(Rights) - Constructor for class com.sun.mail.imap.Rights
-
Construct a Rights object initialized with the given rights.
- Rights(Rights.Right) - Constructor for class com.sun.mail.imap.Rights
-
Construct a Rights object initialized with the given right.
- Rights(String) - Constructor for class com.sun.mail.imap.Rights
-
Construct a Rights object initialized with the given rights.
- Rights.Right - Class in com.sun.mail.imap
-
This inner class represents an individual right.
S
- SaslAuthenticator - Interface in com.sun.mail.imap.protocol
-
Interface to make it easier to call IMAPSaslAuthenticator.
- SaslAuthenticator - Interface in com.sun.mail.smtp
-
Interface to make it easier to call SMTPSaslAuthenticator.
- sasllogin(String[], String, String, String, String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
SASL-based login.
- saslRealm - Variable in class com.sun.mail.imap.IMAPStore
- saveChanges() - Method in class com.sun.mail.pop3.POP3Message
-
POP3 message can't be changed.
- saveChanges() - Method in class jakarta.mail.internet.MimeMessage
-
Updates the appropriate header fields of this message to be consistent with the message's contents.
- saveChanges() - Method in class jakarta.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.
- saved - Variable in class jakarta.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 thesaveChanges
method. - saveFile(File) - Method in class jakarta.mail.internet.MimeBodyPart
-
Save the contents of this part in the specified file.
- saveFile(String) - Method in class jakarta.mail.internet.MimeBodyPart
-
Save the contents of this part in the specified file.
- search(MessageSet[], SearchTerm) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
Issue the given search criterion on the specified message sets.
- search(SearchTerm) - Method in class com.sun.mail.imap.IMAPFolder
-
Search whole folder for messages matching the given term.
- search(SearchTerm) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
Issue the given search criterion on all messages in this folder.
- search(SearchTerm) - Method in class jakarta.mail.Folder
-
Search this Folder for messages matching the specified search criterion.
- search(SearchTerm, Message[]) - Method in class com.sun.mail.imap.IMAPFolder
-
Search the folder for messages matching the given term.
- search(SearchTerm, Message[]) - Method in class jakarta.mail.Folder
-
Search the given array of messages for those that match the specified search criterion.
- searchCharsets - Variable in class com.sun.mail.imap.protocol.IMAPProtocol
- SearchException - Exception in jakarta.mail.search
-
The exception thrown when a Search expression could not be handled.
- SearchException() - Constructor for exception jakarta.mail.search.SearchException
-
Constructs a SearchException with no detail message.
- SearchException(String) - Constructor for exception jakarta.mail.search.SearchException
-
Constructs a SearchException with the specified detail message.
- searchSequence - Variable in class com.sun.mail.imap.protocol.IMAPProtocol
- SearchSequence - Class in com.sun.mail.imap.protocol
-
This class traverses a search-tree and generates the corresponding IMAP search sequence.
- SearchSequence() - Constructor for class com.sun.mail.imap.protocol.SearchSequence
-
Deprecated.
- SearchSequence(IMAPProtocol) - Constructor for class com.sun.mail.imap.protocol.SearchSequence
-
Create a SearchSequence for this IMAPProtocol.
- SearchTerm - Class in jakarta.mail.search
-
Search criteria are expressed as a tree of search-terms, forming a parse-tree for the search expression.
- SearchTerm() - Constructor for class jakarta.mail.search.SearchTerm
- sectionId - Variable in class com.sun.mail.imap.IMAPMessage
- SEEN - Static variable in class jakarta.mail.Flags.Flag
-
This message is seen.
- select(String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
SELECT Command.
- select(String, ResyncData) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
SELECT Command with QRESYNC data.
- send(Message) - Static method in class jakarta.mail.Transport
-
Send a message.
- send(Message, Address[]) - Static method in class jakarta.mail.Transport
-
Send the message to the specified addresses, ignoring any recipients specified in the message itself.
- send(Message, Address[], String, String) - Static method in class jakarta.mail.Transport
-
Send the message to the specified addresses, ignoring any recipients specified in the message itself.
- send(Message, String, String) - Static method in class jakarta.mail.Transport
-
Send a message.
- sendCommand(String) - Method in class com.sun.mail.smtp.SMTPTransport
-
Sends command
cmd
to the server terminating it withCRLF
. - sender - Variable in class com.sun.mail.imap.protocol.ENVELOPE
- SendFailedException - Exception in jakarta.mail
-
This exception is thrown when the message cannot be sent.
- SendFailedException() - Constructor for exception jakarta.mail.SendFailedException
-
Constructs a SendFailedException with no detail message.
- SendFailedException(String) - Constructor for exception jakarta.mail.SendFailedException
-
Constructs a SendFailedException with the specified detail message.
- SendFailedException(String, Exception) - Constructor for exception jakarta.mail.SendFailedException
-
Constructs a SendFailedException with the specified Exception and detail message.
- SendFailedException(String, Exception, Address[], Address[], Address[]) - Constructor for exception jakarta.mail.SendFailedException
-
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 jakarta.mail.Transport
-
Send the Message to the specified list of addresses.
- sendUrgentData(int) - Method in class com.sun.mail.util.WriteTimeoutSocket
- sentdate(DateTerm) - Method in class com.sun.mail.imap.protocol.SearchSequence
- SentDateTerm - Class in jakarta.mail.search
-
This class implements comparisons for the Message SentDate.
- SentDateTerm(int, Date) - Constructor for class jakarta.mail.search.SentDateTerm
-
Constructor.
- separator - Variable in class com.sun.mail.imap.IMAPFolder
- separator - Variable in class com.sun.mail.imap.protocol.ListInfo
- seqnum - Variable in class com.sun.mail.imap.protocol.MODSEQ
- seqnum - Variable in class com.sun.mail.imap.protocol.UID
- seqnumOf(int) - Method in class com.sun.mail.imap.MessageCache
-
Return the sequence number for the given message number.
- Service - Class in jakarta.mail
-
An abstract class that contains the functionality common to messaging services, such as stores and transports.
- Service(Session, URLName) - Constructor for class jakarta.mail.Service
-
Constructor.
- session - Variable in class jakarta.mail.Message
-
The Session object for this Message
- session - Variable in class jakarta.mail.Service
-
The session from which this service was created.
- Session - Class in jakarta.mail
-
The Session class represents a mail session and is not subclassed.
- set(String, String) - Method in class jakarta.mail.internet.ParameterList
-
Set a parameter.
- set(String, String, String) - Method in class jakarta.mail.internet.ParameterList
-
Set a parameter.
- set2DigitYearStart(Date) - Method in class jakarta.mail.internet.MailDateFormat
-
This method always throws an UnsupportedOperationException and should not be used because RFC 2822 mandates another strategy for interpreting 2-digits years.
- setACL(String, char, ACL) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
SETACL Command.
- setAddress(String) - Method in class jakarta.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.
- setAttachmentFilters(Filter...) - Method in class com.sun.mail.util.logging.MailHandler
-
Sets the attachment filters.
- setAttachmentFormatters(Formatter...) - Method in class com.sun.mail.util.logging.MailHandler
-
Sets the attachment
Formatter
object for this handler. - setAttachmentNames(String...) - Method in class com.sun.mail.util.logging.MailHandler
-
Sets the attachment file name for each attachment.
- setAttachmentNames(Formatter...) - Method in class com.sun.mail.util.logging.MailHandler
-
Sets the attachment file name formatters.
- setAuthenticator(char...) - Method in class com.sun.mail.util.logging.MailHandler
-
Sets the
Authenticator
used to login to the email server. - setAuthenticator(Authenticator) - Method in class com.sun.mail.util.logging.MailHandler
-
Sets the
Authenticator
used to login to the email server. - setAuthorizationID(String) - Method in class com.sun.mail.smtp.SMTPTransport
-
Sets the authorization ID to be used for authentication.
- setCalendar(Calendar) - Method in class jakarta.mail.internet.MailDateFormat
-
This method always throws an UnsupportedOperationException and should not be used because RFC 2822 mandates a specific calendar.
- setCapabilities(Response) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
If the response contains a CAPABILITY response code, extract it and save the capabilities.
- setComparator(Comparator<? super LogRecord>) - Method in class com.sun.mail.util.logging.MailHandler
-
Sets the comparator used to order all
LogRecord
objects prior to formatting. - setConnected(boolean) - Method in class jakarta.mail.Service
-
Set the connection state of this service.
- setContent(Multipart) - Method in class com.sun.mail.imap.IMAPBodyPart
- setContent(Multipart) - Method in class jakarta.mail.internet.MimeBodyPart
-
This method sets the body part's content to a Multipart object.
- setContent(Multipart) - Method in class jakarta.mail.internet.MimeMessage
-
This method sets the Message's content to a Multipart object.
- setContent(Multipart) - Method in interface jakarta.mail.Part
-
This method sets the given Multipart object as this message's content.
- setContent(Object, String) - Method in class com.sun.mail.imap.IMAPBodyPart
- setContent(Object, String) - Method in class jakarta.mail.internet.MimeBodyPart
-
A convenience method for setting this body part's content.
- setContent(Object, String) - Method in class jakarta.mail.internet.MimeMessage
-
A convenience method for setting this Message's content.
- setContent(Object, String) - Method in interface jakarta.mail.Part
-
A convenience method for setting this part's content.
- setContentID(String) - Method in class com.sun.mail.imap.IMAPMessage
- setContentID(String) - Method in class jakarta.mail.internet.MimeBodyPart
-
Set the "Content-ID" header field of this body part.
- setContentID(String) - Method in class jakarta.mail.internet.MimeMessage
-
Set the "Content-ID" header field of this Message.
- setContentLanguage(String[]) - Method in class com.sun.mail.imap.IMAPMessage
- setContentLanguage(String[]) - Method in class jakarta.mail.internet.MimeBodyPart
-
Set the Content-Language header of this MimePart.
- setContentLanguage(String[]) - Method in class jakarta.mail.internet.MimeMessage
-
Set the "Content-Language" header of this MimePart.
- setContentLanguage(String[]) - Method in interface jakarta.mail.internet.MimePart
-
Set the Content-Language header of this MimePart.
- setContentMD5(String) - Method in class com.sun.mail.imap.IMAPBodyPart
- setContentMD5(String) - Method in class com.sun.mail.imap.IMAPMessage
- setContentMD5(String) - Method in class jakarta.mail.internet.MimeBodyPart
-
Set the "Content-MD5" header field of this body part.
- setContentMD5(String) - Method in class jakarta.mail.internet.MimeMessage
-
Set the "Content-MD5" header field of this Message.
- setContentMD5(String) - Method in interface jakarta.mail.internet.MimePart
-
Set the Content-MD5 of this part.
- setCount(int) - Method in class com.sun.mail.iap.ByteArray
-
Set the count of bytes.
- setDataHandler(DataHandler) - Method in class com.sun.mail.imap.IMAPBodyPart
- setDataHandler(DataHandler) - Method in class com.sun.mail.imap.IMAPMessage
- setDataHandler(DataHandler) - Method in class jakarta.mail.internet.MimeBodyPart
-
This method provides the mechanism to set this body part's content.
- setDataHandler(DataHandler) - Method in class jakarta.mail.internet.MimeMessage
-
This method provides the mechanism to set this part's content.
- setDataHandler(DataHandler) - Method in interface jakarta.mail.Part
-
This method provides the mechanism to set this part's content.
- setDateFormatSymbols(DateFormatSymbols) - Method in class jakarta.mail.internet.MailDateFormat
-
This method always throws an UnsupportedOperationException and should not be used because RFC 2822 mandates specific date format symbols.
- setDebug(boolean) - Method in class jakarta.mail.Session
-
Set the debug setting for this Session.
- setDebugOut(PrintStream) - Method in class jakarta.mail.Session
-
Set the stream to be used for debugging output for this session.
- setDescription(String) - Method in class jakarta.mail.internet.MimeBodyPart
-
Set the "Content-Description" header field for this body part.
- setDescription(String) - Method in class jakarta.mail.internet.MimeMessage
-
Set the "Content-Description" header field for this Message.
- setDescription(String) - Method in interface jakarta.mail.Part
-
Set a description String for this part.
- setDescription(String, String) - Method in class com.sun.mail.imap.IMAPBodyPart
- setDescription(String, String) - Method in class com.sun.mail.imap.IMAPMessage
- setDescription(String, String) - Method in class jakarta.mail.internet.MimeBodyPart
-
Set the "Content-Description" header field for this body part.
- setDescription(String, String) - Method in class jakarta.mail.internet.MimeMessage
-
Set the "Content-Description" header field for this Message.
- setDisposition(String) - Method in class com.sun.mail.imap.IMAPBodyPart
- setDisposition(String) - Method in class com.sun.mail.imap.IMAPMessage
- setDisposition(String) - Method in class jakarta.mail.internet.ContentDisposition
-
Set the disposition.
- setDisposition(String) - Method in class jakarta.mail.internet.MimeBodyPart
-
Set the disposition in the "Content-Disposition" header field of this body part.
- setDisposition(String) - Method in class jakarta.mail.internet.MimeMessage
-
Set the disposition in the "Content-Disposition" header field of this body part.
- setDisposition(String) - Method in interface jakarta.mail.Part
-
Set the disposition of this part.
- setEncoding(String) - Method in class com.sun.mail.util.logging.MailHandler
-
Set the character encoding used by this
Handler
. - setEnvelopeFrom(String) - Method in class com.sun.mail.smtp.SMTPMessage
-
Set the From address to appear in the SMTP envelope.
- setErrorManager(ErrorManager) - Method in class com.sun.mail.util.logging.MailHandler
-
Define an ErrorManager for this Handler.
- setExpunged(boolean) - Method in class com.sun.mail.imap.IMAPMessage
- setExpunged(boolean) - Method in class jakarta.mail.Message
-
Sets the expunged flag for this Message.
- setFileName(String) - Method in class com.sun.mail.imap.IMAPBodyPart
- setFileName(String) - Method in class com.sun.mail.imap.IMAPMessage
- setFileName(String) - Method in class jakarta.mail.internet.MimeBodyPart
-
Set the filename associated with this body part, if possible.
- setFileName(String) - Method in class jakarta.mail.internet.MimeMessage
-
Set the filename associated with this part, if possible.
- setFileName(String) - Method in interface jakarta.mail.Part
-
Set the filename associated with this part, if possible.
- setFilter(Filter) - Method in class com.sun.mail.util.logging.MailHandler
-
Set a
Filter
to control output on thisHandler
. - setFlag(Flags.Flag, boolean) - Method in class jakarta.mail.Message
-
Set the specified flag on this message to the specified value.
- setFlags(int[], Flags, boolean) - Method in class com.sun.mail.imap.IMAPFolder
-
Set the specified flags for the given array of message numbers.
- setFlags(int[], Flags, boolean) - Method in class jakarta.mail.Folder
-
Set the specified flags on the messages whose message numbers are in the array.
- setFlags(int, int, Flags, boolean) - Method in class com.sun.mail.imap.IMAPFolder
-
Set the specified flags for the given range of message numbers.
- setFlags(int, int, Flags, boolean) - Method in class jakarta.mail.Folder
-
Set the specified flags on the messages numbered from start through end, both start and end inclusive.
- setFlags(Flags, boolean) - Method in class com.sun.mail.imap.IMAPMessage
-
Set/Unset the given flags in this message.
- setFlags(Flags, boolean) - Method in class com.sun.mail.imap.IMAPNestedMessage
- setFlags(Flags, boolean) - Method in class com.sun.mail.pop3.POP3Message
-
Set the specified flags on this message to the specified value.
- setFlags(Flags, boolean) - Method in class jakarta.mail.internet.MimeMessage
-
Set the flags for this message.
- setFlags(Flags, boolean) - Method in class jakarta.mail.Message
-
Set the specified flags on this message to the specified value.
- setFlags(Message[], Flags, boolean) - Method in class com.sun.mail.imap.IMAPFolder
-
Set the specified flags for the given array of messages.
- setFlags(Message[], Flags, boolean) - Method in class jakarta.mail.Folder
-
Set the specified flags on the messages specified in the array.
- setFormatter(Formatter) - Method in class com.sun.mail.util.logging.MailHandler
-
Set a
Formatter
. - setFrom() - Method in class jakarta.mail.internet.MimeMessage
-
Set the RFC 822 "From" header field using the value of the
InternetAddress.getLocalAddress
method. - setFrom() - Method in class jakarta.mail.Message
-
Set the "From" attribute in this Message.
- setFrom(Address) - Method in class com.sun.mail.imap.IMAPMessage
- setFrom(Address) - Method in class jakarta.mail.internet.MimeMessage
-
Set the RFC 822 "From" header field.
- setFrom(Address) - Method in class jakarta.mail.Message
-
Set the "From" attribute in this Message.
- setFrom(String) - Method in class jakarta.mail.internet.MimeMessage
-
Set the RFC 822 "From" header field.
- setHeader(String, String) - Method in class com.sun.mail.imap.IMAPBodyPart
- setHeader(String, String) - Method in class com.sun.mail.imap.IMAPMessage
- setHeader(String, String) - Method in class com.sun.mail.pop3.POP3Message
-
Set the value for this header_name.
- setHeader(String, String) - Method in class jakarta.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 jakarta.mail.internet.MimeBodyPart
-
Set the value for this header_name.
- setHeader(String, String) - Method in class jakarta.mail.internet.MimeMessage
-
Set the value for this header_name.
- setHeader(String, String) - Method in interface jakarta.mail.Part
-
Set the value for this header_name.
- setHost(String) - Method in class jakarta.mail.internet.NewsAddress
-
Set the host.
- setKeepAlive(boolean) - Method in class com.sun.mail.util.WriteTimeoutSocket
- setKeyManagers(KeyManager...) - Method in class com.sun.mail.util.MailSSLSocketFactory
- setLevel(Level) - Method in class com.sun.mail.util.logging.MailHandler
-
Set the log level specifying which message levels will be logged by this
Handler
. - 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.
- setMailProperties(Properties) - Method in class com.sun.mail.util.logging.MailHandler
-
Sets the mail properties used for the session.
- setMessageNumber(int) - Method in class com.sun.mail.imap.IMAPMessage
-
Wrapper around the protected method Message.setMessageNumber() to make that method accessible to IMAPFolder.
- setMessageNumber(int) - Method in class jakarta.mail.Message
-
Set the Message number for this Message.
- setMultipartDataSource(MultipartDataSource) - Method in class jakarta.mail.Multipart
-
Setup this Multipart object from the given MultipartDataSource.
- setName(String) - Method in class jakarta.mail.util.ByteArrayDataSource
-
Set the name of the data.
- setNameMode(String, int) - Method in class com.sun.mail.util.UUEncoderStream
-
Set up the buffer name and permission mode.
- setNewsgroup(String) - Method in class jakarta.mail.internet.NewsAddress
-
Set the newsgroup.
- setNextException(Exception) - Method in exception jakarta.mail.MessagingException
-
Add an exception to the end of the chain.
- setNoopStrict(boolean) - Method in class com.sun.mail.smtp.SMTPTransport
-
Set whether the NOOP command is required to return a response code of 250 to indicate success.
- 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).
- setNTLMDomain(String) - Method in class com.sun.mail.smtp.SMTPTransport
-
Sets the NTLM domain to be used for NTLM authentication.
- setNumberFormat(NumberFormat) - Method in class jakarta.mail.internet.MailDateFormat
-
This method always throws an UnsupportedOperationException and should not be used because RFC 2822 mandates a specific number format.
- setOOBInline(boolean) - Method in class com.sun.mail.util.WriteTimeoutSocket
- setOption(SocketOption<T>, T) - Method in class com.sun.mail.util.WriteTimeoutSocket
- setParameter(String, String) - Method in class jakarta.mail.internet.ContentDisposition
-
Set the specified parameter.
- setParameter(String, String) - Method in class jakarta.mail.internet.ContentType
-
Set the specified parameter.
- setParameterList(ParameterList) - Method in class jakarta.mail.internet.ContentDisposition
-
Set a new ParameterList.
- setParameterList(ParameterList) - Method in class jakarta.mail.internet.ContentType
-
Set a new ParameterList.
- setParent(Part) - Method in class jakarta.mail.Multipart
-
Set the parent of this
Multipart
to be the specifiedPart
. - 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).
- setPasswordAuthentication(URLName, PasswordAuthentication) - Method in class jakarta.mail.Session
-
Save a PasswordAuthentication for this (store or transport) URLName.
- setPeek(boolean) - Method in class com.sun.mail.imap.IMAPMessage
-
Set whether or not to use the PEEK variant of FETCH when fetching message content.
- setPerformancePreferences(int, int, int) - Method in class com.sun.mail.util.WriteTimeoutSocket
- setPersonal(String) - Method in class jakarta.mail.internet.InternetAddress
-
Set the personal name.
- setPersonal(String, String) - Method in class jakarta.mail.internet.InternetAddress
-
Set the personal name.
- setPreamble(String) - Method in class jakarta.mail.internet.MimeMultipart
-
Set the preamble text to be included before the first body part.
- setPrimaryType(String) - Method in class jakarta.mail.internet.ContentType
-
Set the primary type.
- setProtocolForAddress(String, String) - Method in class jakarta.mail.Session
-
Set the default transport protocol to use for addresses of the specified type.
- setProvider(Provider) - Method in class jakarta.mail.Session
-
Set the passed Provider to be the default implementation for the protocol in Provider.protocol overriding any previous values.
- setProxyAuthUser(String) - Method in class com.sun.mail.imap.IMAPStore
-
Set the user name to be used with the PROXYAUTH command.
- setPushFilter(Filter) - Method in class com.sun.mail.util.logging.MailHandler
-
Sets the push filter.
- setPushLevel(Level) - Method in class com.sun.mail.util.logging.MailHandler
-
Sets the push level.
- 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 com.sun.mail.imap.protocol.IMAPProtocol
-
SETQUOTA Command.
- setQuota(Quota) - Method in interface jakarta.mail.QuotaAwareStore
-
Set the quotas for the quota root specified in the quota argument.
- setQuote(boolean) - Method in class com.sun.mail.util.TraceInputStream
-
Set quote mode.
- setQuote(boolean) - Method in class com.sun.mail.util.TraceOutputStream
-
Set quote mode.
- setReceiveBufferSize(int) - Method in class com.sun.mail.util.WriteTimeoutSocket
- setRecipient(Message.RecipientType, Address) - Method in class jakarta.mail.Message
-
Set the recipient address.
- setRecipients(Message.RecipientType, Address[]) - Method in class com.sun.mail.imap.IMAPMessage
- setRecipients(Message.RecipientType, Address[]) - Method in class jakarta.mail.internet.MimeMessage
-
Set the specified recipient type to the given addresses.
- setRecipients(Message.RecipientType, Address[]) - Method in class jakarta.mail.Message
-
Set the recipient addresses.
- setRecipients(Message.RecipientType, String) - Method in class jakarta.mail.internet.MimeMessage
-
Set the specified recipient type to the given addresses.
- setReplyTo(Address[]) - Method in class com.sun.mail.imap.IMAPMessage
- setReplyTo(Address[]) - Method in class jakarta.mail.internet.MimeMessage
-
Set the RFC 822 "Reply-To" header field.
- setReplyTo(Address[]) - Method in class jakarta.mail.Message
-
Set the addresses to which replies should be directed.
- setReportSuccess(boolean) - Method in class com.sun.mail.smtp.SMTPTransport
-
Set whether successful sends should be reported by throwing an exception.
- setRequireStartTLS(boolean) - Method in class com.sun.mail.smtp.SMTPTransport
-
Set whether the STARTTLS command should be required.
- setResourceLimit(String, long) - Method in class jakarta.mail.Quota
-
Set a resource limit for this quota root.
- setReturnOption(int) - Method in class com.sun.mail.smtp.SMTPMessage
-
Set return option to be used if server supports Delivery Status Notification (RFC 1891).
- setReuseAddress(boolean) - Method in class com.sun.mail.util.WriteTimeoutSocket
- setRights(Rights) - Method in class com.sun.mail.imap.ACL
-
Set the rights associated with this ACL entry.
- setSASLEnabled(boolean) - Method in class com.sun.mail.smtp.SMTPTransport
-
Set whether SASL authentication is enabled.
- setSASLMechanisms(String[]) - Method in class com.sun.mail.smtp.SMTPTransport
-
Set the list of SASL mechanisms to consider if SASL authentication is enabled.
- setSASLRealm(String) - Method in class com.sun.mail.smtp.SMTPTransport
-
Sets the SASL realm to be used for DIGEST-MD5 authentication.
- setSecureRandom(SecureRandom) - Method in class com.sun.mail.util.MailSSLSocketFactory
- setSendBufferSize(int) - Method in class com.sun.mail.util.WriteTimeoutSocket
- setSender(Address) - Method in class com.sun.mail.imap.IMAPMessage
- setSender(Address) - Method in class jakarta.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 com.sun.mail.imap.IMAPMessage
- setSentDate(Date) - Method in class jakarta.mail.internet.MimeMessage
-
Set the RFC 822 "Date" header field.
- setSentDate(Date) - Method in class jakarta.mail.Message
-
Set the sent date of this message.
- setSoLinger(boolean, int) - Method in class com.sun.mail.util.WriteTimeoutSocket
- setSoTimeout(int) - Method in class com.sun.mail.util.WriteTimeoutSocket
- setStartTLS(boolean) - Method in class com.sun.mail.smtp.SMTPTransport
-
Set whether the STARTTLS command should be used.
- setSubject(String) - Method in class com.sun.mail.util.logging.MailHandler
-
Sets a literal string for the email subject.
- setSubject(String) - Method in class jakarta.mail.internet.MimeMessage
-
Set the "Subject" header field.
- setSubject(String) - Method in class jakarta.mail.Message
-
Set the subject of this message.
- setSubject(String, String) - Method in class com.sun.mail.imap.IMAPMessage
- setSubject(String, String) - Method in class jakarta.mail.internet.MimeMessage
-
Set the "Subject" header field.
- setSubject(Formatter) - Method in class com.sun.mail.util.logging.MailHandler
-
Sets the subject formatter for email.
- 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 com.sun.mail.imap.IMAPFolder
-
Subscribe/Unsubscribe this folder.
- setSubscribed(boolean) - Method in class jakarta.mail.Folder
-
Subscribe or unsubscribe this Folder.
- setSubType(String) - Method in class jakarta.mail.internet.ContentType
-
Set the subType.
- setSubType(String) - Method in class jakarta.mail.internet.MimeMultipart
-
Set the subtype.
- setTcpNoDelay(boolean) - Method in class com.sun.mail.util.WriteTimeoutSocket
- setText(String) - Method in class jakarta.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 jakarta.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 interface jakarta.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 interface jakarta.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 jakarta.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 jakarta.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 interface jakarta.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 jakarta.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 jakarta.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 interface jakarta.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.
- setTrace(boolean) - Method in class com.sun.mail.util.TraceInputStream
-
Set trace mode.
- setTrace(boolean) - Method in class com.sun.mail.util.TraceOutputStream
-
Set the trace mode.
- setTrafficClass(int) - Method in class com.sun.mail.util.WriteTimeoutSocket
- setTrustAllHosts(boolean) - Method in class com.sun.mail.util.MailSSLSocketFactory
- setTrustedHosts(String...) - Method in class com.sun.mail.util.MailSSLSocketFactory
- setTrustManagers(TrustManager...) - Method in class com.sun.mail.util.MailSSLSocketFactory
- setUID(long) - Method in class com.sun.mail.imap.IMAPMessage
- setURLName(URLName) - Method in class jakarta.mail.Service
-
Set the URLName representing this service.
- setUseCanonicalHostName(boolean) - Method in class com.sun.mail.smtp.SMTPTransport
-
Set whether SASL should use the canonical host name.
- 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.
- SeverityComparator - Class in com.sun.mail.util.logging
-
Orders log records by level, thrown, sequence, and time.
- SeverityComparator() - Constructor for class com.sun.mail.util.logging.SeverityComparator
- shared - Variable in class com.sun.mail.imap.protocol.Namespaces
-
The shared namespace.
- SharedByteArrayInputStream - Class in jakarta.mail.util
-
A ByteArrayInputStream that implements the SharedInputStream interface, allowing the underlying byte array to be shared between multiple readers.
- SharedByteArrayInputStream(byte[]) - Constructor for class jakarta.mail.util.SharedByteArrayInputStream
-
Create a SharedByteArrayInputStream representing the entire byte array.
- SharedByteArrayInputStream(byte[], int, int) - Constructor for class jakarta.mail.util.SharedByteArrayInputStream
-
Create a SharedByteArrayInputStream representing the part of the byte array from
offset
forlength
bytes. - SharedByteArrayOutputStream - Class in com.sun.mail.util
-
A ByteArrayOutputStream that allows us to share the byte array rather than copy it.
- SharedByteArrayOutputStream(int) - Constructor for class com.sun.mail.util.SharedByteArrayOutputStream
- SharedFileInputStream - Class in jakarta.mail.util
-
A
SharedFileInputStream
is aBufferedInputStream
that buffers data from the file and supports themark
andreset
methods. - SharedFileInputStream(File) - Constructor for class jakarta.mail.util.SharedFileInputStream
-
Creates a
SharedFileInputStream
for the file. - SharedFileInputStream(File, int) - Constructor for class jakarta.mail.util.SharedFileInputStream
-
Creates a
SharedFileInputStream
with the specified buffer size. - SharedFileInputStream(String) - Constructor for class jakarta.mail.util.SharedFileInputStream
-
Creates a
SharedFileInputStream
for the named file - SharedFileInputStream(String, int) - Constructor for class jakarta.mail.util.SharedFileInputStream
-
Creates a
SharedFileInputStream
with the specified buffer size. - SharedInputStream - Interface in jakarta.mail.internet
-
An InputStream that is backed by data that can be shared by multiple readers may implement this interface.
- shutdownInput() - Method in class com.sun.mail.util.WriteTimeoutSocket
- shutdownOutput() - Method in class com.sun.mail.util.WriteTimeoutSocket
- simpleCommand(byte[]) - Method in class com.sun.mail.smtp.SMTPTransport
-
Send the command to the server and return the response code from the server.
- simpleCommand(String) - Method in class com.sun.mail.smtp.SMTPTransport
-
Send the command to the server and return the response code from the server.
- simpleCommand(String, Argument) - Method in class com.sun.mail.iap.Protocol
-
Convenience routine to handle simple IAP commands that do not have responses specific to that command.
- size - Variable in class com.sun.mail.iap.Response
- size - Variable in class com.sun.mail.imap.protocol.BODYSTRUCTURE
- size - Variable in class com.sun.mail.imap.protocol.RFC822SIZE
- size() - Method in interface com.sun.mail.iap.Literal
-
Return the size of the data.
- size() - Method in class com.sun.mail.imap.MessageCache
-
Size of cache.
- size() - Method in class com.sun.mail.imap.protocol.MessageSet
-
Count the total number of elements in a MessageSet
- size() - Method in class com.sun.mail.imap.protocol.UIDSet
-
Count the total number of elements in a UIDSet
- size() - Method in class jakarta.mail.internet.ParameterList
-
Return the number of parameters in this list.
- size(MessageSet[]) - Static method in class com.sun.mail.imap.protocol.MessageSet
- size(UIDSet[]) - Static method in class com.sun.mail.imap.protocol.UIDSet
-
Count the total number of elements in an array of UIDSets.
- size(SizeTerm) - Method in class com.sun.mail.imap.protocol.SearchSequence
- SIZE - Static variable in class com.sun.mail.imap.IMAPFolder.FetchProfileItem
-
Deprecated.
- SIZE - Static variable in class com.sun.mail.imap.SortTerm
-
Sort by the message size.
- SIZE - Static variable in class jakarta.mail.FetchProfile.Item
-
SIZE is a fetch profile item that can be included in a
FetchProfile
during a fetch request to a Folder. - SizeTerm - Class in jakarta.mail.search
-
This class implements comparisons for Message sizes.
- SizeTerm(int, int) - Constructor for class jakarta.mail.search.SizeTerm
-
Constructor.
- skip(int) - Method in class com.sun.mail.iap.Response
- skip(long) - Method in class com.sun.mail.util.BASE64DecoderStream
-
Skips over and discards n bytes of data from this stream.
- skip(long) - Method in class com.sun.mail.util.QPDecoderStream
-
Skips over and discards n bytes of data from this stream.
- skip(long) - Method in class jakarta.mail.util.SharedFileInputStream
-
See the general contract of the
skip
method ofInputStream
. - skipSpaces() - Method in class com.sun.mail.iap.Response
- skipToken() - Method in class com.sun.mail.iap.Response
-
Skip to the next space, for use in error recovery while parsing.
- SMTPAddressFailedException - Exception in com.sun.mail.smtp
-
This exception is thrown when the message cannot be sent.
- SMTPAddressFailedException(InternetAddress, String, int, String) - Constructor for exception com.sun.mail.smtp.SMTPAddressFailedException
-
Constructs an SMTPAddressFailedException with the specified address, return code, and error string.
- SMTPAddressSucceededException - Exception in com.sun.mail.smtp
-
This exception is chained off a SendFailedException when the
mail.smtp.reportsuccess
property is true. - SMTPAddressSucceededException(InternetAddress, String, int, String) - Constructor for exception com.sun.mail.smtp.SMTPAddressSucceededException
-
Constructs an SMTPAddressSucceededException with the specified address, return code, and error string.
- SMTPMessage - Class in com.sun.mail.smtp
-
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.
- SMTPOutputStream - Class in com.sun.mail.smtp
-
In addition to converting lines into the canonical format, i.e., terminating lines with the CRLF sequence, escapes the "." by adding another "." to any "." that appears in the beginning of a line.
- SMTPOutputStream(OutputStream) - Constructor for class com.sun.mail.smtp.SMTPOutputStream
- SMTPProvider - Class in com.sun.mail.smtp
-
The SMTP protocol provider.
- SMTPProvider() - Constructor for class com.sun.mail.smtp.SMTPProvider
- SMTPSaslAuthenticator - Class in com.sun.mail.smtp
-
This class contains a single method that does authentication using SASL.
- SMTPSaslAuthenticator(SMTPTransport, String, Properties, MailLogger, String) - Constructor for class com.sun.mail.smtp.SMTPSaslAuthenticator
- SMTPSenderFailedException - Exception in com.sun.mail.smtp
-
This exception is thrown when the message cannot be sent.
- SMTPSenderFailedException(InternetAddress, String, int, String) - Constructor for exception com.sun.mail.smtp.SMTPSenderFailedException
-
Constructs an SMTPSenderFailedException with the specified address, return code, and error string.
- SMTPSendFailedException - Exception in com.sun.mail.smtp
-
This exception is thrown when the message cannot be sent.
- SMTPSendFailedException(String, int, String, Exception, Address[], Address[], Address[]) - Constructor for exception com.sun.mail.smtp.SMTPSendFailedException
-
Constructs an SMTPSendFailedException with the specified address, return code, and error string.
- SMTPSSLProvider - Class in com.sun.mail.smtp
-
The SMTP SSL protocol provider.
- SMTPSSLProvider() - Constructor for class com.sun.mail.smtp.SMTPSSLProvider
- SMTPSSLTransport - Class in com.sun.mail.smtp
-
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 in com.sun.mail.smtp
-
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, boolean) - Constructor for class com.sun.mail.smtp.SMTPTransport
-
Constructor used by this class and by SMTPSSLTransport subclass.
- SocketConnectException - Exception in com.sun.mail.util
-
An IOException that indicates a socket connection attempt failed.
- SocketConnectException(String, Exception, String, int, int) - Constructor for exception com.sun.mail.util.SocketConnectException
-
Constructs a SocketConnectException.
- SocketFetcher - Class in com.sun.mail.util
-
This class is used to get Sockets.
- sort(SortTerm[], SearchTerm) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
Sort messages in the folder according to the specified sort criteria.
- SortTerm - Class in com.sun.mail.imap
-
A particular sort criteria, as defined by RFC 5256.
- spaces - Variable in class com.sun.mail.util.QPDecoderStream
- src - Variable in class com.sun.mail.imap.CopyUID
- start - Variable in class com.sun.mail.imap.protocol.MessageSet
- start - Variable in class com.sun.mail.imap.protocol.UIDSet
- start - Variable in class jakarta.mail.util.SharedByteArrayInputStream
-
Position within shared buffer that this stream starts at.
- start - Variable in class jakarta.mail.util.SharedFileInputStream
-
The file offset of the start of data in this subset of the file.
- startCompression(String) - Method in class com.sun.mail.iap.Protocol
-
Start compression on the current connection.
- started - Variable in class com.sun.mail.imap.protocol.BASE64MailboxEncoder
- startTLS() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
STARTTLS Command.
- startTLS() - Method in class com.sun.mail.smtp.SMTPTransport
-
Issue the
STARTTLS
command and switch the socket to TLS mode if it succeeds. - startTLS(String) - Method in class com.sun.mail.iap.Protocol
-
Start TLS on the current connection.
- startTLS(Socket) - Static method in class com.sun.mail.util.SocketFetcher
-
Deprecated.
- startTLS(Socket, String, Properties, String) - Static method in class com.sun.mail.util.SocketFetcher
-
Start TLS on an existing socket.
- startTLS(Socket, Properties, String) - Static method in class com.sun.mail.util.SocketFetcher
-
Deprecated.
- status(String, String[]) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
STATUS Command.
- Status - Class in com.sun.mail.imap.protocol
-
STATUS response.
- Status(Response) - Constructor for class com.sun.mail.imap.protocol.Status
- stop() - Method in class com.sun.mail.imap.IdleManager
-
Stop the IdleManager.
- store - Variable in class jakarta.mail.Folder
-
The parent store.
- Store - Class in jakarta.mail
-
An abstract class that models a message store and its access protocol, for storing and retrieving messages.
- Store(Session, URLName) - Constructor for class jakarta.mail.Store
-
Constructor.
- STORE - Static variable in class jakarta.mail.Provider.Type
- StoreClosedException - Exception in jakarta.mail
-
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 exception jakarta.mail.StoreClosedException
-
Constructs a StoreClosedException with no detail message.
- StoreClosedException(Store, String) - Constructor for exception jakarta.mail.StoreClosedException
-
Constructs a StoreClosedException with the specified detail message.
- StoreClosedException(Store, String, Exception) - Constructor for exception jakarta.mail.StoreClosedException
-
Constructs a StoreClosedException with the specified detail message and embedded exception.
- StoreEvent - Class in jakarta.mail.event
-
This class models notifications from the Store connection.
- StoreEvent(Store, int, String) - Constructor for class jakarta.mail.event.StoreEvent
-
Construct a StoreEvent.
- storeFlags(int, int, Flags, boolean) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
- storeFlags(int, Flags, boolean) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
Set the specified flags on this message.
- storeFlags(MessageSet[], Flags, boolean) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
- StoreListener - Interface in jakarta.mail.event
-
This is the Listener interface for Store Notifications.
- storeProtocol() - Method in annotation type jakarta.mail.MailSessionDefinition
-
Store protocol name.
- StringTerm - Class in jakarta.mail.search
-
This class implements the match method for Strings.
- StringTerm(String) - Constructor for class jakarta.mail.search.StringTerm
-
Construct a StringTerm with the given pattern.
- StringTerm(String, boolean) - Constructor for class jakarta.mail.search.StringTerm
-
Construct a StringTerm with the given pattern and ignoreCase flag.
- subject - Variable in class com.sun.mail.imap.protocol.ENVELOPE
- subject(SubjectTerm, String) - Method in class com.sun.mail.imap.protocol.SearchSequence
- SUBJECT - Static variable in class com.sun.mail.imap.SortTerm
-
Sort by the base subject text.
- SubjectTerm - Class in jakarta.mail.search
-
This class implements comparisons for the message Subject header.
- SubjectTerm(String) - Constructor for class jakarta.mail.search.SubjectTerm
-
Constructor.
- subscribe(String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
SUBSCRIBE Command.
- subtype - Variable in class com.sun.mail.imap.protocol.BODYSTRUCTURE
- supportedOptions() - Method in class com.sun.mail.util.WriteTimeoutSocket
- supportsAuthentication(String) - Method in class com.sun.mail.smtp.SMTPTransport
-
Does the server we're connected to support the specified authentication mechanism? Uses the extension information returned by the server from the EHLO command.
- supportsExtension(String) - Method in class com.sun.mail.smtp.SMTPTransport
-
Return true if the SMTP server supports the specified service extension.
- supportsNonSyncLiterals() - Method in class com.sun.mail.iap.Protocol
-
Returns whether this Protocol supports non-synchronizing literals Default is false.
- supportsNonSyncLiterals() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
Returns whether this Protocol supports non-synchronizing literals.
- supportsUtf8() - Method in class com.sun.mail.iap.Protocol
-
Does the server support UTF-8? This implementation returns false.
- supportsUtf8() - Method in class com.sun.mail.iap.Response
-
Does the server support UTF-8?
- supportsUtf8() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
Does the server support UTF-8?
- suspendTracing() - Method in class com.sun.mail.iap.Protocol
-
Temporarily turn off protocol tracing, e.g., to prevent tracing the authentication sequence, including the password.
- SYNTHETIC - Static variable in class com.sun.mail.iap.Response
T
- tag - Variable in class com.sun.mail.iap.Response
- TAG_MASK - Static variable in class com.sun.mail.iap.Response
- TAGGED - Static variable in class com.sun.mail.iap.Response
- test(IMAPMessage) - Method in class com.sun.mail.imap.IMAPMessage.FetchProfileCondition
-
Return true if we NEED to fetch the requested information for the specified message.
- test(IMAPMessage) - Method in interface com.sun.mail.imap.Utility.Condition
- text_html - Class in com.sun.mail.handlers
-
DataContentHandler for text/html.
- text_html() - Constructor for class com.sun.mail.handlers.text_html
- text_plain - Class in com.sun.mail.handlers
-
DataContentHandler for text/plain.
- text_plain() - Constructor for class com.sun.mail.handlers.text_plain
- text_xml - Class in com.sun.mail.handlers
-
DataContentHandler for text/xml.
- text_xml() - Constructor for class com.sun.mail.handlers.text_xml
- throwClosedException(ConnectionException) - Method in class com.sun.mail.imap.IMAPFolder
-
Throw the appropriate 'closed' exception.
- to - Variable in class com.sun.mail.imap.protocol.ENVELOPE
- TO - Static variable in class com.sun.mail.imap.SortTerm
-
Sort by email address of first To recipient.
- TO - Static variable in class jakarta.mail.Message.RecipientType
-
The "To" (primary) recipients.
- toAlternate(String) - Method in class com.sun.mail.util.logging.CompactFormatter
-
Defines the alternate format.
- toArray(UIDSet[]) - Static method in class com.sun.mail.imap.protocol.UIDSet
-
Convert an array of UIDSets into a array of long UIDs.
- toArray(UIDSet[], long) - Static method in class com.sun.mail.imap.protocol.UIDSet
-
Convert an array of UIDSets into a array of long UIDs.
- toByteArrayInputStream() - Method in class com.sun.mail.iap.ByteArray
-
Returns a ByteArrayInputStream.
- toIMAPDate(Date) - Method in class com.sun.mail.imap.protocol.SearchSequence
- Token(int, String) - Constructor for class jakarta.mail.internet.HeaderTokenizer.Token
-
Constructor.
- toMessageSet(Message[], Utility.Condition) - Static method in class com.sun.mail.imap.Utility
-
Run thru the given array of messages, apply the given Condition on each message and generate sets of contiguous sequence-numbers for the successful messages.
- toMessageSetSorted(Message[], Utility.Condition) - Static method in class com.sun.mail.imap.Utility
-
Sort (a copy of) the given array of messages and then run thru the sorted array of messages, apply the given Condition on each message and generate sets of contiguous sequence-numbers for the successful messages.
- 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. - toStream() - Method in class com.sun.mail.util.SharedByteArrayOutputStream
- toString() - Method in class com.sun.mail.iap.Response
- toString() - Method in class com.sun.mail.imap.Rights.Right
- toString() - Method in class com.sun.mail.imap.Rights
- toString() - Method in class com.sun.mail.imap.SortTerm
- toString() - Method in class com.sun.mail.util.logging.CollectorFormatter
-
Formats the collected LogRecord and summary statistics.
- toString() - Method in class com.sun.mail.util.logging.DurationFilter
-
Returns a string representation of this filter.
- toString() - Method in class com.sun.mail.util.WriteTimeoutSocket
- toString() - Method in class jakarta.mail.Address
-
Return a String representation of this address object.
- toString() - Method in class jakarta.mail.FetchProfile.Item
-
Include the name in the toString return value for debugging.
- toString() - Method in class jakarta.mail.Flags
-
Return a string representation of this Flags object.
- toString() - Method in class jakarta.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 exception jakarta.mail.internet.AddressException
- toString() - Method in class jakarta.mail.internet.ContentDisposition
-
Retrieve a RFC2045 style string representation of this ContentDisposition.
- toString() - Method in class jakarta.mail.internet.ContentType
-
Retrieve a RFC2045 style string representation of this Content-Type.
- toString() - Method in class jakarta.mail.internet.InternetAddress
-
Convert this address into a RFC 822 / RFC 2047 encoded address.
- toString() - Method in class jakarta.mail.internet.NewsAddress
-
Convert this address into a RFC 1036 address.
- toString() - Method in class jakarta.mail.internet.ParameterList
-
Convert this ParameterList into a MIME String.
- toString() - Method in class jakarta.mail.Message.RecipientType
- toString() - Method in exception jakarta.mail.MessagingException
-
Override toString method to provide information on nested exceptions.
- toString() - Method in class jakarta.mail.Provider
-
Overrides Object.toString()
- toString() - Method in class jakarta.mail.Provider.Type
- toString() - Method in class jakarta.mail.Service
-
Return
getURLName.toString()
if this service has a URLName, otherwise it will return the defaulttoString
. - toString() - Method in class jakarta.mail.URLName
-
Constructs a string representation of this URLName.
- toString(byte[]) - Static method in class com.sun.mail.util.ASCIIUtility
-
Convert the bytes into a String.
- toString(byte[], int, int) - Static method in class com.sun.mail.util.ASCIIUtility
-
Convert the bytes within the specified range of the given byte array into a String.
- toString(int) - Method in class jakarta.mail.internet.ParameterList
-
Convert this ParameterList into a MIME String.
- toString(MessageSet[]) - Static method in class com.sun.mail.imap.protocol.MessageSet
-
Convert an array of MessageSets into an IMAP sequence range
- toString(UIDSet[]) - Static method in class com.sun.mail.imap.protocol.UIDSet
-
Convert an array of UIDSets into an IMAP sequence range.
- toString(Address[]) - Static method in class jakarta.mail.internet.InternetAddress
-
Convert the given array of InternetAddress objects into a comma separated sequence of address strings.
- toString(Address[]) - Static method in class jakarta.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 jakarta.mail.internet.InternetAddress
-
Convert the given array of InternetAddress objects into a comma separated sequence of address strings.
- toString(ByteArrayInputStream) - Static method in class com.sun.mail.util.ASCIIUtility
- total - Variable in class com.sun.mail.imap.protocol.MailboxInfo
-
The total number of messages.
- total - Variable in class com.sun.mail.imap.protocol.Status
- toUIDSet(Message[]) - Static method in class com.sun.mail.imap.Utility
-
Return UIDSets for the messages.
- toUnicodeString() - Method in class jakarta.mail.internet.InternetAddress
-
Returns a properly formatted address (RFC 822 syntax) of Unicode characters.
- toUnicodeString(Address[]) - Static method in class jakarta.mail.internet.InternetAddress
-
Convert the given array of InternetAddress objects into a comma separated sequence of address strings.
- toUnicodeString(Address[], int) - Static method in class jakarta.mail.internet.InternetAddress
-
Convert the given array of InternetAddress objects into a comma separated sequence of address strings.
- TraceInputStream - Class in com.sun.mail.util
-
This class is a FilterInputStream that writes the bytes being read from the given input stream into the given output stream.
- TraceInputStream(InputStream, MailLogger) - Constructor for class com.sun.mail.util.TraceInputStream
-
Creates an input stream filter built on top of the specified input stream.
- TraceInputStream(InputStream, OutputStream) - Constructor for class com.sun.mail.util.TraceInputStream
-
Creates an input stream filter built on top of the specified input stream.
- traceLogger - Variable in class com.sun.mail.iap.Protocol
- TraceOutputStream - Class in com.sun.mail.util
-
This class is a subclass of DataOutputStream that copies the data being written into the DataOutputStream into another output stream.
- TraceOutputStream(OutputStream, MailLogger) - Constructor for class com.sun.mail.util.TraceOutputStream
-
Creates an output stream filter built on top of the specified underlying output stream.
- TraceOutputStream(OutputStream, OutputStream) - Constructor for class com.sun.mail.util.TraceOutputStream
-
Creates an output stream filter built on top of the specified underlying output stream.
- Transport - Class in jakarta.mail
-
An abstract class that models a message transport.
- Transport(Session, URLName) - Constructor for class jakarta.mail.Transport
-
Constructor.
- TRANSPORT - Static variable in class jakarta.mail.Provider.Type
- TransportAdapter - Class in jakarta.mail.event
-
The adapter which receives Transport events.
- TransportAdapter() - Constructor for class jakarta.mail.event.TransportAdapter
- TransportEvent - Class in jakarta.mail.event
-
This class models Transport events.
- TransportEvent(Transport, int, Address[], Address[], Address[], Message) - Constructor for class jakarta.mail.event.TransportEvent
-
Constructor.
- TransportListener - Interface in jakarta.mail.event
-
This is the Listener interface for Transport events
- transportProtocol() - Method in annotation type jakarta.mail.MailSessionDefinition
-
Transport protocol name.
- type - Variable in class com.sun.mail.iap.Response
- type - Variable in class com.sun.mail.imap.IMAPFolder
- type - Variable in class com.sun.mail.imap.protocol.BODYSTRUCTURE
- type - Variable in class jakarta.mail.event.ConnectionEvent
-
The event type.
- type - Variable in class jakarta.mail.event.FolderEvent
-
The event type.
- type - Variable in class jakarta.mail.event.MessageChangedEvent
-
The event type.
- type - Variable in class jakarta.mail.event.MessageCountEvent
-
The event type.
- type - Variable in class jakarta.mail.event.StoreEvent
-
The event type.
- type - Variable in class jakarta.mail.event.TransportEvent
-
The event type.
- type - Variable in class jakarta.mail.Message.RecipientType
-
The type of recipient, usually the name of a corresponding Internet standard header.
- TYPE_MASK - Static variable in class com.sun.mail.iap.Response
U
- uid - Variable in class com.sun.mail.imap.AppendUID
- uid - Variable in class com.sun.mail.imap.protocol.UID
- UID - Class in com.sun.mail.imap.protocol
-
This class represents the UID data item.
- UID - Static variable in class jakarta.mail.UIDFolder.FetchProfileItem
-
UID is a fetch profile item that can be included in a
FetchProfile
during a fetch request to a Folder. - UID(FetchResponse) - Constructor for class com.sun.mail.imap.protocol.UID
-
Constructor.
- uidexpunge(UIDSet[]) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
UID EXPUNGE Command.
- uidfetchChangedSince(long, long, long) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
Get the sequence numbers for messages changed since the given modseq and with UIDs ranging from start till end.
- UIDFolder - Interface in jakarta.mail
-
The
UIDFolder
interface is implemented by Folders that can support the "disconnected" mode of operation, by providing unique-ids for messages in the folder. - UIDFolder.FetchProfileItem - Class in jakarta.mail
-
A fetch profile item for fetching UIDs.
- uidnext - Variable in class com.sun.mail.imap.protocol.MailboxInfo
-
The next UID value to be assigned.
- uidnext - Variable in class com.sun.mail.imap.protocol.Status
- uidNotSticky - Variable in class com.sun.mail.imap.protocol.MailboxInfo
-
UIDs are not sticky.
- UIDSet - Class in com.sun.mail.imap.protocol
-
This class holds the 'start' and 'end' for a range of UIDs.
- UIDSet() - Constructor for class com.sun.mail.imap.protocol.UIDSet
- UIDSet(long, long) - Constructor for class com.sun.mail.imap.protocol.UIDSet
- uidTable - Variable in class com.sun.mail.imap.IMAPFolder
- uidvalidity - Variable in class com.sun.mail.imap.AppendUID
- uidvalidity - Variable in class com.sun.mail.imap.CopyUID
- uidvalidity - Variable in class com.sun.mail.imap.protocol.MailboxInfo
-
The UIDVALIDITY.
- uidvalidity - Variable in class com.sun.mail.imap.protocol.Status
- unauthenticate() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
UNAUTHENTICATE Command.
- UNCHANGED - Static variable in class com.sun.mail.imap.protocol.ListInfo
- unfold(String) - Static method in class jakarta.mail.internet.MimeUtility
-
Unfold a folded header.
- UNKNOWN_SEPARATOR - Static variable in class com.sun.mail.imap.IMAPFolder
- unseen - Variable in class com.sun.mail.imap.protocol.Status
- unselect() - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
UNSELECT Command.
- unsubscribe(String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
UNSUBSCRIBE Command.
- UNTAGGED - Static variable in class com.sun.mail.iap.Response
- unwrap(byte[], int, int) - Method in class com.sun.mail.auth.OAuth2SaslClient
- updateHeaders() - Method in class com.sun.mail.imap.IMAPBodyPart
- updateHeaders() - Method in class jakarta.mail.internet.MimeBodyPart
-
Examine the content of this body part and update the appropriate MIME headers.
- updateHeaders() - Method in class jakarta.mail.internet.MimeMessage
-
Called by the
saveChanges
method to actually update the MIME headers. - updateHeaders() - Method in class jakarta.mail.internet.MimeMultipart
-
Update headers.
- updateHeaders() - Method in class jakarta.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 jakarta.mail.internet.MimeMessage
-
Update the Message-ID header.
- url - Variable in class jakarta.mail.Service
-
The
URLName
of this service. - URLName - Class in jakarta.mail
-
The name of a URL.
- URLName(String) - Constructor for class jakarta.mail.URLName
-
Construct a URLName from the string.
- URLName(String, String, int, String, String, String) - Constructor for class jakarta.mail.URLName
-
Creates a URLName object from the specified protocol, host, port number, file, username, and password.
- URLName(URL) - Constructor for class jakarta.mail.URLName
-
Construct a URLName from a java.net.URL object.
- usage - Variable in class jakarta.mail.Quota.Resource
-
The current usage of the resource.
- user - Variable in class com.sun.mail.imap.IMAPStore
- user() - Method in annotation type jakarta.mail.MailSessionDefinition
-
User name to use for authentication.
- USER - Static variable in class jakarta.mail.Flags.Flag
-
A special flag that indicates that this folder supports user defined flags.
- utf8 - Variable in class com.sun.mail.iap.Response
- Utility - Class in com.sun.mail.imap
-
Holder for some static utility methods.
- Utility.Condition - Interface in com.sun.mail.imap
-
This interface defines the test to be executed in
toMessageSet()
. - UUDecoderStream - Class in com.sun.mail.util
-
This class implements a UUDecoder.
- UUDecoderStream(InputStream) - Constructor for class com.sun.mail.util.UUDecoderStream
-
Create a UUdecoder that decodes the specified input stream.
- UUDecoderStream(InputStream, boolean, boolean) - Constructor for class com.sun.mail.util.UUDecoderStream
-
Create a UUdecoder that decodes the specified input stream.
- UUEncoderStream - Class in com.sun.mail.util
-
This class implements a UUEncoder.
- UUEncoderStream(OutputStream) - Constructor for class com.sun.mail.util.UUEncoderStream
-
Create a UUencoder that encodes the specified input stream
- UUEncoderStream(OutputStream, String) - Constructor for class com.sun.mail.util.UUEncoderStream
-
Create a UUencoder that encodes the specified input stream
- UUEncoderStream(OutputStream, String, int) - Constructor for class com.sun.mail.util.UUEncoderStream
-
Create a UUencoder that encodes the specified input stream
V
- validate() - Method in class jakarta.mail.internet.InternetAddress
-
Validate that this address conforms to the syntax rules of RFC 822.
- validSent - Variable in class jakarta.mail.event.TransportEvent
-
The valid address to which the message was sent.
- validSent - Variable in exception jakarta.mail.SendFailedException
- validUnsent - Variable in class jakarta.mail.event.TransportEvent
-
The valid address to which the message was not sent.
- validUnsent - Variable in exception jakarta.mail.SendFailedException
- value - Variable in class jakarta.mail.Header
-
The value of the header.
- value() - Method in annotation type jakarta.mail.MailSessionDefinitions
W
- watch(Folder) - Method in class com.sun.mail.imap.IdleManager
-
Watch the Folder for new messages and other events using the IMAP IDLE command.
- wrap(byte[], int, int) - Method in class com.sun.mail.auth.OAuth2SaslClient
- write(byte[]) - Method in class com.sun.mail.util.BASE64EncoderStream
-
Encodes
b.length
bytes to this output stream. - write(byte[]) - Method in class com.sun.mail.util.CRLFOutputStream
- write(byte[]) - Method in class com.sun.mail.util.LogOutputStream
- write(byte[]) - Method in class com.sun.mail.util.QPEncoderStream
-
Encodes
b.length
bytes to this output stream. - write(byte[]) - Method in class com.sun.mail.util.UUEncoderStream
- write(byte[], int, int) - Method in class com.sun.mail.smtp.SMTPOutputStream
- write(byte[], int, int) - Method in class com.sun.mail.util.BASE64EncoderStream
-
Encodes
len
bytes from the specifiedbyte
array starting at offsetoff
to this output stream. - write(byte[], int, int) - Method in class com.sun.mail.util.CRLFOutputStream
- write(byte[], int, int) - Method in class com.sun.mail.util.LogOutputStream
- write(byte[], int, int) - Method in class com.sun.mail.util.QPEncoderStream
-
Encodes
len
bytes from the specifiedbyte
array starting at offsetoff
to this output stream. - write(byte[], int, int) - Method in class com.sun.mail.util.TraceOutputStream
-
Writes
b.length
bytes to this output stream. - write(byte[], int, int) - Method in class com.sun.mail.util.UUEncoderStream
- write(int) - Method in class com.sun.mail.imap.protocol.BASE64MailboxEncoder
- write(int) - Method in class com.sun.mail.smtp.SMTPOutputStream
- write(int) - Method in class com.sun.mail.util.BASE64EncoderStream
-
Encodes the specified
byte
to this output stream. - write(int) - Method in class com.sun.mail.util.CRLFOutputStream
- write(int) - Method in class com.sun.mail.util.LogOutputStream
- write(int) - Method in class com.sun.mail.util.QEncoderStream
-
Encodes the specified
byte
to this output stream. - write(int) - Method in class com.sun.mail.util.QPEncoderStream
-
Encodes the specified
byte
to this output stream. - write(int) - Method in class com.sun.mail.util.TraceOutputStream
-
Writes the specified
byte
to this output stream. - write(int) - Method in class com.sun.mail.util.UUEncoderStream
- write(Protocol) - Method in class com.sun.mail.iap.Argument
- WRITE - Static variable in class com.sun.mail.imap.Rights.Right
-
Write - STORE flags other than \SEEN and \DELETED.
- writeArgument(Argument) - Method in class com.sun.mail.iap.Argument
-
Write out as parenthesised list.
- writeAtom(String) - Method in class com.sun.mail.iap.Argument
-
Write out given string as an Atom.
- writeBytes(byte[]) - Method in class com.sun.mail.iap.Argument
-
Write out given byte[] as a Literal.
- writeBytes(Literal) - Method in class com.sun.mail.iap.Argument
-
Write out given data as a literal.
- writeBytes(ByteArrayOutputStream) - Method in class com.sun.mail.iap.Argument
-
Write out given ByteArrayOutputStream as a Literal.
- writeCommand(String, Argument) - Method in class com.sun.mail.iap.Protocol
- writeln() - Method in class com.sun.mail.util.CRLFOutputStream
- writeln() - Method in class com.sun.mail.util.LineOutputStream
- writeln(String) - Method in class com.sun.mail.util.LineOutputStream
- writeMailboxName(Argument, String) - Method in class com.sun.mail.imap.protocol.IMAPProtocol
-
Encode a mailbox name appropriately depending on whether or not the server supports UTF-8, and add the encoded name to the Argument.
- writeNString(String) - Method in class com.sun.mail.iap.Argument
-
Write out given string as an NSTRING, depending on the type of the characters inside the string.
- writeNString(String, String) - Method in class com.sun.mail.iap.Argument
-
Convert the given string into bytes in the specified charset, and write the bytes out as an NSTRING
- writeNString(String, Charset) - Method in class com.sun.mail.iap.Argument
-
Convert the given string into bytes in the specified charset, and write the bytes out as an NSTRING
- writeNumber(int) - Method in class com.sun.mail.iap.Argument
-
Write out number.
- writeNumber(long) - Method in class com.sun.mail.iap.Argument
-
Write out number.
- writeString(String) - Method in class com.sun.mail.iap.Argument
-
Write out given string as an ASTRING, depending on the type of the characters inside the string.
- writeString(String, String) - Method in class com.sun.mail.iap.Argument
-
Convert the given string into bytes in the specified charset, and write the bytes out as an ASTRING
- writeString(String, Charset) - Method in class com.sun.mail.iap.Argument
-
Convert the given string into bytes in the specified charset, and write the bytes out as an ASTRING
- WriteTimeoutSocket - Class in com.sun.mail.util
-
A special Socket that uses a ScheduledExecutorService to implement timeouts for writes.
- WriteTimeoutSocket(int) - Constructor for class com.sun.mail.util.WriteTimeoutSocket
- WriteTimeoutSocket(String, int, int) - Constructor for class com.sun.mail.util.WriteTimeoutSocket
- WriteTimeoutSocket(String, int, InetAddress, int, int) - Constructor for class com.sun.mail.util.WriteTimeoutSocket
- WriteTimeoutSocket(InetAddress, int, int) - Constructor for class com.sun.mail.util.WriteTimeoutSocket
- WriteTimeoutSocket(InetAddress, int, InetAddress, int, int) - Constructor for class com.sun.mail.util.WriteTimeoutSocket
- WriteTimeoutSocket(Socket, int) - Constructor for class com.sun.mail.util.WriteTimeoutSocket
- writeTo(OutputStream) - Method in interface com.sun.mail.iap.Literal
-
Write the data to the OutputStream.
- writeTo(OutputStream) - Method in class com.sun.mail.imap.IMAPMessage
-
Write out the bytes into the given OutputStream.
- writeTo(OutputStream) - Method in class jakarta.mail.internet.MimeBodyPart
-
Output the body part as an RFC 822 format stream.
- writeTo(OutputStream) - Method in class jakarta.mail.internet.MimeMessage
-
Output the message as an RFC 822 format stream.
- writeTo(OutputStream) - Method in class jakarta.mail.internet.MimeMultipart
-
Iterates through all the parts and outputs each MIME part separated by a boundary.
- writeTo(OutputStream) - Method in class jakarta.mail.internet.PreencodedMimeBodyPart
-
Output the body part as an RFC 822 format stream.
- writeTo(OutputStream) - Method in class jakarta.mail.Multipart
-
Output an appropriately encoded bytestream to the given OutputStream.
- writeTo(OutputStream) - Method in interface jakarta.mail.Part
-
Output a bytestream for this Part.
- writeTo(OutputStream, String[]) - Method in class com.sun.mail.pop3.POP3Message
-
Output the message as an RFC 822 format stream, without specified headers.
- writeTo(OutputStream, String[]) - Method in class jakarta.mail.internet.MimeMessage
-
Output the message as an RFC 822 format stream, without specified headers.
- writeTo(Object, String, OutputStream) - Method in class com.sun.mail.handlers.image_gif
-
Write the object to the output stream, using the specified MIME type.
- writeTo(Object, String, OutputStream) - Method in class com.sun.mail.handlers.message_rfc822
-
Write the object as a byte stream.
- writeTo(Object, String, OutputStream) - Method in class com.sun.mail.handlers.multipart_mixed
-
Write the object to the output stream, using the specific MIME type.
- writeTo(Object, String, OutputStream) - Method in class com.sun.mail.handlers.text_plain
-
Write the object to the output stream, using the specified MIME type.
- writeTo(Object, String, OutputStream) - Method in class com.sun.mail.handlers.text_xml
X
- xtext(String) - Static method in class com.sun.mail.smtp.SMTPTransport
-
Convert a string to RFC 1891 xtext format.
- xtext(String, boolean) - Static method in class com.sun.mail.smtp.SMTPTransport
-
Like xtext(s), but allow UTF-8 strings.
Y
- younger(YoungerTerm) - Method in class com.sun.mail.imap.protocol.SearchSequence
-
Generate argument for YoungerTerm.
- YoungerTerm - Class in com.sun.mail.imap
-
Find messages that are younger than a given interval (in seconds).
- YoungerTerm(int) - Constructor for class com.sun.mail.imap.YoungerTerm
-
Constructor.
All Classes All Packages