- getAddress() - Method in exception com.sun.mail.smtp.SMTPAddressFailedException
-
Return the address that failed.
- getAddress() - Method in exception com.sun.mail.smtp.SMTPAddressSucceededException
-
Return the address that succeeded.
- getAddress() - Method in exception com.sun.mail.smtp.SMTPSenderFailedException
-
Return the address that failed.
- getAllow8bitMIME() - Method in class com.sun.mail.smtp.SMTPMessage
-
Is use of the 8BITMIME extension is allowed?
- getAuthorizationId() - Method in class com.sun.mail.smtp.SMTPTransport
-
Gets the authorization ID to be used for authentication.
- getCommand() - Method in exception com.sun.mail.smtp.SMTPAddressFailedException
-
Return the command that failed.
- getCommand() - Method in exception com.sun.mail.smtp.SMTPAddressSucceededException
-
Return the command that succeeded.
- getCommand() - Method in exception com.sun.mail.smtp.SMTPSenderFailedException
-
Return the command that failed.
- getCommand() - Method in exception com.sun.mail.smtp.SMTPSendFailedException
-
Return the command that failed.
- getEnvelopeFrom() - Method in class com.sun.mail.smtp.SMTPMessage
-
Return the envelope From address.
- getExtensionParameter(String) - Method in class com.sun.mail.smtp.SMTPTransport
-
Return the parameter the server provided for the specified
service extension, or null if the extension isn't supported.
- getLastReturnCode() - Method in class com.sun.mail.smtp.SMTPTransport
-
Return the return code from the last response we got from the server.
- getLastServerResponse() - Method in class com.sun.mail.smtp.SMTPTransport
-
Return the last response we got from the server.
- getLocalHost() - Method in class com.sun.mail.smtp.SMTPTransport
-
Get the name of the local host, for use in the EHLO and HELO commands.
- getMailExtension() - Method in class com.sun.mail.smtp.SMTPMessage
-
Gets the extension string to use with the MAIL command.
- getNoopStrict() - Method in class com.sun.mail.smtp.SMTPTransport
-
Is the NOOP command required to return a response code
of 250 to indicate success?
- getNotifyOptions() - Method in class com.sun.mail.smtp.SMTPMessage
-
Get notification options.
- getNTLMDomain() - Method in class com.sun.mail.smtp.SMTPTransport
-
Gets the NTLM domain to be used for NTLM authentication.
- getReportSuccess() - Method in class com.sun.mail.smtp.SMTPTransport
-
Should we report even successful sends by throwing an exception?
If so, a
SendFailedException
will always be thrown and
an
SMTPAddressSucceededException
will be included in the exception
chain for each successful address, along with the usual
SMTPAddressFailedException
for each unsuccessful address.
- getRequireStartTLS() - Method in class com.sun.mail.smtp.SMTPTransport
-
Should we require the STARTTLS command to secure the connection?
- getReturnCode() - Method in exception com.sun.mail.smtp.SMTPAddressFailedException
-
Return the return code from the SMTP server that indicates the
reason for the failure.
- getReturnCode() - Method in exception com.sun.mail.smtp.SMTPAddressSucceededException
-
Return the return code from the SMTP server that indicates the
reason for the success.
- getReturnCode() - Method in exception com.sun.mail.smtp.SMTPSenderFailedException
-
Return the return code from the SMTP server that indicates the
reason for the failure.
- getReturnCode() - Method in exception com.sun.mail.smtp.SMTPSendFailedException
-
Return the return code from the SMTP server that indicates the
reason for the failure.
- getReturnOption() - Method in class com.sun.mail.smtp.SMTPMessage
-
Return return option.
- getSASLEnabled() - Method in class com.sun.mail.smtp.SMTPTransport
-
Is SASL authentication enabled?
- getSASLMechanisms() - Method in class com.sun.mail.smtp.SMTPTransport
-
Get the list of SASL mechanisms to consider if SASL authentication
is enabled.
- getSASLRealm() - Method in class com.sun.mail.smtp.SMTPTransport
-
Gets the SASL realm to be used for DIGEST-MD5 authentication.
- getSendPartial() - Method in class com.sun.mail.smtp.SMTPMessage
-
Send message if some addresses are invalid?
- getStartTLS() - Method in class com.sun.mail.smtp.SMTPTransport
-
Should we use the STARTTLS command to secure the connection
if the server supports it?
- getSubmitter() - Method in class com.sun.mail.smtp.SMTPMessage
-
Gets the submitter to be used for the RFC 2554 AUTH= value
in the MAIL FROM command.
- getUseCanonicalHostName() - Method in class com.sun.mail.smtp.SMTPTransport
-
Should SASL use the canonical host name?
- getUseRset() - Method in class com.sun.mail.smtp.SMTPTransport
-
Should we use the RSET command instead of the NOOP command
in the @{link #isConnected isConnected} method?
- SaslAuthenticator - Interface in com.sun.mail.smtp
-
Interface to make it easier to call SMTPSaslAuthenticator.
- sendCommand(String) - Method in class com.sun.mail.smtp.SMTPTransport
-
Sends command cmd
to the server terminating
it with CRLF
.
- sendMessage(Message, Address[]) - Method in class com.sun.mail.smtp.SMTPTransport
-
Send the Message to the specified list of addresses.
- 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.
- setAuthorizationID(String) - Method in class com.sun.mail.smtp.SMTPTransport
-
Sets the authorization ID to be used for authentication.
- setEnvelopeFrom(String) - Method in class com.sun.mail.smtp.SMTPMessage
-
Set the From address to appear in the SMTP envelope.
- 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.
- 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.
- 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.
- setReturnOption(int) - Method in class com.sun.mail.smtp.SMTPMessage
-
Set return option to be used if server supports
Delivery Status Notification
(
RFC 1891).
- 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.
- 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.
- setStartTLS(boolean) - Method in class com.sun.mail.smtp.SMTPTransport
-
Set whether the STARTTLS command should be used.
- 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.
- setUseCanonicalHostName(boolean) - Method in class com.sun.mail.smtp.SMTPTransport
-
Set whether SASL should use the canonical host name.
- 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.
- 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.
- 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.
- startTLS() - Method in class com.sun.mail.smtp.SMTPTransport
-
Issue the STARTTLS
command and switch the socket to
TLS mode if it succeeds.
- 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.