Returns the value of the specified parameter.
Get the access control list entries for this folder.
Return the address to match with.
Return the address that failed.
Return the address that succeeded.
Return all the header lines as an Enumeration of Strings.
Get all header lines as an Enumeration of Strings.
Get all header lines as an Enumeration of Strings.
Get all header lines as an Enumeration of Strings.
Get all header lines as an Enumeration of Strings.
Return all the headers as an Enumeration of
Header
objects.
Return all the headers from this Message as an Enumeration of
Header objects.
Return all the headers from this Message as an enumeration
of Header objects.
Return all the headers from this part as an Enumeration of
Header objects.
Return all the headers from this Message as an enumeration
of Header objects.
Is use of the 8BITMIME extension is allowed?
Get all the recipient addresses for the message.
Get all the recipient addresses for the message.
Get the attributes that the IMAP server returns with the
LIST response.
Return the MIME type string, without the parameters.
Get the specified BodyPart.
Get the MimeBodyPart referred to by the given ContentID (CID).
Overrides the getCause
method of Throwable
to return the next exception in the chain of nested exceptions.
Returns name of the class that implements the protocol
Return the command that failed.
Return the command that succeeded.
Return the command that failed.
Return the type of comparison.
Return the type of comparison.
Return the content as a java object.
Return the content as a Java object.
Return the content as a Java object.
Returns the value of the "Content-ID" header field.
Returns the value of the "Content-ID" header field.
Get the Content-ID of this part.
Get the languages specified in the Content-Language header
of this MimePart.
Get the languages specified in the "Content-Language" header
field of this message.
Get the language tags specified in the Content-Language header
of this MimePart.
Return the value of the "Content-MD5" header field.
Return the value of the "Content-MD5" header field.
Get the Content-MD5 digest of this part.
Produce the raw bytes of the content.
Produce the raw bytes of the content.
Produce the raw bytes of the content.
Get the MIME content type of the data.
Returns the value of the RFC 822 "Content-Type" header field.
Returns the value of the RFC 822 "Content-Type" header field.
Returns the content-type of this DataSource.
Return the content-type of this Multipart.
Returns the Content-Type of the content of this part.
Return the number of enclosed BodyPart objects.
Return the number of enclosed BodyPart objects.
Return the number of enclosed BodyPart objects.
Return a DataHandler for this body part's content.
Return a DataHandler for this Message's content.
Return a DataHandler for the content within this part.
Return the Date to compare with.
Get the debug setting for this Session.
Returns the stream to be used for debugging output.
Get the default folder, representing the root of this user's
namespace.
Returns a Folder object that represents the 'root' of
the default namespace presented to the user by the Store.
Get the default Session object.
Get the default Session object.
Get the default charset corresponding to the system's current
default locale.
Get the number of deleted messages in this Folder.
Get the deleted message count.
Get the delivery status associated with this multipart/report.
Returns the "Content-Description" header field of this body part.
Returns the "Content-Description" header field of this Message.
Return a description String for this part.
Return the disposition value.
Returns the value of the "Content-Disposition" header field.
Returns the value of the "Content-Disposition" header field.
Return the disposition of this part.
Returns the content transfer encoding from the
"Content-Transfer-Encoding" header
field.
Returns the content transfer encoding from the
"Content-Transfer-Encoding" header
field.
Get the transfer encoding of this part.
Returns the content transfer encoding specified when
this object was created.
Same as getEncoding(DataSource)
except that instead
of reading the data from an InputStream
it uses the
writeTo
method to examine the data.
Get the content-transfer-encoding that should be applied
to the input stream of this datasource, to make it mailsafe.
Return the envelope From address.
Return the parameter the server provided for the specified
service extension, or null if the extension isn't supported.
Returns the file name of this URLName.
Get the filename associated with this body part.
Get the filename associated with this Message.
Get the filename associated with this part, if possible.
Return the Flags to test.
Returns a Flags
object containing the flags for
this message.
Return a Flags
object containing the flags for
this message.
Returns the dead Folder object
Return the affected folder.
Returns the offending Folder object.
Get the folder from which this message was obtained.
Returns the dead Folder object.
Return the Folder object corresponding to the given name.
Always throws MessagingException
because no POP3 folders
can contain subfolders.
Only the name "INBOX" is supported.
Return the Folder object corresponding to the given name.
Get a closed Folder object for the given URLName.
Return a closed Folder object, corresponding to the given
URLName.
Returns the "From" attribute.
Returns the value of the RFC 822 "From" header fields.
Returns the full name of this Folder.
Get the fullname of this folder.
Return the members of a group address.
Return all the values for the specified header.
Get all the headers for this header_name.
Get all the headers for this header_name.
Get all the headers for this header name.
Get all the headers for this header_name.
Get all the headers for this header name, returned as a single
String, with headers separated by the delimiter.
Get all the headers for this header name, returned as a single
String, with headers separated by the delimiter.
Get all the headers for this header name, returned as a single
String, with headers separated by the delimiter.
Get the values of all header fields available for this header,
returned as a single String, with the values separated by the
delimiter.
Get all the headers for this header name, returned as a single
String, with headers separated by the delimiter.
Return the name of the header to compare with.
Get the names of the header-fields set in this profile.
Returns the host of this URLName.
Return true if we should ignore case when matching.
Return an InputStream for the data.
Return a decoded input stream for this body part's "content".
Return a decoded input stream for this Message's "content".
Returns an input stream from this MimePart.
Return an input stream for this part's "content".
Get a new Session object.
Get a new Session object.
Return the addresses to which this message could not be sent.
Return the addresses to which this message could not be sent.
Get the items set in this profile.
Return the last response we got from the server.
Return the number of lines for the content of this Part.
Return the number of lines for the content of this message.
Return the number of lines in the content of this part.
Return an InternetAddress object representing the current user.
Get the name of the local host, for use in the EHLO and HELO commands.
Gets the extension string to use with the MAIL command.
Return all matching header lines as an Enumeration of Strings.
Get matching header lines as an Enumeration of Strings.
Get matching header lines as an Enumeration of Strings.
Get matching header lines as an Enumeration of Strings.
Get matching header lines as an Enumeration of Strings.
Return all matching
Header
objects.
Return matching headers from this Message as an Enumeration of
Header objects.
Return matching headers from this Message as an Enumeration of
Header objects.
Return matching headers from this part as an Enumeration of
Header objects.
Return matching headers from this Message as an Enumeration of
Header objects.
Return the changed Message.
Return the Message that contains the content.
Get the message from the Store.
Get the Message object associated with this Transport Event.
Get the Message object corresponding to the given message
number.
Get the specified message.
Get the Message corresponding to the given UID.
Get the Message corresponding to the given UID.
Return the type of this event.
Return the message context.
Return the MessageContext
for the current part.
Get total number of messages in this Folder.
Get the total message count.
Will not change while the folder is open because the POP3
protocol doesn't support notification of new messages
arriving in open folders.
Return all the per-message fields in the delivery status notification.
Returns the value of the "Message-ID" header field.
Get the Message number for this Message.
Get all Message objects from this Folder.
Return the array of messages added or removed.
Get the Message objects for message numbers ranging from start
through end, both start and end inclusive.
Get the Message objects for message numbers specified in
the array.
Get the Messages specified by the given range.
Get the Messages specified by the given range.
Get the Messages specified by the given array.
Get the Messages specified by the given array of UIDs.
Return the type of this event.
Return the open mode of this folder.
Get the identifier name for this ACL entry.
Get the name of the data.
Returns the name of this Folder.
Returns the name of this header.
Get the name of this folder.
DataSource method to return a name.
Return an enumeration of the names of all parameters in this
list.
If this event indicates that a folder is renamed, (i.e, the event type
is RENAMED), then this method returns the Folder object representing the
new name.
Get the number of new messages in this Folder.
Get the new message count.
Get the next exception chained to this one.
Return all non-matching header lines
Get non-matching header lines as an Enumeration of Strings.
Get non-matching header lines as an Enumeration of Strings.
Get non-matching header lines as an Enumeration of Strings.
Get non-matching header lines as an Enumeration of Strings.
Return all non-matching
Header
objects.
Return non-matching headers from this Message as an
Enumeration of Header objects.
Return non-matching headers from this Message as an
Enumeration of Header objects.
Return non-matching headers from this envelope as an Enumeration
of Header objects.
Return non-matching headers from this Message as an
Enumeration of Header objects.
Get notification options.
Return the number to compare with.
Return an OutputStream for the data.
DataSource method to return an output stream.
Return the specified parameter value.
Return the specified parameter value.
Return a ParameterList object that holds all the available
parameters.
Return a ParameterList object that holds all the available
parameters.
Return the containing Multipart
object,
or null
if not known.
Returns the parent folder of this folder.
Get this folder's parent.
Return the Part
that contains this Multipart
object, or null
if not known.
Return the Part that contains the content.
Returns the password of this URLName.
Called when password authentication is needed.
Return any saved PasswordAuthentication for this (store or transport)
URLName.
Return the string to match with.
Get the permanent flags supported by this Folder.
Return the permanent flags supported by the server.
Always returns an empty Flags
object because
the POP3 protocol doesn't support any permanent flags.
Using the IMAP NAMESPACE command (RFC 2342), return a set
of folders representing the Personal namespaces.
Return a set of folders representing the personal namespaces
for the current user.
Returns the port number of this URLName.
Get the position with the reference string where the error was
detected (-1 if not relevant).
Return the current position in the InputStream, as an
offset from the beginning of the InputStream.
Return the current position in the InputStream, as an
offset from the beginning of the InputStream.
Return the current position in the InputStream, as an
offset from the beginning of the InputStream.
Get the preamble text, if any, that appears before the
first body part of this multipart.
Returns the Properties object associated with this Session
Returns the value of the specified property.
Return the IMAPProtocol object for this folder.
Returns the protocol supported by this Provider
Returns the protocol of this URLName.
Returns the default Provider for the protocol
specified.
This method returns an array of all the implementations installed
via the javamail.[default.]providers files that can
be loaded using the ClassLoader available to this application.
Get the quotas for the quotaroot associated with this
folder.
Get the quotas for the named quota root.
Get the quotas for the named quota root.
Return an InputStream to the raw data with any Content-Transfer-Encoding
intact.
Return an InputStream to the raw data with any Content-Transfer-Encoding
intact.
Get the date this message was received.
Returns the Date on this message was received.
Return the delivery status notification information for
the specified recipient.
Return the number of recipients for which we have
per-recipient delivery status notification information.
Get all the recipient addresses of the given type.
Returns the recepients specified by the type.
Return the type of recipient to match with.
Return the type of recipient to match with.
Get the string that was being parsed when the error was detected
(null if not relevant).
Returns the reference of this URLName.
Return the rest of the Header.
Get the addresses to which replies should be directed.
Return the value of the RFC 822 "Reply-To" header field.
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.
Give the protocol that's requesting the connection.
Return the return code from the SMTP server that indicates the
reason for the failure.
Return the return code from the SMTP server that indicates the
reason for the success.
Return the return code from the SMTP server that indicates the
reason for the failure.
Get the original message that is being returned along with this
multipart/report.
Get the rights associated with this ACL entry.
Return all the rights in this Rights object.
Gets the SASL realm to be used for DIGEST-MD5 authentication.
Returns the value of the RFC 822 "Sender" header field.
Send message if some addresses are invalid?
Get the date this message was sent.
Returns the value of the RFC 822 "Date" field.
Return the delimiter character that separates this Folder's pathname
from the names of immediate subfolders.
Get the separator character.
Always returns a NUL character because POP3 doesn't support a hierarchy.
Return the Session we're operating in.
Using the IMAP NAMESPACE command (RFC 2342), return a set
of folders representing the Shared namespaces.
Return a set of folders representing the shared namespaces.
Return the size of this message.
Return the size of the content of this body part in bytes.
Return the size of the content of this message in bytes.
Return the size of the content of this part in bytes.
Return the size of this folder, as was returned by the POP3 STAT
command when this folder was opened.
Return the size of the content of this message in bytes.
Return the sizes of all messages in this folder, as returned
by the POP3 LIST command.
Should we use the STARTTLS command to secure the connection
if the server supports it?
Returns the Store that owns this Folder object.
Get a Store object that implements this user's desired Store
protocol.
Returns the dead Store object
Get an instance of the store specified by Provider.
Get a Store object that implements the specified protocol.
Get a Store object for the given URLName.
Get this folder's Store's protocol connection.
Get the subject of this message.
Returns the value of the "Subject" header field.
Gets the submitter to be used for the RFC 2554 AUTH= value
in the MAIL FROM command.
Return all the system flags in this Flags object.
Return the term to negate.
Return true if testing whether the flags are set.
Get the plain text to be presented to the user, if there is any.
Return the body part containing the message to be presented to
the user, usually just a text/plain part.
Get a Transport object that implements this user's desired
Transport protcol.
Get a Transport object that can transport a Message to the
specified address type.
Get an instance of the transport specified in the Provider.
Get a Transport object that implements the specified protocol.
Get a Transport object for the given URLName.
Return a type string that identifies this address type.
Return the type of this event
Returns the type of this Folder, that is, whether this folder can hold
messages or subfolders or both.
Return the type of this event.
Get the type of this folder.
Return the type of this address.
Return the type of this event.
Return the type of this address.
Always returns Folder.HOLDS_MESSAGES.
Returns the type of this Provider
Return the type of this event.
Get the UID for the specified message.
Return the unique ID string for this message, or null if
not available.
Get the UID for the specified message.
Returns the predicted UID that will be assigned to the
next message that is appended to this folder.
Returns the UIDValidity for this folder.
Returns the UIDValidity value associated with this folder.
Get a unique value for use in a multipart boundary string.
Get a unique value for use in a Message-ID.
Get the total number of unread messages in this Folder.
Get the unread message count.
Constructs a URL from the URLName.
Return a URLName representing this folder.
Return a URLName representing this service.
Return all the user flags in this Flags object.
Returns the user name of this URLName.
Using the IMAP NAMESPACE command (RFC 2342), return a set
of folders representing the User's namespaces.
Return a set of folders representing the namespaces for
user
.
Should we use the RSET command instead of the NOOP command
in the @{link #isConnected isConnected} method?
Return the addresses to which this message was sent succesfully.
Return the addresses to which this message was sent succesfully.
Return the addresses that are valid but to which this message
was not sent.
Return the addresses that are valid but to which this message
was not sent.
Returns the value of this header.
Returns name of vendor associated with this implementation or null
Returns version of this implementation or null if no version
Formats and parses date specification based on the
draft-ietf-drums-msg-fmt-08 dated January 26, 2000.
Common base class for mail events, defining the dispatch method.
See the general contract of the mark
method of InputStream
.
Tests if this input stream supports the mark
and reset
methods.
Check whether the address pattern specified in the constructor is
a substring of the string representation of the given Address
object.
Match against the argument Address.
Match with the specified ContentType object.
The date comparison method.
Check whether the address string specified in the constructor is
a substring of the From address of this Message.
Check whether the address specified in the constructor is
a substring of the recipient address of this Message.
This method applies a specific match criterion to the given
message and returns the result.
Apply the specified Search criterion to this message.
Match with the specified content-type string.
This class models an email message.
The message text to be presented to the user.
No-arg version of the constructor.
Constructor that takes a Folder and a message number.
Constructor that takes a Session.
Message has been successfully delivered to all recipients by the
transport firing this event.
Message was not sent for some reason.
Message was successfully sent to some recipients but not to all.
An interface optionally implemented by DataSources
to
supply information to a DataContentHandler
about the
message context in which the data content object is operating.
Invoked when a message is changed.
This class models Message change events.
This is the Listener interface for MessageChanged events
The context in which a piece of Message content is contained.
Create a MessageContext object describing the context of the given Part.
The adapter which receives MessageCount events.
This class notifies changes in the number of messages in a folder.
This is the Listener interface for MessageCount events.
Invoked when a Message is succesfully delivered.
The DSN fields for the message.
A special MimeMessage object that contains only message headers,
no content.
Construct a MessageHeaders object.
Constructs a MessageHeaders object from the given InputStream.
Constructs a MessageHeaders object using the given InternetHeaders.
This term models the RFC822 "MessageId" - a message-id for
Internet messages that is supposed to be unique per message.
Invoked when a Message is not delivered.
This class implements comparisons for Message numbers.
Invoked when a Message is partially delivered.
The exception thrown when an invalid method is invoked on an expunged
Message.
Constructs a MessageRemovedException with no detail message.
Constructs a MessageRemovedException with the specified detail message.
Invoked when messages are added into a folder.
Invoked when messages are removed (expunged) from a folder.
The base class for all exceptions thrown by the Messaging classes
Constructs a MessagingException with no detail message.
Constructs a MessagingException with the specified detail message.
Constructs a MessagingException with the specified
Exception and detail message.
The exception thrown when a method is not supported by the
implementation
Constructs a MethodNotSupportedException with no detail message.
Constructs a MethodNotSupportedException with the specified detail message.
This class represents a MIME body part.
An empty MimeBodyPart object is created.
Constructs a MimeBodyPart by reading and parsing the data from
the specified input stream.
Constructs a MimeBodyPart using the given header and
content bytes.
Convert a java charset into its MIME charset name.
This class represents a MIME style email message.
Constructs a MimeMessage by reading and parsing the data from the
specified MIME InputStream.
Constructs an empty MimeMessage object with the given Folder
and message number.
Constructs a MimeMessage from the given InternetHeaders object
and content.
Constructs a new MimeMessage with content initialized from the
source
MimeMessage.
Constructs a MimeMessage by reading and parsing the data from the
specified MIME InputStream.
The MimeMultipart class is an implementation of the abstract Multipart
class that uses MIME conventions for the multipart data.
Constructs a MimeMultipart object and its bodyparts from the
given DataSource.
Construct a MimeMultipart object of the given subtype.
The MimePart interface models an Entity as defined
by MIME (RFC2045, Section 2.4).
A utility class that implements a DataSource out of
a MimePart.
Constructor, that constructs a DataSource from a MimePart.
This is a utility class that provides various MIME related
functionality.
The open mode of this folder.
A flag indicating whether the message has been modified.
The message that changed.
The number of this message within its folder, or zero if
the message was not retrieved from a folder.
Multipart is a container that holds multiple body parts.
MultipartDataSource is a DataSource
that contains body
parts.
A multipart/report message content, as defined in
RFC 3462.
Construct a multipart/report object with no content.
Constructs a MultipartReport object and its bodyparts from the
given DataSource.
Construct a multipart/report object with the specified plain
text and delivery status to be returned to the user.
Construct a multipart/report object with the specified plain
text, delivery status, and headers from the original message
to be returned to the user.
Construct a multipart/report object with the specified plain
text, delivery status, and original message to be returned to the user.
Get the rights allowed to the currently authenticated user.
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.
Updates the appropriate header fields of this message to be
consistent with the message's contents.
POP3 message can't be changed.
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.
Save the contents of this part in the specified file.
Save the contents of this part in the specified file.
Search this Folder for messages matching the specified
search criterion.
Search whole folder for messages matching the given term.
Search the given array of messages for those that match the
specified search criterion.
Search the folder for messages matching the given term.
The exception thrown when a Search expression could not be handled.
Constructs a SearchException with no detail message.
Constructs a SearchException with the specified detail message.
Search criteria are expressed as a tree of search-terms, forming
a parse-tree for the search expression.
Send the message to the specified addresses, ignoring any
recipients specified in the message itself.
This exception is thrown when the message cannot be sent.
Constructs a SendFailedException with no detail message.
Constructs a SendFailedException with the specified detail message.
Constructs a SendFailedException with the specified
Exception and detail message.
Constructs a SendFailedException with the specified string
and the specified address objects.
Send the Message to the specified list of addresses.
Send the Message to the specified list of addresses.
This class implements comparisons for the Message SentDate.
An abstract class that contains the functionality
common to messaging services, such as stores and transports.
The Session class represents a mail session and is not subclassed.
The Session object for this Message
The session from which this service was created.
Indicates whether to test for the presence or
absence of the specified Flag.
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.
Don't allow setting the calendar
Set the connection state of this service.
This method sets the body part's content to a Multipart object.
This method sets the Message's content to a Multipart object.
This method sets the given Multipart object as this message's
content.
A convenience method for setting this body part's content.
A convenience method for setting this Message's content.
A convenience method for setting this part's content.
Set the "Content-ID" header field of this body part.
Set the "Content-ID" header field of this Message.
Set the Content-Language header of this MimePart.
Set the "Content-Language" header of this MimePart.
Set the Content-Language header of this MimePart.
Set the "Content-MD5" header field of this body part.
Set the "Content-MD5" header field of this Message.
Set the Content-MD5 of this part.
Can't set any content for a MessageHeaders object.
This method provides the mechanism to set this body part's content.
This method provides the mechanism to set this part's content.
This method provides the mechanism to set this part's content.
Set the debug setting for this Session.
Set the stream to be used for debugging output for this session.
Set the delivery status associated with this multipart/report.
Set the "Content-Description" header field for this body part.
Set the "Content-Description" header field for this Message.
Set a description String for this part.
Set the "Content-Description" header field for this body part.
Set the "Content-Description" header field for this Message.
Set the "Content-Disposition" header field of this body part.
Set the "Content-Disposition" header field of this Message.
Set the disposition of this part.
Set the From address to appear in the SMTP envelope.
Sets the expunged flag for this Message.
Set the filename associated with this body part, if possible.
Set the filename associated with this part, if possible.
Set the filename associated with this part, if possible.
Set the specified flag on this message to the specified value.
Set the specified flags on this message to the specified value.
Set the flags for this message.
Set the specified flags on this message to the specified value.
Set the specified flags on the messages numbered from start
through end, both start and end inclusive.
Set the specified flags on the messages whose message numbers
are in the array.
Set the specified flags on the messages specified in the array.
Set the specified flags for the given array of messages.
Set the "From" attribute in this Message.
Set the RFC 822 "From" header field using the value of the
InternetAddress.getLocalAddress
method.
Set the "From" attribute in this Message.
Set the RFC 822 "From" header field.
Change the first header line that matches name
to have value, adding a new header if no existing header
matches.
Set the value for this header_name.
Set the value for this header_name.
Set the value for this header_name.
Set the value for this header_name.
Set the name of the local host, for use in the EHLO and HELO commands.
Set the extension string to use with the MAIL command.
Set the per-message fields in the delivery status notification.
Set the Message number for this Message.
Setup this Multipart object from the given MultipartDataSource.
Set the name of the data.
Add an exception to the end of the chain.
Set notification options to be used if the server supports
Delivery Status Notification
(
RFC 1891).
Don't allow setting the NumberFormat
Set the specified parameter.
Set the specified parameter.
Set the parent of this Multipart
to be the specified
Part
.
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).
Save a PasswordAuthentication for this (store or transport) URLName.
Set the preamble text to be included before the first
body part.
Set the default transport protocol to use for addresses of
the specified type.
Set the passed Provider to be the default implementation
for the protocol in Provider.protocol overriding any previous values.
Set the quotas for the quotaroot specified in the quota argument.
Set the quotas for the quota root specified in the quota argument.
Set the quotas for the quota root specified in the quota argument.
Set the recipient address.
Set the recipient addresses.
Set the specified recipient type to the given addresses.
Set the specified recipient type to the given addresses.
Set the addresses to which replies should be directed.
Set the RFC 822 "Reply-To" header field.
Set whether successful sends should be reported by throwing
an exception.
Set a resource limit for this quota root.
Set the original message to be returned as part of the
multipart/report.
Set return option to be used if server supports
Delivery Status Notification
(
RFC 1891).
Set the rights associated with this ACL entry.
Sets the SASL realm to be used for DIGEST-MD5 authentication.
Set the RFC 822 "Sender" header field.
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.
Set the sent date of this message.
Set the RFC 822 "Date" header field.
Set whether the STARTTLS command should be used.
Set the subject of this message.
Set the "Subject" header field.
Set the "Subject" header field.
Sets the submitter to be used for the RFC 2554 AUTH= value
in the MAIL FROM command.
Subscribe or unsubscribe this Folder.
Subscribe/Unsubscribe this folder.
Convenience method that sets the given String as this
part's content, with a MIME type of "text/plain".
Convenience method that sets the given String as this
part's content, with a MIME type of "text/plain".
Convenience method that sets the given String as this
part's content, with a MIME type of "text/plain".
Set the message to be presented to the user as just a text/plain
part containing the specified text.
A convenience method that sets the given String as this
part's content with a MIME type of "text/plain".
Convenience method that sets the given String as this part's
content, with a MIME type of "text/plain" and the specified
charset.
Convenience method that sets the given String as this part's
content, with a MIME type of "text/plain" and the specified
charset.
Convenience method that sets the given String as this part's
content, with a MIME type of "text/plain" and the specified
charset.
Convenience method that sets the given String as this part's
content, with a primary MIME type of "text" and the specified
MIME subtype.
Convenience method that sets the given String as this part's
content, with a primary MIME type of "text" and the specified
MIME subtype.
Convenience method that sets the given String as this part's
content, with a primary MIME type of "text" and the specified
MIME subtype.
Set the body part containing the text to be presented to the
user.
Set the URLName representing this service.
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).
Set whether the RSET command should be used instead of the
NOOP command in the @{link #isConnected isConnected} method.
A ByteArrayInputStream that implements the SharedInputStream interface,
allowing the underlying byte array to be shared between multiple readers.
Create a SharedByteArrayInputStream representing the entire
byte array.
Create a SharedByteArrayInputStream representing the part
of the byte array from offset
for length
bytes.
A SharedFileInputStream
is a
BufferedInputStream
that buffers
data from the file and supports the mark
and reset
methods.
Creates a SharedFileInputStream
for the file.
Creates a SharedFileInputStream
with the specified buffer size.
Creates a SharedFileInputStream
for the named file
Creates a SharedFileInputStream
with the specified buffer size.
An InputStream that is backed by data that can be shared by multiple
readers may implement this interface.
Return the number of parameters in this list.
This class implements comparisons for Message sizes.
See the general contract of the skip
method of InputStream
.
This exception is thrown when the message cannot be sent.
Constructs an SMTPAddressFailedException with the specified
address, return code, and error string.
This exception is chained off a SendFailedException when the
mail.smtp.reportsuccess
property is true.
Constructs an SMTPAddressSucceededException with the specified
address, return code, and error string.
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.
Constructs a new SMTPMessage with content initialized from the
source
MimeMessage.
Constructs an SMTPMessage by reading and parsing the data from the
specified MIME InputStream.
This exception is thrown when the message cannot be sent.
Constructs an SMTPSendFailedException with the specified
address, return code, and error string.
This class implements the Transport abstract class using SMTP
over SSL for message submission and transport.
This class implements the Transport abstract class using SMTP for
message submission and transport.
Constructor that takes a Session object and a URLName
that represents a specific SMTP server.
Constructor used by this class and by SMTPSSLTransport subclass.
Position within shared buffer that this stream starts at.
The file offset of the start of data in this subset of the file.
An abstract class that models a message store and its
access protocol, for storing and retrieving messages.
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.
This class models notifications from the Store connection.
This is the Listener interface for Store Notifications.
This class implements the match method for Strings.
This class implements comparisons for the Message Subject header.
Return true if the SMTP server supports the specified service
extension.