- 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 javax.mail.internet
-
Formats and parses date specification based on
RFC 2822.
- MailDateFormat() - Constructor for class javax.mail.internet.MailDateFormat
-
Create a new date format for the RFC2822 specification with lenient
parsing.
- MailEvent - Class in javax.mail.event
-
Common base class for mail events, defining the dispatch method.
- MailEvent(Object) - Constructor for class javax.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 the
LogManager configuration properties.
- MailHandler(int) - Constructor for class com.sun.mail.util.logging.MailHandler
-
Creates a MailHandler that is configured by the
LogManager configuration properties but overrides the
LogManager 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.
- MailSessionDefinition - Annotation Type in javax.mail
-
Annotation used by Jakarta EE applications to define a MailSession
to be registered with JNDI.
- MailSessionDefinitions - Annotation Type in javax.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 javax.mail.util.SharedFileInputStream
-
See the general contract of the mark
method of InputStream
.
- markSupported() - Method in class javax.mail.util.SharedFileInputStream
-
Tests if this input stream supports the mark
and reset
methods.
- match(Message) - Method in class com.sun.mail.gimap.GmailMsgIdTerm
-
The match method.
- match(Message) - Method in class com.sun.mail.gimap.GmailRawSearchTerm
-
The match method.
- match(Message) - Method in class com.sun.mail.gimap.GmailThrIdTerm
-
The match method.
- 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(ContentType) - Method in class javax.mail.internet.ContentType
-
Match with the specified ContentType object.
- match(String) - Method in class javax.mail.internet.ContentType
-
Match with the specified content-type string.
- match(SearchTerm) - Method in class javax.mail.Message
-
Apply the specified Search criterion to this message.
- match(Address) - Method in class javax.mail.search.AddressStringTerm
-
Check whether the address pattern specified in the constructor is
a substring of the string representation of the given Address
object.
- match(Address) - Method in class javax.mail.search.AddressTerm
-
Match against the argument Address.
- match(Message) - Method in class javax.mail.search.AndTerm
-
The AND operation.
- match(Message) - Method in class javax.mail.search.BodyTerm
-
The match method.
- match(Date) - Method in class javax.mail.search.DateTerm
-
The date comparison method.
- match(Message) - Method in class javax.mail.search.FlagTerm
-
The comparison method.
- match(Message) - Method in class javax.mail.search.FromStringTerm
-
Check whether the address string specified in the constructor is
a substring of the From address of this Message.
- match(Message) - Method in class javax.mail.search.FromTerm
-
The address comparator.
- match(Message) - Method in class javax.mail.search.HeaderTerm
-
The header match method.
- match(int) - Method in class javax.mail.search.IntegerComparisonTerm
-
- match(Message) - Method in class javax.mail.search.MessageIDTerm
-
The match method.
- match(Message) - Method in class javax.mail.search.MessageNumberTerm
-
The match method.
- match(Message) - Method in class javax.mail.search.NotTerm
-
- match(Message) - Method in class javax.mail.search.OrTerm
-
The OR operation.
- match(Message) - Method in class javax.mail.search.ReceivedDateTerm
-
The match method.
- match(Message) - Method in class javax.mail.search.RecipientStringTerm
-
Check whether the address specified in the constructor is
a substring of the recipient address of this Message.
- match(Message) - Method in class javax.mail.search.RecipientTerm
-
The match method.
- match(Message) - Method in class javax.mail.search.SearchTerm
-
This method applies a specific match criterion to the given
message and returns the result.
- match(Message) - Method in class javax.mail.search.SentDateTerm
-
The match method.
- match(Message) - Method in class javax.mail.search.SizeTerm
-
The match method.
- match(String) - Method in class javax.mail.search.StringTerm
-
- match(Message) - Method in class javax.mail.search.SubjectTerm
-
The match method.
- MAXUID - Static variable in interface javax.mail.UIDFolder
-
The largest value possible for a UID, a 32-bit unsigned integer.
- 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 - Variable in class javax.mail.event.StoreEvent
-
The message text to be presented to the user.
- Message - Class in javax.mail
-
This class models an email message.
- Message() - Constructor for class javax.mail.Message
-
No-arg version of the constructor.
- Message(Folder, int) - Constructor for class javax.mail.Message
-
Constructor that takes a Folder and a message number.
- Message(Session) - Constructor for class javax.mail.Message
-
Constructor that takes a Session.
- Message.RecipientType - Class in javax.mail
-
This inner class defines the types of recipients allowed by
the Message class.
- MESSAGE_DELIVERED - Static variable in class javax.mail.event.TransportEvent
-
Message has been successfully delivered to all recipients by the
transport firing this event.
- MESSAGE_NOT_DELIVERED - Static variable in class javax.mail.event.TransportEvent
-
Message was not sent for some reason.
- MESSAGE_PARTIALLY_DELIVERED - Static variable in class javax.mail.event.TransportEvent
-
Message was successfully sent to some recipients but not to all.
- MessageAware - Interface in javax.mail
-
An interface optionally implemented by DataSources
to
supply information to a DataContentHandler
about the
message context in which the data content object is operating.
- messageCache - Variable in class com.sun.mail.imap.IMAPFolder
-
- messageCacheLock - Variable in class com.sun.mail.imap.IMAPFolder
-
- messageChanged(MessageChangedEvent) - Method in interface javax.mail.event.MessageChangedListener
-
Invoked when a message is changed.
- MessageChangedEvent - Class in javax.mail.event
-
This class models Message change events.
- MessageChangedEvent(Object, int, Message) - Constructor for class javax.mail.event.MessageChangedEvent
-
Constructor.
- MessageChangedListener - Interface in javax.mail.event
-
This is the Listener interface for MessageChanged events
- MessageContext - Class in javax.mail
-
The context in which a piece of Message content is contained.
- MessageContext(Part) - Constructor for class javax.mail.MessageContext
-
Create a MessageContext object describing the context of the given Part.
- MessageCountAdapter - Class in javax.mail.event
-
The adapter which receives MessageCount events.
- MessageCountAdapter() - Constructor for class javax.mail.event.MessageCountAdapter
-
- MessageCountEvent - Class in javax.mail.event
-
This class notifies changes in the number of messages in a folder.
- MessageCountEvent(Folder, int, boolean, Message[]) - Constructor for class javax.mail.event.MessageCountEvent
-
Constructor.
- MessageCountListener - Interface in javax.mail.event
-
This is the Listener interface for MessageCount events.
- messageDelivered(TransportEvent) - Method in class javax.mail.event.TransportAdapter
-
- messageDelivered(TransportEvent) - Method in interface javax.mail.event.TransportListener
-
Invoked when a Message is succesfully delivered.
- messageDSN - Variable in class com.sun.mail.dsn.DeliveryStatus
-
The DSN fields for the message.
- MessageHeaders - Class in com.sun.mail.dsn
-
A special MimeMessage object that contains only message headers,
no content.
- MessageHeaders() - Constructor for class com.sun.mail.dsn.MessageHeaders
-
Construct a MessageHeaders object.
- MessageHeaders(InputStream) - Constructor for class com.sun.mail.dsn.MessageHeaders
-
Constructs a MessageHeaders object from the given InputStream.
- MessageHeaders(InternetHeaders) - Constructor for class com.sun.mail.dsn.MessageHeaders
-
Constructs a MessageHeaders object using the given InternetHeaders.
- MessageIDTerm - Class in javax.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 javax.mail.search.MessageIDTerm
-
Constructor.
- messageNotDelivered(TransportEvent) - Method in class javax.mail.event.TransportAdapter
-
- messageNotDelivered(TransportEvent) - Method in interface javax.mail.event.TransportListener
-
Invoked when a Message is not delivered.
- MessageNumberTerm - Class in javax.mail.search
-
This class implements comparisons for Message numbers.
- MessageNumberTerm(int) - Constructor for class javax.mail.search.MessageNumberTerm
-
Constructor.
- messagePartiallyDelivered(TransportEvent) - Method in class javax.mail.event.TransportAdapter
-
- messagePartiallyDelivered(TransportEvent) - Method in interface javax.mail.event.TransportListener
-
Invoked when a Message is partially delivered.
- MessageRemovedException - Exception in javax.mail
-
The exception thrown when an invalid method is invoked on an expunged
Message.
- MessageRemovedException() - Constructor for exception javax.mail.MessageRemovedException
-
Constructs a MessageRemovedException with no detail message.
- MessageRemovedException(String) - Constructor for exception javax.mail.MessageRemovedException
-
Constructs a MessageRemovedException with the specified
detail message.
- MessageRemovedException(String, Exception) - Constructor for exception javax.mail.MessageRemovedException
-
Constructs a MessageRemovedException with the specified
detail message and embedded exception.
- messagesAdded(MessageCountEvent) - Method in class javax.mail.event.MessageCountAdapter
-
- messagesAdded(MessageCountEvent) - Method in interface javax.mail.event.MessageCountListener
-
Invoked when messages are added into a folder.
- messagesRemoved(MessageCountEvent) - Method in class javax.mail.event.MessageCountAdapter
-
- messagesRemoved(MessageCountEvent) - Method in interface javax.mail.event.MessageCountListener
-
Invoked when messages are removed (expunged) from a folder.
- 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 javax.mail
-
The base class for all exceptions thrown by the Messaging classes
- MessagingException() - Constructor for exception javax.mail.MessagingException
-
Constructs a MessagingException with no detail message.
- MessagingException(String) - Constructor for exception javax.mail.MessagingException
-
Constructs a MessagingException with the specified detail message.
- MessagingException(String, Exception) - Constructor for exception javax.mail.MessagingException
-
Constructs a MessagingException with the specified
Exception and detail message.
- MethodNotSupportedException - Exception in javax.mail
-
The exception thrown when a method is not supported by the
implementation
- MethodNotSupportedException() - Constructor for exception javax.mail.MethodNotSupportedException
-
Constructs a MethodNotSupportedException with no detail message.
- MethodNotSupportedException(String) - Constructor for exception javax.mail.MethodNotSupportedException
-
Constructs a MethodNotSupportedException with the specified
detail message.
- MethodNotSupportedException(String, Exception) - Constructor for exception javax.mail.MethodNotSupportedException
-
Constructs a MethodNotSupportedException with the specified
detail message and embedded exception.
- MIME - Static variable in class javax.mail.internet.HeaderTokenizer
-
MIME specials
- MimeBodyPart - Class in javax.mail.internet
-
This class represents a MIME body part.
- MimeBodyPart() - Constructor for class javax.mail.internet.MimeBodyPart
-
An empty MimeBodyPart object is created.
- MimeBodyPart(InputStream) - Constructor for class javax.mail.internet.MimeBodyPart
-
Constructs a MimeBodyPart by reading and parsing the data from
the specified input stream.
- MimeBodyPart(InternetHeaders, byte[]) - Constructor for class javax.mail.internet.MimeBodyPart
-
Constructs a MimeBodyPart using the given header and
content bytes.
- mimeCharset(String) - Static method in class javax.mail.internet.MimeUtility
-
Convert a java charset into its MIME charset name.
- MimeMessage - Class in javax.mail.internet
-
This class represents a MIME style email message.
- MimeMessage(Session) - Constructor for class javax.mail.internet.MimeMessage
-
Default constructor.
- MimeMessage(Session, InputStream) - Constructor for class javax.mail.internet.MimeMessage
-
Constructs a MimeMessage by reading and parsing the data from the
specified MIME InputStream.
- MimeMessage(MimeMessage) - Constructor for class javax.mail.internet.MimeMessage
-
Constructs a new MimeMessage with content initialized from the
source
MimeMessage.
- MimeMessage(Folder, int) - Constructor for class javax.mail.internet.MimeMessage
-
Constructs an empty MimeMessage object with the given Folder
and message number.
- MimeMessage(Folder, InputStream, int) - Constructor for class javax.mail.internet.MimeMessage
-
Constructs a MimeMessage by reading and parsing the data from the
specified MIME InputStream.
- MimeMessage(Folder, InternetHeaders, byte[], int) - Constructor for class javax.mail.internet.MimeMessage
-
Constructs a MimeMessage from the given InternetHeaders object
and content.
- MimeMessage.RecipientType - Class in javax.mail.internet
-
This inner class extends the javax.mail.Message.RecipientType
class to add additional RecipientTypes.
- MimeMultipart - Class in javax.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 javax.mail.internet.MimeMultipart
-
Default constructor.
- MimeMultipart(String) - Constructor for class javax.mail.internet.MimeMultipart
-
Construct a MimeMultipart object of the given subtype.
- MimeMultipart(BodyPart...) - Constructor for class javax.mail.internet.MimeMultipart
-
Construct a MimeMultipart object of the default "mixed" subtype,
and with the given body parts.
- MimeMultipart(String, BodyPart...) - Constructor for class javax.mail.internet.MimeMultipart
-
Construct a MimeMultipart object of the given subtype
and with the given body parts.
- MimeMultipart(DataSource) - Constructor for class javax.mail.internet.MimeMultipart
-
Constructs a MimeMultipart object and its bodyparts from the
given DataSource.
- MimePart - Interface in javax.mail.internet
-
The MimePart interface models an Entity as defined
by MIME (RFC2045, Section 2.4).
- MimePartDataSource - Class in javax.mail.internet
-
A utility class that implements a DataSource out of
a MimePart.
- MimePartDataSource(MimePart) - Constructor for class javax.mail.internet.MimePartDataSource
-
Constructor, that constructs a DataSource from a MimePart.
- MimeUtility - Class in javax.mail.internet
-
This is a utility class that provides various MIME related
functionality.
- mode - Variable in class javax.mail.Folder
-
The open mode of this folder.
- modified - Variable in class javax.mail.internet.MimeMessage
-
A flag indicating whether the message has been modified.
- 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.
- moveMessages(Message[], Folder) - Method in class com.sun.mail.imap.IMAPFolder
-
Move the specified messages from this folder, to the
specified destination.
- 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 javax.mail.event.MessageChangedEvent
-
The message that changed.
- msg - Variable in class javax.mail.event.TransportEvent
-
The Message to which this event applies.
- MSGID - Static variable in class com.sun.mail.gimap.GmailFolder.FetchProfileItem
-
MSGID is a fetch profile item that can be included in a
FetchProfile
during a fetch request to a Folder.
- msgnum - Variable in class javax.mail.Message
-
The number of this message within its folder, or zero if
the message was not retrieved from a folder.
- msgs - Variable in class javax.mail.event.MessageCountEvent
-
The messages.
- Multipart - Class in javax.mail
-
Multipart is a container that holds multiple body parts.
- Multipart() - Constructor for class javax.mail.Multipart
-
Default constructor.
- MultipartDataSource - Interface in javax.mail
-
MultipartDataSource is a DataSource
that contains body
parts.
- MultipartReport - Class in com.sun.mail.dsn
-
A multipart/report message content, as defined in
RFC 3462.
- MultipartReport() - Constructor for class com.sun.mail.dsn.MultipartReport
-
Construct a multipart/report object with no content.
- MultipartReport(String, Report) - Constructor for class com.sun.mail.dsn.MultipartReport
-
Construct a multipart/report object with the specified plain
text and report type (DeliveryStatus or DispositionNotification)
to be returned to the user.
- MultipartReport(String, Report, MimeMessage) - Constructor for class com.sun.mail.dsn.MultipartReport
-
Construct a multipart/report object with the specified plain
text, report, and original message to be returned to the user.
- MultipartReport(String, Report, InternetHeaders) - Constructor for class com.sun.mail.dsn.MultipartReport
-
Construct a multipart/report object with the specified plain
text, report, and headers from the original message
to be returned to the user.
- MultipartReport(DataSource) - Constructor for class com.sun.mail.dsn.MultipartReport
-
Constructs a MultipartReport object and its bodyparts from the
given DataSource.
- myRights() - Method in class com.sun.mail.imap.IMAPFolder
-
Get the rights allowed to the currently authenticated user.