Frames | No Frames |
Constructors which throw type javax.mail.MessagingException | |
IMAPBodyPart.IMAPBodyPart(IMAPMessage message, IMAPMultipart parent, String section, InternetHeaders headers, int size, int lines) Called by the IMAPMessage. |
Methods which throw type javax.mail.MessagingException | |
void | Appends the specified set of messages to this folder. |
void | Closes the connection. |
void | IMAPFolder.close(boolean expunge) Closes this folder. |
boolean | IMAPFolder.create(int type) Create this folder. |
boolean | IMAPFolder.delete(boolean flag) Delete this folder. |
boolean | Indicates whether this folder exists. |
Message[] | Expunges this folder. |
void | IMAP fetch routine. |
Enumeration | |
Enumeration | |
BodyPart | IMAPMultipartDataSource.getBodyPart(int index) Returns the secified sub-part of the multipart. |
Object | Return the content as a java object. |
Object | |
InputStream | Returns the raw content stream. |
InputStream | Returns the raw content stream. |
DataHandler | Returns a data handler for this part's content. |
DataHandler | Returns a data handler for this message's content. |
Folder | Returns the root folder. |
Flags | |
Folder | IMAPFolder.getFolder(String name) Returns a subfolder with the specified name. |
Folder | Returns the folder with the specified name. |
IMAPFolder | IMAPFolder.getFolder(String name, int type, char delimiter) Returns a configured subfolder. |
Folder | Returns the folder whose name is the file part of the specified URLName. |
String[] | IMAPMessage.getHeader(String name) Returns the specified header field. |
String | IMAPMessage.getHeader(String name, String delimiter) Returns the specified header field. |
int | Returns the number of text lines in the content of this body part. |
Enumeration | IMAPMessage.getMatchingHeaderLines(String[] names) |
Enumeration | IMAPMessage.getMatchingHeaders(String[] names) |
Message | IMAPFolder.getMessage(int msgnum) Returns the specified message number from this folder. |
int | Returns the number of messages in this folder. |
int | Returns the number of new messages in this folder. |
Enumeration | IMAPMessage.getNonMatchingHeaderLines(String[] names) |
Enumeration | IMAPMessage.getNonMatchingHeaders(String[] names) |
Folder | Returns the parent folder of this folder. |
Date | Returns the date on which this message was received. |
char | Returns the path separator charcter. |
int | Returns the content size of this body part in bytes. |
int | Returns the type of this folder. |
boolean | Indicates whether this folder contains new messages. |
boolean | |
Folder[] | IMAPFolder.list(String pattern) Returns the subfolders for this folder. |
Folder[] | IMAPFolder.listSubscribed(String pattern) Returns the subscribed subfolders for this folder. |
void | IMAPFolder.open(int mode) Opens this folder. |
boolean | IMAPStore.protocolConnect(String host, int port, String username, String password) Connects to the IMAP server and authenticates with the specified
parameters. |
boolean | Rename this folder. |
Message[] | IMAP search function. |
Message[] | IMAP search function. |
void | Set the specified flags. |
void | IMAPMessage.writeTo(OutputStream msgStream) |
void | IMAPMessage.writeTo(OutputStream msgStream, String[] ignoreList) |
Methods which throw type javax.mail.MessagingException | |
void | Close this transport. |
boolean | SMTPTransport.protocolConnect(String host, int port, String username, String password) Connects to the SMTP server. |
void | Send the specified message to the server. |
Constructors which throw type javax.mail.MessagingException | |
Creates a Mbox message. | |
Creates a Mbox message. |
Methods which throw type javax.mail.MessagingException | |
void | Appends messages to this folder. |
void | MboxFolder.close(boolean expunge) Closes this folder. |
boolean | MboxFolder.create(int type) Creates this folder in the store. |
boolean | MboxFolder.delete(boolean recurse) Deletes this folder. |
boolean | Indicates whether this folder exists. |
Message[] | Expunges this folder. |
String | Returns the From_ line for the specified mbox message. |
Folder | Returns the default folder. |
Folder | MboxFolder.getFolder(String filename) Returns the subfolder of this folder with the specified name. |
Folder | Returns the folder with the specified filename. |
Folder | Returns the folder specified by the filename of the URLName. |
Message | MboxFolder.getMessage(int msgnum) Returns the specified message number from this folder. |
int | Returns the number of messages in this folder. |
Message[] | Returns the messages in this folder. |
Folder | Returns the parent folder. |
char | Returns the separator character. |
int | Returns the type of this folder. |
URLName | Return a URLName representing this folder. |
boolean | Indicates whether this folder contains new messages. |
Folder[] | Returns the subfolders of this folder. |
Folder[] | MboxFolder.list(String pattern) Returns the subfolders of this folder matching the specified pattern. |
void | MboxFolder.open(int mode) Opens this folder. |
boolean | MboxStore.protocolConnect(String host, int port, String username, String password) There isn't a protocol to implement, so this method just returns. |
boolean | Renames this folder. |
void | Set the specified flags (reflected in the Status header). |
void | Updates the status header from the current flags. |
Methods which throw type javax.mail.MessagingException | |
void | NNTP servers are read-only. |
void | Close the connection. |
void | Close the connection. |
void | NNTPFolder.close(boolean expunge) This method has no particular meaning in NNTP. |
boolean | NNTPFolder.create(int type) NNTP servers are read-only. |
boolean | NNTPFolder.delete(boolean recurse) NNTP servers are read-only. |
boolean | Indicates whether the newsgroup is present on the server. |
Message[] | NNTP servers are read-only. |
void | Prefetch. |
Enumeration | Get all header lines as an Enumeration of Strings. |
Enumeration | Return all the headers from this Message as an enumeration of Header
objects. |
InputStream | Produce the raw bytes of the content. |
Folder | Returns the folder representing the "root" namespace. |
Folder | NNTPFolder.getFolder(String name) This folder type does not contain other folders. |
Folder | Returns a folder by name. |
Folder | Returns the folder whose name corresponds to the file part
of the specified URL. |
String[] | NNTPMessage.getHeader(String name) Get all the headers for this header_name. |
String | NNTPMessage.getHeader(String name, String delimiter) Get all the headers for this header name, returned as a single String,
with headers separated by the delimiter. |
int | Return the number of lines for the content of this message. |
Enumeration | NNTPMessage.getMatchingHeaderLines(String[] names) Get matching header lines as an Enumeration of Strings. |
Enumeration | NNTPMessage.getMatchingHeaders(String[] names) Return matching headers from this Message as an Enumeration of Header
objects. |
Message | NNTPFolder.getMessage(int msgnum) Returns the article corresponding to the specified article
number. |
int | Returns the number of articles in this newsgroup. |
Message[] | Returns all articles in this group. |
Enumeration | NNTPMessage.getNonMatchingHeaderLines(String[] names) Get non-matching header lines as an Enumeration of Strings. |
Enumeration | NNTPMessage.getNonMatchingHeaders(String[] names) Return non-matching headers from this Message as an Enumeration of Header
objects. |
Folder | This implementation uses a flat namespace, so the parent of any
NNTPFolder is the NNTP root folder. |
char | If we move away from a flat namespace, this might be useful. |
int | Return the size of the content of this message in bytes. |
int | Returns the type of this folder. |
boolean | Indicates whether there are new articles in this newsgroup. |
Folder[] | NNTPFolder.list(String pattern) This folder type does not contain other folders. |
Folder[] | NNTPFolder.listSubscribed(String pattern) This folder type does not contain other folders. |
void | NNTPFolder.open(int mode) This method has no particular meaning in NNTP. |
boolean | NNTPStore.protocolConnect(String host, int port, String username, String password) Performs the protocol connection. |
boolean | NNTPTransport.protocolConnect(String host, int port, String username, String password) Performs the protocol connection. |
boolean | NNTP servers are read-only. |
void | Updates the appropriate header fields of this message to be consistent
with the message's contents. |
void | Post an article. |
void | Set the flags for this message. |
void | NNTPFolder.setSubscribed(boolean flag) Subscribes or unsubscribes to this newsgroup. |
Methods which throw type javax.mail.MessagingException | |
void | Appends messages to this folder. |
void | MaildirFolder.close(boolean expunge) Closes this folder. |
boolean | MaildirFolder.create(int type) Creates this folder in the store. |
boolean | MaildirFolder.delete(boolean recurse) Deletes this folder. |
boolean | Indicates whether this folder exists. |
Message[] | Expunges this folder. |
Enumeration | Get all header lines as an Enumeration of Strings. |
Enumeration | Return all the headers from this Message as an enumeration of Header
objects. |
InputStream | Produce the raw bytes of the content. |
DataHandler | Return a DataHandler for this Message's content. |
Folder | Returns the default folder. |
Folder | MaildirFolder.getFolder(String filename) Returns the subfolder of this folder with the specified name. |
Folder | MaildirStore.getFolder(String filename) Returns the folder with the specified filename. |
Folder | Returns the folder specified by the filename of the URLName. |
String[] | MaildirMessage.getHeader(String name) Get all the headers for this header_name. |
String | MaildirMessage.getHeader(String name, String delimiter) Get all the headers for this header name, returned as a single String,
with headers separated by the delimiter. |
Enumeration | MaildirMessage.getMatchingHeaderLines(String[] names) Get matching header lines as an Enumeration of Strings. |
Enumeration | MaildirMessage.getMatchingHeaders(String[] names) Return matching headers from this Message as an Enumeration of Header
objects. |
Message | MaildirFolder.getMessage(int msgnum) Returns the specified message number from this folder. |
int | Returns the number of messages in this folder. |
Message[] | Returns the messages in this folder. |
int | Returns the number of new messages in this folder. |
Enumeration | MaildirMessage.getNonMatchingHeaderLines(String[] names) Get non-matching header lines as an Enumeration of Strings. |
Enumeration | MaildirMessage.getNonMatchingHeaders(String[] names) Return non-matching headers from this Message as an Enumeration of Header
objects. |
Folder | Returns the parent folder. |
char | Returns the separator character. |
int | Returns the type of this folder. |
URLName | Return a URLName representing this folder. |
boolean | Indicates whether this folder contains new messages. |
Folder[] | Returns the subfolders of this folder. |
Folder[] | MaildirFolder.list(String pattern) Returns the subfolders of this folder matching the specified pattern. |
void | MaildirFolder.open(int mode) Opens this folder. |
boolean | MaildirStore.protocolConnect(String host, int port, String username, String password) There isn't a protocol to implement, so this method just returns. |
boolean | Renames this folder. |
void | Set the specified flags (reflected in the info field). |
Classes derived from javax.mail.MessagingException | |
class | This exception is thrown when the connect method on a Store
or Transport object fails due to an authentication failure
(e.g., bad user name or password). |
class | This exception is thrown when a method is invoked on a Messaging object
and the Folder that owns that object has died due to some reason. |
class | This exception is thrown by Folder methods, when those methods are
invoked on a nonexistent folder. |
class | The exception thrown when a write is attempted on a read-only attribute
of any Messaging object. |
class | The exception thrown when an invalid method is invoked on an expunged
Message. |
class | The exception thrown when a method is not supported by the
implementation. |
class | This exception is thrown when Session attempts to instantiate a
Provider that doesn't exist. |
class | This exception is thrown when an attempt is made to open a folder
read-write access when the folder is marked read-only. |
class | This exception is thrown when the message cannot be sent. |
class | 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. |
Methods which throw type javax.mail.MessagingException | |
void | Adds a Part to the multipart. |
void | Adds a BodyPart at position index. |
void | Add these addresses to the existing "From" attribute
|
void | Add this value to the existing values for this header name. |
void | Add this recipient address to the existing ones of the given type. |
void | Add these recipient addresses to the existing ones of the given type. |
void | Append given Messages to this folder. |
void | Close this service and terminate its connection. |
void | Close this Folder. |
void | A generic connect method that takes no parameters. |
void | Connect to the specified address. |
void | Similar to connect(host, user, password) except a specific port can be
specified. |
void | Copy the specified Messages from this Folder into another Folder. |
boolean | Create this folder on the Store. |
boolean | Delete this Folder. |
boolean | Indicates if this folder physically exists on the Store. |
Message[] | Expunge (permanently remove) messages marked DELETED. |
void | Prefetch the items specified in the FetchProfile for the given Messages. |
Enumeration | Return all the headers from this part as an Enumeration of Header
objects. |
Address[] | Get all the recipient addresses for the message. |
BodyPart | Multipart.getBodyPart(int index) Get the specified Part. |
BodyPart | MultipartDataSource.getBodyPart(int index) Get the specified Part. |
Object | Return the content as a Java object. |
String | Returns the Content-Type of the content of this part. |
int | Return the number of enclosed BodyPart objects. |
DataHandler | Return a DataHandler for the content within this part. |
Folder | Returns a Folder object that represents the 'root' of the default
namespace presented to the user by the Store. |
int | Get the number of deleted messages in this folder. |
String | Return a description String for this part. |
String | Return the disposition of this part. |
String | Get the filename associated with this part, if possible. |
Flags | Returns a Flags object containing the flags for this message. |
Folder | Return the Folder object corresponding to the given name. |
Folder | Return the Folder object corresponding to the given name. |
Folder | Get a closed Folder object for the given URLName. |
Folder | Return a closed Folder object, corresponding to the given URLName. |
Address[] | Returns the "From" attribute. |
String[] | Get all the headers for this header name. |
InputStream | Return an input stream for this part's "content". |
int | Return the number of lines in the content of this part. |
Enumeration | Part.getMatchingHeaders(String[] names) Return matching headers from this part as an Enumeration of Header
objects. |
Message | Folder.getMessage(int msgnum) Get the Message object corresponding to the given message number. |
Message | UIDFolder.getMessageByUID(long uid) Get the Message corresponding to the given UID. |
int | Get total number of messages in this Folder. |
Message[] | Get all Message objects from this Folder. |
Message[] | Folder.getMessages(int start, int end) Get the Message objects for message numbers ranging from
start through end , both start and end
inclusive. |
Message[] | Folder.getMessages(msgnums[] ) Get the Message objects for message numbers specified in the array. |
Message[] | UIDFolder.getMessagesByUID(long start, long end) Get the Messages specified by the given range. |
Message[] | UIDFolder.getMessagesByUID(long[] uids) Get the Messages specified by the given array of UIDs. |
int | Get the number of new messages in this Folder. |
Enumeration | Part.getNonMatchingHeaders(String[] names) Return non-matching headers from this envelope as an Enumeration of
Header objects. |
Folder | Returns the parent folder of this folder. |
Folder[] | Return a set of folders representing the personal namespaces for the
current user. |
Date | Get the date this message was received. |
Address[] | Get all the recipient addresses of the given type. |
Address[] | Get the addresses to which replies should be directed. |
Date | Get the date this message was sent. |
char | Return the delimiter character that separates this Folder's pathname
from the names of immediate subfolders. |
Folder[] | Return a set of folders representing the shared namespaces. |
int | Return the size of the content of this part in bytes. |
String | Get the subject of this message. |
int | Returns the type of this Folder, that is, whether this folder can hold
messages or subfolders or both. |
long | Get the UID for the specified message. |
long | Returns the UIDValidity value associated with this folder. |
URLName | Return a URLName representing this folder. |
int | Get the total number of unread messages in this Folder. |
Folder[] | Store.getUserNamespaces(String user) Return a set of folders representing the namespaces for user. |
boolean | Returns true if this Folder has new messages since the last time
this indication was reset. |
boolean | Part.isMimeType(String mimeType) Is this Part of the specified MIME type?
This method compares only the primaryType and subType. |
boolean | Check whether the flag specified in the flag argument is set in this
message. |
Folder[] | Convenience method that returns the list of folders under this Folder. |
Folder[] | Returns a list of Folders belonging to this Folder's namespace
that match the specified pattern. |
Folder[] | Convenience method that returns the list of subscribed folders
under this Folder. |
Folder[] | Folder.listSubscribed(String pattern) Returns a list of subscribed Folders belonging to
this Folder's namespace that match the specified pattern. |
boolean | Apply the specified Search criterion to this message. |
void | Open this Folder. |
boolean | Service.protocolConnect(String host, int port, String user, String password) The service implementation should override this method to perform the
actual protocol-specific connection attempt. |
void | Multipart.removeBodyPart(int index) Remove the part at specified location (starting from 0). |
boolean | Remove the specified part from the multipart message. |
void | Part.removeHeader(String name) Remove all headers with this name. |
boolean | Rename this Folder. |
Message | Get a new Message suitable for a reply to this message. |
void | 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. |
Message[] | Search this Folder for messages matching the specified search criterion. |
Message[] | Search the given array of messages for those that match the specified
search criterion. |
void | Send a message. |
void | Send the message to the specified addresses, ignoring any recipients
specified in the message itself. |
void | Send the Message to the specified list of addresses. |
void | Part.setContent(Object obj, String type) A convenience method for setting this part's content. |
void | This method sets the given Multipart object as this message's content. |
void | Part.setDataHandler(DataHandler dh) This method provides the mechanism to set this part's content. |
void | Part.setDescription(String description) Set a description String for this part. |
void | Part.setDisposition(String disposition) Set the disposition of this part. |
void | Part.setFileName(String filename) Set the filename associated with this part, if possible. |
void | Set the specified flag on this message to the specified value. |
void | Set the specified flags on the messages numbered from start
through end , both start and end inclusive. |
void | Set the specified flags on this message to the specified value. |
void | Set the specified flags on the messages specified in the array. |
void | Set the specified flags on the messages whose message numbers
are in the array. |
void | Set the "From" attribute in this Message. |
void | Set the "From" attribute in this Message. |
void | Set the value for this header name. |
void | Setup this Multipart object from the given MultipartDataSource. |
void | Set the recipient address. |
void | Set the recipient addresses. |
void | Set the addresses to which replies should be directed. |
void | Message.setSentDate(Date date) Set the sent date of this message. |
void | Message.setSubject(String subject) Set the subject of this message. |
void | Folder.setSubscribed(boolean flag) Subscribe or unsubscribe this Folder. |
void | A convenience method that sets the given String as this part's content
with a MIME type of "text/plain". |
void | Output an appropriately encoded bytestream to the given OutputStream. |
void | Output a bytestream for this Part. |
Methods which throw type javax.mail.MessagingException | |
void | You can't append messages to a POP3 folder. |
void | Closes the connection. |
void | POP3Folder.close(boolean expunge) Closes this folder. |
boolean | POP3Folder.create(int i) POP3 folders can't be created, deleted, or renamed. |
boolean | POP3Folder.delete(boolean flag) POP3 folders can't be created, deleted, or renamed. |
boolean | Indicates whether this folder exists. |
Message[] | Expunges this folder. |
void | Fetches headers and/or content for the specified messages. |
Enumeration | Causes the headers to be read. |
Enumeration | Causes the headers to be read. |
InputStream | Causes the content to be read in. |
DataHandler | Causes the content to be read in. |
Folder | Returns the root folder. |
Folder | POP3Folder.getFolder(String s) POP3 folders can't contain subfolders. |
Folder | Returns the folder with the specified name. |
Folder | Returns the folder whose name is the file part of the specified URLName. |
String[] | POP3Message.getHeader(String name) Causes the headers to be read. |
String | POP3Message.getHeader(String name, String delimiter) Causes the headers to be read. |
Enumeration | POP3Message.getMatchingHeaderLines(String[] names) Causes the headers to be read. |
Enumeration | POP3Message.getMatchingHeaders(String[] names) Causes the headers to be read. |
Message | POP3Folder.getMessage(int msgnum) Returns the specified message from this folder. |
int | Returns the number of messages in this folder. |
Enumeration | POP3Message.getNonMatchingHeaderLines(String[] names) Causes the headers to be read. |
Enumeration | POP3Message.getNonMatchingHeaders(String[] names) Causes the headers to be read. |
Folder | POP3 folders can't have parents. |
char | Returns the path separator charcter. |
int | Gets the size of the message. |
int | Returns the type of this folder. |
boolean | Indicates whether this folder contains new messages. |
Folder[] | Returns the subfolders for this folder. |
Folder[] | POP3Folder.list(String pattern) Returns the subfolders for this folder. |
void | POP3Folder.open(int mode) Opens this folder. |
boolean | POP3Store.protocolConnect(String host, int port, String username, String password) Connects to the POP3 server and authenticates with the specified
parameters. |
boolean | POP3 folders can't be created, deleted, or renamed. |
void | POP3Message.writeTo(OutputStream msgStream) Output the message as an RFC 822 format stream. |
void | POP3Message.writeTo(OutputStream msgStream, String[] ignoreList) Output the message as an RFC 822 format stream, without specified
headers. |
Classes derived from javax.mail.MessagingException | |
class | The exception thrown when a wrongly formatted address is encountered. |
class | The exception thrown due to an error in parsing RFC822 or MIME headers. |
Constructors which throw type javax.mail.MessagingException | |
InternetHeaders.InternetHeaders(InputStream is) Read and parse the given rfc822 message stream till the blank line
separating the header from the body. | |
MimeBodyPart.MimeBodyPart(InputStream is) Constructs a MimeBodyPart by reading and parsing the data from the
specified input stream. | |
Constructs a MimeBodyPart using the given header and content bytes. | |
Constructs a MimeMessage by reading and parsing the data from the
specified MIME InputStream. | |
Constructs a MimeMessage from the given InternetHeaders object and
content. | |
Constructs a MimeMessage by reading and parsing the data
from the specified MIME InputStream. | |
Constructs a new MimeMessage with content initialized from the source
MimeMessage. | |
MimeMultipart.MimeMultipart(DataSource ds) Constructs a MimeMultipart object and its bodyparts from the given
DataSource. |
Methods which throw type javax.mail.MessagingException | |
void | Add the specified addresses to the existing "From" field. |
void | MimeBodyPart.addHeader(String name, String value) Add this value to the existing values for this name. |
void | MimeMessage.addHeader(String name, String value) Add this value to the existing values for this header_name. |
void | MimeBodyPart.addHeaderLine(String line) Add a header line to this body part. |
void | MimeMessage.addHeaderLine(String line) Add a raw RFC 822 header-line. |
void | MimePart.addHeaderLine(String line) Add a raw RFC822 header-line. |
void | Add the given addresses to the specified recipient type. |
void | Add the given addresses to the specified recipient type. |
InternetHeaders | MimeMessage.createInternetHeaders(InputStream is) Create and return an InternetHeaders object that loads the headers
from the given InputStream. |
InternetHeaders | MimeMultipart.createInternetHeaders(InputStream is) Create and return an InternetHeaders object that loads the headers
from the given InputStream. |
MimeBodyPart | MimeMultipart.createMimeBodyPart(InputStream is) Create and return a MimeBodyPart object to represent a body part parsed
from the InputStream. |
MimeBodyPart | Create and return a MimeBodyPart object to represent a body part parsed
from the InputStream. |
InputStream | MimeUtility.decode(InputStream is, String encoding) Decode the given input stream. |
OutputStream | MimeUtility.encode(OutputStream os, String encoding) Wrap an encoder around the given output stream. |
OutputStream | MimeUtility.encode(OutputStream os, String encoding, String filename) Wrap an encoder around the given output stream. |
Enumeration | Get all header lines as an Enumeration of Strings. |
Enumeration | Get all header lines as an Enumeration of Strings. |
Enumeration | Get all header lines as an Enumeration of Strings. |
Enumeration | Return all the headers from this Message as an Enumeration of Header
objects. |
Enumeration | Return all the headers from this Message as an enumeration of Header
objects. |
Address[] | Get all the recipient addresses for the message. |
BodyPart | MimeMultipart.getBodyPart(String CID) Get the MimeBodyPart referred to by the given ContentID (CID). |
BodyPart | MimeMultipart.getBodyPart(int index) Get the specified BodyPart. |
Object | Return the content as a java object. |
Object | Return the content as a Java object. |
String | Returns the value of the "Content-ID" header field. |
String | Returns the value of the "Content-ID" header field. |
String | Get the Content-ID of this part. |
String[] | Get the languages specified in the Content-Language header of this
MimePart. |
String[] | Get the languages specified in the "Content-Language" header field
of this message. |
String[] | Get the language tags specified in the Content-Language header of this
MimePart. |
String | Returns the value of the "Content-MD5" header field. |
String | Return the value of the "Content-MD5" header field. |
String | Get the Content-MD5 digest of this part. |
InputStream | Produce the raw bytes of the content. |
InputStream | Produce the raw bytes of the content. |
String | Returns the value of the RFC 822 "Content-Type" header field. |
String | Returns the value of the RFC 822 "Content-Type" header field. |
int | * Return the number of enclosed BodyPart objects. |
DataHandler | Return a DataHandler for this body part's content. |
DataHandler | Return a DataHandler for this Message's content. |
String | Returns the "Content-Description" header field of this body part. |
String | Returns the "Content-Description" header field of this Message. |
String | Returns the value of the "Content-Disposition" header field. |
String | Returns the value of the "Content-Disposition" header field. |
String | Returns the content transfer encoding from the
"Content-Transfer-Encoding" header field. |
String | Returns the content transfer encoding from the "Content-Transfer-Encoding"
header field. |
String | Get the transfer encoding of this part. |
String | Get the filename associated with this body part. |
String | Get the filename associated with this Message. |
Flags | Return a Flags object containing the flags for this message. |
Address[] | Returns the value of the RFC 822 "From" header fields. |
String[] | MimeBodyPart.getHeader(String name) Get all the headers for this header_name. |
String[] | MimeMessage.getHeader(String name) Get all the headers for this header_name. |
String | MimeBodyPart.getHeader(String name, String delimiter) Get all the headers for this header name, returned as a single String,
with headers separated by the delimiter. |
String | MimeMessage.getHeader(String name, String delimiter) Get all the headers for this header name, returned as a single String,
with headers separated by the delimiter. |
String | Get the values of all header fields available for this header,
returned as a single String, with the values separated by the delimiter. |
InputStream | Return a decoded input stream for this body part's "content". |
InputStream | Return a decoded input stream for this Message's "content". |
int | Return the number of lines for the content of this Part. |
int | Return the number of lines for the content of this message. |
Enumeration | MimeBodyPart.getMatchingHeaderLines(String[] names) Get matching header lines as an Enumeration of Strings. |
Enumeration | MimeMessage.getMatchingHeaderLines(String[] names) Get matching header lines as an Enumeration of Strings. |
Enumeration | MimePart.getMatchingHeaderLines(String[] names) Get matching header lines as an Enumeration of Strings. |
Enumeration | MimeBodyPart.getMatchingHeaders(String[] names) Return matching headers from this Message as an Enumeration of Header
objects. |
Enumeration | MimeMessage.getMatchingHeaders(String[] names) Return matching headers from this Message as an Enumeration of Header
objects. |
String | Returns the value of the "Message-ID" header field. |
Enumeration | MimeBodyPart.getNonMatchingHeaderLines(String[] names) Get non-matching header lines as an Enumeration of Strings. |
Enumeration | MimeMessage.getNonMatchingHeaderLines(String[] names) Get non-matching header lines as an Enumeration of Strings. |
Enumeration | MimePart.getNonMatchingHeaderLines(String[] names) Get non-matching header lines as an Enumeration of Strings. |
Enumeration | MimeBodyPart.getNonMatchingHeaders(String[] names) Return non-matching headers from this Message as an Enumeration of Header
objects. |
Enumeration | MimeMessage.getNonMatchingHeaders(String[] names) Return non-matching headers from this Message as an Enumeration of Header
objects. |
InputStream | Return an InputStream to the raw data with any Content-Transfer-Encoding
intact. |
InputStream | Return an InputStream to the raw data with any Content-Transfer-Encoding
intact. |
Date | Returns the Date on this message was received. |
Address[] | Returns the recipients specified by the type. |
Address[] | Return the value of the RFC 822 "Reply-To" header field. |
Address | Returns the value of the RFC 822 "Sender" header field. |
Date | Returns the value of the RFC 822 "Date" field. |
int | Return the size of the content of this body part in bytes. |
int | Return the size of the content of this message in bytes. |
String | Returns the value of the "Subject" header field. |
boolean | MimeBodyPart.isMimeType(String mimeType) Is this Part of the specified MIME type?
This method compares only the primaryType and subType. |
boolean | MimeMessage.isMimeType(String mimeType) Is this Part of the specified MIME type? This method compares only the
primaryType and subType. |
boolean | Check whether the flag specified in the flag argument is set in this
message. |
void | InternetHeaders.load(InputStream is) Read and parse the given rfc822 message stream till the blank line
separating the header from the body. |
void | Parse the InputStream from our DataSource, constructing the appropriate
MimeBodyParts. |
void | MimeMessage.parse(InputStream is) Parse the InputStream setting the headers and content fields
appropriately. |
void | MimeBodyPart.removeHeader(String name) Remove all headers with this name. |
void | MimeMessage.removeHeader(String name) Remove all headers with this name. |
Message | MimeMessage.reply(boolean replyToAll) Get a new Message suitable for a reply to this message. |
void | Updates the appropriate header fields of this message to be consistent
with the message's contents. |
void | MimeBodyPart.setContent(Object o, String type) A convenience method for setting this body part's content. |
void | MimeMessage.setContent(Object o, String type) A convenience method for setting this Message's content. |
void | This method sets the body part's content to a Multipart object. |
void | This method sets the Message's content to a Multipart object. |
void | MimeBodyPart.setContentID(String cid) Set the "Content-ID" header field of this body part. |
void | MimeMessage.setContentID(String cid) Set the "Content-ID" header field of this Message. |
void | MimeBodyPart.setContentLanguage(String[] languages) Set the Content-Language header of this MimePart. |
void | MimeMessage.setContentLanguage(String[] languages) Set the "Content-Language" header of this MimePart. |
void | MimePart.setContentLanguage(String[] languages) Set the Content-Language header of this MimePart. |
void | MimeBodyPart.setContentMD5(String md5) Set the "Content-MD5" header field of this body part. |
void | MimeMessage.setContentMD5(String md5) Set the "Content-MD5" header field of this Message. |
void | MimePart.setContentMD5(String md5) Set the Content-MD5 of this part. |
void | MimeBodyPart.setDataHandler(DataHandler dh) This method provides the mechanism to set this body part's content. |
void | MimeMessage.setDataHandler(DataHandler datahandler) This method provides the mechanism to set this part's content. |
void | MimeBodyPart.setDescription(String description) Set the "Content-Description" header field for this body part. |
void | MimeMessage.setDescription(String description) Set the "Content-Description" header field for this Message. |
void | MimeBodyPart.setDescription(String description, String charset) Set the "Content-Description" header field for this body part. |
void | MimeMessage.setDescription(String description, String charset) Set the "Content-Description" header field for this Message. |
void | MimeBodyPart.setDisposition(String disposition) Set the "Content-Disposition" header field of this body part. |
void | MimeMessage.setDisposition(String disposition) Set the "Content-Disposition" header field of this Message. |
void | MimeBodyPart.setFileName(String filename) Set the filename associated with this body part, if possible. |
void | MimeMessage.setFileName(String filename) Set the filename associated with this part, if possible. |
void | Set the flags for this message. |
void | Set the RFC 822 "From" header field using the value of the
InternetAddress.getLocalAddress method. |
void | Set the RFC 822 "From" header field. |
void | MimeBodyPart.setHeader(String name, String value) Add this value to the existing values for this name. |
void | MimeMessage.setHeader(String name, String value) Set the value for this header_name. |
void | Set the specified recipient type to the given addresses. |
void | Set the specified recipient type to the given addresses. |
void | Set the RFC 822 "Reply-To" header field. |
void | Set the RFC 822 "Sender header field. |
void | MimeMessage.setSentDate(Date date) Set the RFC 822 "Date" header field. |
void | MimeMultipart.setSubType(String subtype) Set the subtype. |
void | MimeMessage.setSubject(String subject) Set the "Subject" header field. |
void | MimeMessage.setSubject(String subject, String charset) Set the "Subject" header field. |
void | MimeBodyPart.setText(String text) Convenience method that sets the given String as this part's content,
with a MIME type of "text/plain". |
void | MimeMessage.setText(String text) Convenience method that sets the given String as this part's content,
with a MIME type of "text/plain". |
void | Convenience method that sets the given String as this part's content, with
a MIME type of "text/plain". |
void | MimeBodyPart.setText(String text, String charset) Convenience method that sets the given String as this part's content,
with a MIME type of "text/plain" and the specified charset. |
void | MimeMessage.setText(String text, String charset) Convenience method that sets the given String as this part's content,
with a MIME type of "text/plain" and the specified charset. |
void | Convenience method that sets the given String as this part's content, with
a MIME type of "text/plain" and the specified charset. |
void | Examine the content of this body part and update the appropriate MIME
headers. |
void | Called by the saveChanges method to actually update
the MIME headers. |
void | Update headers. |
void | MimeBodyPart.writeTo(OutputStream os) Output the body part as an RFC 822 format stream. |
void | MimeMessage.writeTo(OutputStream os) Output the message as an RFC 822 format stream. |
void | MimeMultipart.writeTo(OutputStream os) Iterates through all the parts and outputs each Mime part
separated by a boundary. |
void | MimeMessage.writeTo(OutputStream os, String[] ignoreList) Output the message as an RFC 822 format stream, without specified
headers. |
Classes derived from javax.mail.MessagingException | |
class | The exception thrown when a Search expression could not be handled. |