- 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 javax.mail.internet.MimeMessage
-
Updates the appropriate header fields of this message to be
consistent with the message's contents.
- saveChanges() - Method in class javax.mail.Message
-
Save any changes made to this message into the message-store
when the containing folder is closed, if the message is contained
in a folder.
- saved - Variable in class javax.mail.internet.MimeMessage
-
Does the saveChanges
method need to be called on
this message? This flag is set to false by the public constructor
and set to true by the saveChanges
method.
- saveFile(File) - Method in class javax.mail.internet.MimeBodyPart
-
Save the contents of this part in the specified file.
- saveFile(String) - Method in class javax.mail.internet.MimeBodyPart
-
Save the contents of this part in the specified file.
- search(SearchTerm) - Method in class com.sun.mail.imap.IMAPFolder
-
Search whole folder for messages matching the given term.
- search(SearchTerm, Message[]) - Method in class com.sun.mail.imap.IMAPFolder
-
Search the folder for messages matching the given term.
- search(SearchTerm) - Method in class javax.mail.Folder
-
Search this Folder for messages matching the specified
search criterion.
- search(SearchTerm, Message[]) - Method in class javax.mail.Folder
-
Search the given array of messages for those that match the
specified search criterion.
- SearchException - Exception in javax.mail.search
-
The exception thrown when a Search expression could not be handled.
- SearchException() - Constructor for exception javax.mail.search.SearchException
-
Constructs a SearchException with no detail message.
- SearchException(String) - Constructor for exception javax.mail.search.SearchException
-
Constructs a SearchException with the specified detail message.
- SearchTerm - Class in javax.mail.search
-
Search criteria are expressed as a tree of search-terms, forming
a parse-tree for the search expression.
- SearchTerm() - Constructor for class javax.mail.search.SearchTerm
-
- sectionId - Variable in class com.sun.mail.imap.IMAPMessage
-
- SEEN - Static variable in class javax.mail.Flags.Flag
-
This message is seen.
- send(Message) - Static method in class javax.mail.Transport
-
Send a message.
- send(Message, Address[]) - Static method in class javax.mail.Transport
-
Send the message to the specified addresses, ignoring any
recipients specified in the message itself.
- send(Message, String, String) - Static method in class javax.mail.Transport
-
Send a message.
- send(Message, Address[], String, String) - Static method in class javax.mail.Transport
-
Send the message to the specified addresses, ignoring any
recipients specified in the message itself.
- sendCommand(String) - Method in class com.sun.mail.smtp.SMTPTransport
-
Sends command cmd
to the server terminating
it with CRLF
.
- SendFailedException - Exception in javax.mail
-
This exception is thrown when the message cannot be sent.
- SendFailedException() - Constructor for exception javax.mail.SendFailedException
-
Constructs a SendFailedException with no detail message.
- SendFailedException(String) - Constructor for exception javax.mail.SendFailedException
-
Constructs a SendFailedException with the specified detail message.
- SendFailedException(String, Exception) - Constructor for exception javax.mail.SendFailedException
-
Constructs a SendFailedException with the specified
Exception and detail message.
- SendFailedException(String, Exception, Address[], Address[], Address[]) - Constructor for exception javax.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 javax.mail.Transport
-
Send the Message to the specified list of addresses.
- SentDateTerm - Class in javax.mail.search
-
This class implements comparisons for the Message SentDate.
- SentDateTerm(int, Date) - Constructor for class javax.mail.search.SentDateTerm
-
Constructor.
- separator - Variable in class com.sun.mail.imap.IMAPFolder
-
- Service - Class in javax.mail
-
An abstract class that contains the functionality
common to messaging services, such as stores and transports.
- Service(Session, URLName) - Constructor for class javax.mail.Service
-
Constructor.
- session - Variable in class javax.mail.Message
-
The Session object for this Message
- session - Variable in class javax.mail.Service
-
The session from which this service was created.
- Session - Class in javax.mail
-
The Session class represents a mail session and is not subclassed.
- set(String, String) - Method in class javax.mail.internet.ParameterList
-
Set a parameter.
- set(String, String, String) - Method in class javax.mail.internet.ParameterList
-
Set a parameter.
- set2DigitYearStart(Date) - Method in class javax.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.
- setAddress(String) - Method in class javax.mail.internet.InternetAddress
-
Set the email address.
- setAllow8bitMIME(boolean) - Method in class com.sun.mail.smtp.SMTPMessage
-
If set to true, and the server supports the 8BITMIME extension, text
parts of this message that use the "quoted-printable" or "base64"
encodings are converted to use "8bit" encoding if they follow the
RFC 2045 rules for 8bit text.
- 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(Authenticator) - Method in class com.sun.mail.util.logging.MailHandler
-
Sets the Authenticator used to login to the email server.
- setAuthenticator(char...) - 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 javax.mail.internet.MailDateFormat
-
This method always throws an UnsupportedOperationException and should not
be used because RFC 2822 mandates a specific calendar.
- 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 javax.mail.Service
-
Set the connection state of this service.
- setContent(Object, String) - Method in class javax.mail.internet.MimeBodyPart
-
A convenience method for setting this body part's content.
- setContent(Multipart) - Method in class javax.mail.internet.MimeBodyPart
-
This method sets the body part's content to a Multipart object.
- setContent(Object, String) - Method in class javax.mail.internet.MimeMessage
-
A convenience method for setting this Message's content.
- setContent(Multipart) - Method in class javax.mail.internet.MimeMessage
-
This method sets the Message's content to a Multipart object.
- setContent(Object, String) - Method in interface javax.mail.Part
-
A convenience method for setting this part's content.
- setContent(Multipart) - Method in interface javax.mail.Part
-
This method sets the given Multipart object as this message's
content.
- setContentID(String) - Method in class com.sun.mail.imap.IMAPMessage
-
- setContentID(String) - Method in class javax.mail.internet.MimeBodyPart
-
Set the "Content-ID" header field of this body part.
- setContentID(String) - Method in class javax.mail.internet.MimeMessage
-
Set the "Content-ID" header field of this Message.
- setContentLanguage(String[]) - Method in class com.sun.mail.imap.IMAPMessage
-
- setContentLanguage(String[]) - Method in class javax.mail.internet.MimeBodyPart
-
Set the Content-Language header of this MimePart.
- setContentLanguage(String[]) - Method in class javax.mail.internet.MimeMessage
-
Set the "Content-Language" header of this MimePart.
- setContentLanguage(String[]) - Method in interface javax.mail.internet.MimePart
-
Set the Content-Language header of this MimePart.
- setContentMD5(String) - Method in class com.sun.mail.imap.IMAPMessage
-
- setContentMD5(String) - Method in class javax.mail.internet.MimeBodyPart
-
Set the "Content-MD5" header field of this body part.
- setContentMD5(String) - Method in class javax.mail.internet.MimeMessage
-
Set the "Content-MD5" header field of this Message.
- setContentMD5(String) - Method in interface javax.mail.internet.MimePart
-
Set the Content-MD5 of this part.
- setDataHandler(DataHandler) - Method in class com.sun.mail.dsn.MessageHeaders
-
Can't set any content for a MessageHeaders object.
- setDataHandler(DataHandler) - Method in class com.sun.mail.imap.IMAPMessage
-
- setDataHandler(DataHandler) - Method in class javax.mail.internet.MimeBodyPart
-
This method provides the mechanism to set this body part's content.
- setDataHandler(DataHandler) - Method in class javax.mail.internet.MimeMessage
-
This method provides the mechanism to set this part's content.
- setDataHandler(DataHandler) - Method in interface javax.mail.Part
-
This method provides the mechanism to set this part's content.
- setDateFormatSymbols(DateFormatSymbols) - Method in class javax.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 javax.mail.Session
-
Set the debug setting for this Session.
- setDebugOut(PrintStream) - Method in class javax.mail.Session
-
Set the stream to be used for debugging output for this session.
- setDeliveryStatus(DeliveryStatus) - Method in class com.sun.mail.dsn.MultipartReport
-
- setDescription(String, String) - Method in class com.sun.mail.imap.IMAPMessage
-
- setDescription(String) - Method in class javax.mail.internet.MimeBodyPart
-
Set the "Content-Description" header field for this body part.
- setDescription(String, String) - Method in class javax.mail.internet.MimeBodyPart
-
Set the "Content-Description" header field for this body part.
- setDescription(String) - Method in class javax.mail.internet.MimeMessage
-
Set the "Content-Description" header field for this Message.
- setDescription(String, String) - Method in class javax.mail.internet.MimeMessage
-
Set the "Content-Description" header field for this Message.
- setDescription(String) - Method in interface javax.mail.Part
-
Set a description String for this part.
- setDisposition(String) - Method in class com.sun.mail.imap.IMAPMessage
-
- setDisposition(String) - Method in class javax.mail.internet.ContentDisposition
-
Set the disposition.
- setDisposition(String) - Method in class javax.mail.internet.MimeBodyPart
-
Set the disposition in the "Content-Disposition" header field
of this body part.
- setDisposition(String) - Method in class javax.mail.internet.MimeMessage
-
Set the disposition in the "Content-Disposition" header field
of this body part.
- setDisposition(String) - Method in interface javax.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 javax.mail.Message
-
Sets the expunged flag for this Message.
- setFileName(String) - Method in class com.sun.mail.imap.IMAPMessage
-
- setFileName(String) - Method in class javax.mail.internet.MimeBodyPart
-
Set the filename associated with this body part, if possible.
- setFileName(String) - Method in class javax.mail.internet.MimeMessage
-
Set the filename associated with this part, if possible.
- setFileName(String) - Method in interface javax.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 this Handler.
- setFlag(Flags.Flag, boolean) - Method in class javax.mail.Message
-
Set the specified flag on this message to the specified value.
- setFlags(Message[], Flags, boolean) - Method in class com.sun.mail.imap.IMAPFolder
-
Set the specified flags for the given array of messages.
- 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[], Flags, boolean) - Method in class com.sun.mail.imap.IMAPFolder
-
Set the specified flags for the given array of message numbers.
- 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.pop3.POP3Message
-
Set the specified flags on this message to the specified value.
- setFlags(Message[], Flags, boolean) - Method in class javax.mail.Folder
-
Set the specified flags on the messages specified in the array.
- setFlags(int, int, Flags, boolean) - Method in class javax.mail.Folder
-
Set the specified flags on the messages numbered from start
through end, both start and end inclusive.
- setFlags(int[], Flags, boolean) - Method in class javax.mail.Folder
-
Set the specified flags on the messages whose message numbers
are in the array.
- setFlags(Flags, boolean) - Method in class javax.mail.internet.MimeMessage
-
Set the flags for this message.
- setFlags(Flags, boolean) - Method in class javax.mail.Message
-
Set the specified flags on this message to the specified value.
- setFormatter(Formatter) - Method in class com.sun.mail.util.logging.MailHandler
-
Set a Formatter.
- setFrom(Address) - Method in class com.sun.mail.imap.IMAPMessage
-
- setFrom(Address) - Method in class javax.mail.internet.MimeMessage
-
Set the RFC 822 "From" header field.
- setFrom(String) - Method in class javax.mail.internet.MimeMessage
-
Set the RFC 822 "From" header field.
- setFrom() - Method in class javax.mail.internet.MimeMessage
-
Set the RFC 822 "From" header field using the value of the
InternetAddress.getLocalAddress
method.
- setFrom() - Method in class javax.mail.Message
-
Set the "From" attribute in this Message.
- setFrom(Address) - Method in class javax.mail.Message
-
Set the "From" attribute in this Message.
- 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 javax.mail.internet.InternetHeaders
-
Change the first header line that matches name
to have value, adding a new header if no existing header
matches.
- setHeader(String, String) - Method in class javax.mail.internet.MimeBodyPart
-
Set the value for this header_name.
- setHeader(String, String) - Method in class javax.mail.internet.MimeMessage
-
Set the value for this header_name.
- setHeader(String, String) - Method in interface javax.mail.Part
-
Set the value for this header_name.
- setHost(String) - Method in class javax.mail.internet.NewsAddress
-
Set the host.
- setKeyManagers(KeyManager...) - Method in class com.sun.mail.util.MailSSLSocketFactory
-
- setLabels(Message[], String[], boolean) - Method in class com.sun.mail.gimap.GmailFolder
-
Set the specified labels for the given array of messages.
- setLabels(int, int, String[], boolean) - Method in class com.sun.mail.gimap.GmailFolder
-
Set the specified labels for the given range of message numbers.
- setLabels(int[], String[], boolean) - Method in class com.sun.mail.gimap.GmailFolder
-
Set the specified labels for the given array of message numbers.
- setLabels(String[], boolean) - Method in class com.sun.mail.gimap.GmailMessage
-
Set/Unset the given labels on this message.
- 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.
- setMessageDSN(InternetHeaders) - Method in class com.sun.mail.dsn.DeliveryStatus
-
Set the per-message fields in the delivery status notification.
- setMessageNumber(int) - Method in class com.sun.mail.imap.IMAPMessage
-
Wrapper around the protected method Message.setMessageNumber() to
make that method accessible to IMAPFolder.
- setMessageNumber(int) - Method in class javax.mail.Message
-
Set the Message number for this Message.
- setMultipartDataSource(MultipartDataSource) - Method in class javax.mail.Multipart
-
Setup this Multipart object from the given MultipartDataSource.
- setName(String) - Method in class javax.mail.util.ByteArrayDataSource
-
Set the name of the data.
- setNewsgroup(String) - Method in class javax.mail.internet.NewsAddress
-
Set the newsgroup.
- setNextException(Exception) - Method in exception javax.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.
- setNotifications(InternetHeaders) - Method in class com.sun.mail.dsn.DispositionNotification
-
Set the disposition notification fields in the
disposition notification.
- 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 javax.mail.internet.MailDateFormat
-
This method always throws an UnsupportedOperationException and should not
be used because RFC 2822 mandates a specific number format.
- setParameter(String, String) - Method in class javax.mail.internet.ContentDisposition
-
Set the specified parameter.
- setParameter(String, String) - Method in class javax.mail.internet.ContentType
-
Set the specified parameter.
- setParameterList(ParameterList) - Method in class javax.mail.internet.ContentDisposition
-
Set a new ParameterList.
- setParameterList(ParameterList) - Method in class javax.mail.internet.ContentType
-
Set a new ParameterList.
- setParent(Part) - Method in class javax.mail.Multipart
-
Set the parent of this Multipart
to be the specified
Part
.
- setPassword(String) - Method in class com.sun.mail.imap.IMAPStore
-
Set the password that will be used for subsequent connections
after this Store is first connected (for example, when creating
a connection to open a Folder).
- setPasswordAuthentication(URLName, PasswordAuthentication) - Method in class javax.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.
- setPersonal(String, String) - Method in class javax.mail.internet.InternetAddress
-
Set the personal name.
- setPersonal(String) - Method in class javax.mail.internet.InternetAddress
-
Set the personal name.
- setPreamble(String) - Method in class javax.mail.internet.MimeMultipart
-
Set the preamble text to be included before the first
body part.
- setPrimaryType(String) - Method in class javax.mail.internet.ContentType
-
Set the primary type.
- setProtocolForAddress(String, String) - Method in class javax.mail.Session
-
Set the default transport protocol to use for addresses of
the specified type.
- setProvider(Provider) - Method in class javax.mail.Session
-
Set the passed Provider to be the default implementation
for the protocol in Provider.protocol overriding any previous values.
- 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 interface javax.mail.QuotaAwareStore
-
Set the quotas for the quota root specified in the quota argument.
- setRecipient(Message.RecipientType, Address) - Method in class javax.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 javax.mail.internet.MimeMessage
-
Set the specified recipient type to the given addresses.
- setRecipients(Message.RecipientType, String) - Method in class javax.mail.internet.MimeMessage
-
Set the specified recipient type to the given addresses.
- setRecipients(Message.RecipientType, Address[]) - Method in class javax.mail.Message
-
Set the recipient addresses.
- setReplyTo(Address[]) - Method in class com.sun.mail.imap.IMAPMessage
-
- setReplyTo(Address[]) - Method in class javax.mail.internet.MimeMessage
-
Set the RFC 822 "Reply-To" header field.
- setReplyTo(Address[]) - Method in class javax.mail.Message
-
Set the addresses to which replies should be directed.
- setReport(Report) - Method in class com.sun.mail.dsn.MultipartReport
-
Set the report associated with this multipart/report.
- 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 javax.mail.Quota
-
Set a resource limit for this quota root.
- setReturnedMessage(MimeMessage) - Method in class com.sun.mail.dsn.MultipartReport
-
Set the original message to be returned as part of the
multipart/report.
- setReturnOption(int) - Method in class com.sun.mail.smtp.SMTPMessage
-
Set return option to be used if server supports
Delivery Status Notification
(
RFC 1891).
- setRights(Rights) - Method in class com.sun.mail.imap.ACL
-
Set the rights associated with this ACL entry.
- 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
-
- setSender(Address) - Method in class com.sun.mail.imap.IMAPMessage
-
- setSender(Address) - Method in class javax.mail.internet.MimeMessage
-
Set the RFC 822 "Sender" header field.
- setSendPartial(boolean) - Method in class com.sun.mail.smtp.SMTPMessage
-
If set to true, and this message has some valid and some invalid
addresses, send the message anyway, reporting the partial failure with
a SendFailedException.
- setSentDate(Date) - Method in class com.sun.mail.imap.IMAPMessage
-
- setSentDate(Date) - Method in class javax.mail.internet.MimeMessage
-
Set the RFC 822 "Date" header field.
- setSentDate(Date) - Method in class javax.mail.Message
-
Set the sent date of this message.
- setStartTLS(boolean) - Method in class com.sun.mail.smtp.SMTPTransport
-
Set whether the STARTTLS command should be used.
- setSubject(String, String) - Method in class com.sun.mail.imap.IMAPMessage
-
- setSubject(String) - Method in class com.sun.mail.util.logging.MailHandler
-
Sets a literal string for the email subject.
- setSubject(Formatter) - Method in class com.sun.mail.util.logging.MailHandler
-
Sets the subject formatter for email.
- setSubject(String) - Method in class javax.mail.internet.MimeMessage
-
Set the "Subject" header field.
- setSubject(String, String) - Method in class javax.mail.internet.MimeMessage
-
Set the "Subject" header field.
- setSubject(String) - Method in class javax.mail.Message
-
Set the subject of this message.
- 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 javax.mail.Folder
-
Subscribe or unsubscribe this Folder.
- setSubType(String) - Method in class com.sun.mail.dsn.MultipartReport
-
Set the subtype.
- setSubType(String) - Method in class javax.mail.internet.ContentType
-
Set the subType.
- setSubType(String) - Method in class javax.mail.internet.MimeMultipart
-
Set the subtype.
- setText(String) - Method in class com.sun.mail.dsn.MultipartReport
-
Set the message to be presented to the user as just a text/plain
part containing the specified text.
- setText(String) - Method in class javax.mail.internet.MimeBodyPart
-
Convenience method that sets the given String as this
part's content, with a MIME type of "text/plain".
- setText(String, String) - Method in class javax.mail.internet.MimeBodyPart
-
Convenience method that sets the given String as this part's
content, with a MIME type of "text/plain" and the specified
charset.
- setText(String, String, String) - Method in class javax.mail.internet.MimeBodyPart
-
Convenience method that sets the given String as this part's
content, with a primary MIME type of "text" and the specified
MIME subtype.
- setText(String) - Method in class javax.mail.internet.MimeMessage
-
Convenience method that sets the given String as this
part's content, with a MIME type of "text/plain".
- setText(String, String) - Method in class javax.mail.internet.MimeMessage
-
Convenience method that sets the given String as this part's
content, with a MIME type of "text/plain" and the specified
charset.
- setText(String, String, String) - Method in class javax.mail.internet.MimeMessage
-
Convenience method that sets the given String as this part's
content, with a primary MIME type of "text" and the specified
MIME subtype.
- setText(String) - Method in interface javax.mail.internet.MimePart
-
Convenience method that sets the given String as this
part's content, with a MIME type of "text/plain".
- setText(String, String) - Method in interface javax.mail.internet.MimePart
-
Convenience method that sets the given String as this part's
content, with a MIME type of "text/plain" and the specified
charset.
- setText(String, String, String) - Method in interface javax.mail.internet.MimePart
-
Convenience method that sets the given String as this part's
content, with a primary MIME type of "text" and the specified
MIME subtype.
- setText(String) - Method in interface javax.mail.Part
-
A convenience method that sets the given String as this
part's content with a MIME type of "text/plain".
- setTextBodyPart(MimeBodyPart) - Method in class com.sun.mail.dsn.MultipartReport
-
Set the body part containing the text to be presented to the
user.
- 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 javax.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
-
- SharedByteArrayInputStream - Class in javax.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 javax.mail.util.SharedByteArrayInputStream
-
Create a SharedByteArrayInputStream representing the entire
byte array.
- SharedByteArrayInputStream(byte[], int, int) - Constructor for class javax.mail.util.SharedByteArrayInputStream
-
Create a SharedByteArrayInputStream representing the part
of the byte array from offset
for length
bytes.
- SharedFileInputStream - Class in javax.mail.util
-
A SharedFileInputStream
is a
BufferedInputStream
that buffers
data from the file and supports the mark
and reset
methods.
- SharedFileInputStream(File) - Constructor for class javax.mail.util.SharedFileInputStream
-
Creates a SharedFileInputStream
for the file.
- SharedFileInputStream(String) - Constructor for class javax.mail.util.SharedFileInputStream
-
Creates a SharedFileInputStream
for the named file
- SharedFileInputStream(File, int) - Constructor for class javax.mail.util.SharedFileInputStream
-
Creates a SharedFileInputStream
with the specified buffer size.
- SharedFileInputStream(String, int) - Constructor for class javax.mail.util.SharedFileInputStream
-
Creates a SharedFileInputStream
with the specified buffer size.
- SharedInputStream - Interface in javax.mail.internet
-
An InputStream that is backed by data that can be shared by multiple
readers may implement this interface.
- 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(byte[]) - Method in class com.sun.mail.smtp.SMTPTransport
-
Send the command to the server and return the response code
from the server.
- 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 javax.mail.FetchProfile.Item
-
SIZE is a fetch profile item that can be included in a
FetchProfile
during a fetch request to a Folder.
- size() - Method in class javax.mail.internet.ParameterList
-
Return the number of parameters in this list.
- SizeTerm - Class in javax.mail.search
-
This class implements comparisons for Message sizes.
- SizeTerm(int, int) - Constructor for class javax.mail.search.SizeTerm
-
Constructor.
- skip(long) - Method in class javax.mail.util.SharedFileInputStream
-
See the general contract of the skip
method of InputStream
.
- 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(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.
- SMTPMessage(MimeMessage) - Constructor for class com.sun.mail.smtp.SMTPMessage
-
Constructs a new SMTPMessage with content initialized from the
source
MimeMessage.
- 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.
- 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.
- SortTerm - Class in com.sun.mail.imap
-
A particular sort criteria, as defined by
RFC 5256.
- start - Variable in class javax.mail.util.SharedByteArrayInputStream
-
Position within shared buffer that this stream starts at.
- start - Variable in class javax.mail.util.SharedFileInputStream
-
The file offset of the start of data in this subset of the file.
- startTLS() - Method in class com.sun.mail.smtp.SMTPTransport
-
Issue the STARTTLS
command and switch the socket to
TLS mode if it succeeds.
- stop() - Method in class com.sun.mail.imap.IdleManager
-
Stop the IdleManager.
- store - Variable in class javax.mail.Folder
-
The parent store.
- STORE - Static variable in class javax.mail.Provider.Type
-
- Store - Class in javax.mail
-
An abstract class that models a message store and its
access protocol, for storing and retrieving messages.
- Store(Session, URLName) - Constructor for class javax.mail.Store
-
Constructor.
- StoreClosedException - Exception in javax.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 javax.mail.StoreClosedException
-
Constructs a StoreClosedException with no detail message.
- StoreClosedException(Store, String) - Constructor for exception javax.mail.StoreClosedException
-
Constructs a StoreClosedException with the specified
detail message.
- StoreClosedException(Store, String, Exception) - Constructor for exception javax.mail.StoreClosedException
-
Constructs a StoreClosedException with the specified
detail message and embedded exception.
- StoreEvent - Class in javax.mail.event
-
This class models notifications from the Store connection.
- StoreEvent(Store, int, String) - Constructor for class javax.mail.event.StoreEvent
-
Construct a StoreEvent.
- StoreListener - Interface in javax.mail.event
-
This is the Listener interface for Store Notifications.
- StringTerm - Class in javax.mail.search
-
This class implements the match method for Strings.
- StringTerm(String) - Constructor for class javax.mail.search.StringTerm
-
Construct a StringTerm with the given pattern.
- StringTerm(String, boolean) - Constructor for class javax.mail.search.StringTerm
-
Construct a StringTerm with the given pattern and ignoreCase flag.
- SUBJECT - Static variable in class com.sun.mail.imap.SortTerm
-
Sort by the base subject text.
- SubjectTerm - Class in javax.mail.search
-
This class implements comparisons for the message Subject header.
- SubjectTerm(String) - Constructor for class javax.mail.search.SubjectTerm
-
Constructor.
- 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.