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

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 the saveChanges 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
Creates a default 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 with CRLF.
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 this Handler.
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 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 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
Creates a default 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 for length 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 a BufferedInputStream that buffers data from the file and supports the mark and reset 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 of InputStream.
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.
streamProvider - Variable in class jakarta.mail.BodyPart
Instance of stream provider.
streamProvider - Variable in class jakarta.mail.Multipart
Instance of stream provider.
StreamProvider - Interface in jakarta.mail.util
Service lookup is used to find implementations of this interface.
StreamProvider.EncoderTypes - Enum in jakarta.mail.util
Enumeration with the different encoder types supported by the Mail API.
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
 
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