Uses of Class
javax.mail.MessagingException

Packages that use MessagingException
gnu.mail.providers.imap This is a provider for the Internet Message Access Protocol, version 4rev1 (IMAP4rev1), as detailed in RFC 3501. 
gnu.mail.providers.maildir This is a provider for Dan Bernstein's Maildir mailbox format, used primarily by the qmail MTA, and also by some MUAs such as mutt
gnu.mail.providers.mbox This is a provider for the UNIX mbox mailbox file format, used by many 3rd-party MUAs including Netscape, Mozilla, mutt, elm, and pine. 
gnu.mail.providers.nntp This is a provider for the Network News Transfer Protocol (NNTP), as detailed in RFC 977. 
gnu.mail.providers.pop3 This is a provider for the Internet Post Office Protocol, version 3 (POP3), as detailed in RFC 1939. 
gnu.mail.providers.smtp A provider for the Simple Mail Transfer Protocol (SMTP), as detailed in RFC 2821, including support for ESMTP service extensions. 
javax.mail Classes modelling a mail system. 
javax.mail.internet Classes modelling Internet mail systems. 
javax.mail.search Search expressions for executing searches on the messages in a folder. 
 

Uses of MessagingException in gnu.mail.providers.imap
 

Methods in gnu.mail.providers.imap that throw MessagingException
 int IMAPFolder.getType()
          Returns the type of this folder.
 boolean IMAPFolder.exists()
          Indicates whether this folder exists.
 boolean IMAPFolder.hasNewMessages()
          Indicates whether this folder contains new messages.
 void IMAPFolder.open(int mode)
          Opens this folder.
 boolean IMAPFolder.create(int type)
          Create this folder.
 boolean IMAPFolder.delete(boolean flag)
          Delete this folder.
 boolean IMAPFolder.renameTo(Folder folder)
          Rename this folder.
 void IMAPFolder.close(boolean expunge)
          Closes this folder.
 Message[] IMAPFolder.expunge()
          Expunges this folder.
 int IMAPFolder.getMessageCount()
          Returns the number of messages in this folder.
 int IMAPFolder.getNewMessageCount()
          Returns the number of new messages in this folder.
 Message IMAPFolder.getMessage(int msgnum)
          Returns the specified message number from this folder.
 void IMAPFolder.appendMessages(Message[] messages)
          Appends the specified set of messages to this folder.
 void IMAPFolder.fetch(Message[] messages, FetchProfile fp)
          IMAP fetch routine.
 Message[] IMAPFolder.search(SearchTerm term)
          IMAP search function.
 Message[] IMAPFolder.search(SearchTerm term, Message[] msgs)
          IMAP search function.
 void IMAPFolder.setSubscribed(boolean flag)
           
 Folder[] IMAPFolder.list(java.lang.String pattern)
          Returns the subfolders for this folder.
 Folder[] IMAPFolder.listSubscribed(java.lang.String pattern)
          Returns the subscribed subfolders for this folder.
 Folder IMAPFolder.getParent()
          Returns the parent folder of this folder.
 Folder IMAPFolder.getFolder(java.lang.String name)
          Returns a subfolder with the specified name.
 char IMAPFolder.getSeparator()
          Returns the path separator charcter.
 long IMAPFolder.getUIDValidity()
           
 Message IMAPFolder.getMessageByUID(long uid)
           
 Message[] IMAPFolder.getMessagesByUID(long start, long end)
           
 Message[] IMAPFolder.getMessagesByUID(long[] uids)
           
 long IMAPFolder.getUID(Message message)
           
 org.jpackage.mail.inet.imap.Quota[] IMAPFolder.getQuota()
          Returns the quotas for this folder.
 int IMAPFolder.getUnreadMessageCount()
          Returns the number of unread messages in this folder.
 int IMAPFolder.getDeletedMessageCount()
          Returns the number of deleted messages in this folder.
 int IMAPFolder.getMessageCountByCriteria(java.lang.String criteria)
          Convenience method for returning the number of messages in the current folder that match the single criteria.
 BodyPart IMAPMultipartDataSource.getBodyPart(int index)
          Returns the secified sub-part of the multipart.
 java.util.Date IMAPMessage.getReceivedDate()
          Returns the date on which this message was received.
 javax.activation.DataHandler IMAPMessage.getDataHandler()
          Returns a data handler for this message's content.
 java.lang.Object IMAPMessage.getContent()
           
protected  java.io.InputStream IMAPMessage.getContentStream()
          Returns the raw content stream.
 java.lang.String[] IMAPMessage.getHeader(java.lang.String name)
          Returns the specified header field.
 java.lang.String IMAPMessage.getHeader(java.lang.String name, java.lang.String delimiter)
          Returns the specified header field.
 java.util.Enumeration IMAPMessage.getAllHeaders()
           
 java.util.Enumeration IMAPMessage.getAllHeaderLines()
           
 java.util.Enumeration IMAPMessage.getMatchingHeaders(java.lang.String[] names)
           
 java.util.Enumeration IMAPMessage.getMatchingHeaderLines(java.lang.String[] names)
           
 java.util.Enumeration IMAPMessage.getNonMatchingHeaders(java.lang.String[] names)
           
 java.util.Enumeration IMAPMessage.getNonMatchingHeaderLines(java.lang.String[] names)
           
 Flags IMAPMessage.getFlags()
           
 boolean IMAPMessage.isSet(Flags.Flag flag)
           
 void IMAPMessage.setFlags(Flags flag, boolean set)
          Set the specified flags.
 void IMAPMessage.writeTo(java.io.OutputStream msgStream)
           
 void IMAPMessage.writeTo(java.io.OutputStream msgStream, java.lang.String[] ignoreList)
           
protected  boolean IMAPStore.protocolConnect(java.lang.String host, int port, java.lang.String username, java.lang.String password)
          Connects to the IMAP server and authenticates with the specified parameters.
protected  javax.net.ssl.TrustManager IMAPStore.getTrustManager()
          Returns a trust manager used for TLS negotiation.
 void IMAPStore.close()
          Closes the connection.
 Folder IMAPStore.getDefaultFolder()
          Returns the root folder.
 Folder IMAPStore.getFolder(java.lang.String name)
          Returns the folder with the specified name.
 Folder IMAPStore.getFolder(URLName urlname)
          Returns the folder whose name is the file part of the specified URLName.
 Folder[] IMAPStore.getPersonalNamespaces()
          Returns a list of folders representing personal namespaces.
 Folder[] IMAPStore.getUserNamespaces()
          Returns a list of folders representing other users' namespaces.
 Folder[] IMAPStore.getSharedNamespaces()
          Returns a list of folders representing shared namespaces.
 org.jpackage.mail.inet.imap.Quota IMAPStore.getQuota(java.lang.String root)
          Returns the quota for the specified quota root.
 void IMAPStore.setQuota(java.lang.String root, org.jpackage.mail.inet.imap.Quota.Resource[] resources)
          Sets the quota resource set for the specified quota root.
 int IMAPBodyPart.getSize()
          Returns the content size of this body part in bytes.
 int IMAPBodyPart.getLineCount()
          Returns the number of text lines in the content of this body part.
 javax.activation.DataHandler IMAPBodyPart.getDataHandler()
          Returns a data handler for this part's content.
 java.lang.Object IMAPBodyPart.getContent()
           
protected  java.io.InputStream IMAPBodyPart.getContentStream()
          Returns the raw content stream.
 

Constructors in gnu.mail.providers.imap that throw MessagingException
IMAPBodyPart(IMAPMessage message, IMAPMultipart parent, java.lang.String section, InternetHeaders headers, int size, int lines)
          Called by the IMAPMessage.
 

Uses of MessagingException in gnu.mail.providers.maildir
 

Methods in gnu.mail.providers.maildir that throw MessagingException
 void MaildirMessage.setFlags(Flags flag, boolean set)
          Set the specified flags(reflected in the info field).
 java.lang.String[] MaildirMessage.getHeader(java.lang.String name)
           
 java.lang.String MaildirMessage.getHeader(java.lang.String name, java.lang.String delimiter)
           
 java.util.Enumeration MaildirMessage.getAllHeaders()
           
 java.util.Enumeration MaildirMessage.getAllHeaderLines()
           
 java.util.Enumeration MaildirMessage.getMatchingHeaders(java.lang.String[] names)
           
 java.util.Enumeration MaildirMessage.getMatchingHeaderLines(java.lang.String[] names)
           
 java.util.Enumeration MaildirMessage.getNonMatchingHeaders(java.lang.String[] names)
           
 java.util.Enumeration MaildirMessage.getNonMatchingHeaderLines(java.lang.String[] names)
           
 javax.activation.DataHandler MaildirMessage.getDataHandler()
           
protected  java.io.InputStream MaildirMessage.getContentStream()
           
 URLName MaildirFolder.getURLName()
          Return a URLName representing this folder.
 int MaildirFolder.getType()
          Returns the type of this folder.
 boolean MaildirFolder.exists()
          Indicates whether this folder exists.
 boolean MaildirFolder.hasNewMessages()
          Indicates whether this folder contains new messages.
 void MaildirFolder.open(int mode)
          Opens this folder.
 void MaildirFolder.close(boolean expunge)
          Closes this folder.
 Message[] MaildirFolder.expunge()
          Expunges this folder.
 int MaildirFolder.getMessageCount()
          Returns the number of messages in this folder.
 int MaildirFolder.getNewMessageCount()
          Returns the number of new messages in this folder.
 Message MaildirFolder.getMessage(int msgnum)
          Returns the specified message number from this folder.
 Message[] MaildirFolder.getMessages()
          Returns the messages in this folder.
 void MaildirFolder.appendMessages(Message[] m)
          Appends messages to this folder.
 Folder MaildirFolder.getParent()
          Returns the parent folder.
 Folder[] MaildirFolder.list()
          Returns the subfolders of this folder.
 Folder[] MaildirFolder.list(java.lang.String pattern)
          Returns the subfolders of this folder matching the specified pattern.
 char MaildirFolder.getSeparator()
          Returns the separator character.
 boolean MaildirFolder.create(int type)
          Creates this folder in the store.
 boolean MaildirFolder.delete(boolean recurse)
          Deletes this folder.
 boolean MaildirFolder.renameTo(Folder folder)
          Renames this folder.
 Folder MaildirFolder.getFolder(java.lang.String filename)
          Returns the subfolder of this folder with the specified name.
protected  boolean MaildirStore.protocolConnect(java.lang.String host, int port, java.lang.String username, java.lang.String password)
          There isn't a protocol to implement, so this method just returns.
 Folder MaildirStore.getDefaultFolder()
          Returns the default folder.
 Folder MaildirStore.getFolder(java.lang.String filename)
          Returns the folder with the specified filename.
 Folder MaildirStore.getFolder(URLName urlname)
          Returns the folder specified by the filename of the URLName.
 

Uses of MessagingException in gnu.mail.providers.mbox
 

Methods in gnu.mail.providers.mbox that throw MessagingException
 void MboxMessage.setFlags(Flags flag, boolean set)
          Set the specified flags(reflected in the Status header).
protected  void MboxMessage.updateHeaders()
          Updates the status header from the current flags.
 URLName MboxFolder.getURLName()
          Return a URLName representing this folder.
 int MboxFolder.getType()
          Returns the type of this folder.
 boolean MboxFolder.exists()
          Indicates whether this folder exists.
 boolean MboxFolder.hasNewMessages()
          Indicates whether this folder contains new messages.
 void MboxFolder.open(int mode)
          Opens this folder.
 void MboxFolder.close(boolean expunge)
          Closes this folder.
protected  java.lang.String MboxFolder.fromLine(MboxMessage message)
          Returns the From_ line for the specified mbox message.
 Message[] MboxFolder.expunge()
          Expunges this folder.
 int MboxFolder.getMessageCount()
          Returns the number of messages in this folder.
 Message MboxFolder.getMessage(int msgnum)
          Returns the specified message number from this folder.
 Message[] MboxFolder.getMessages()
          Returns the messages in this folder.
 void MboxFolder.appendMessages(Message[] m)
          Appends messages to this folder.
 Folder MboxFolder.getParent()
          Returns the parent folder.
 Folder[] MboxFolder.list()
          Returns the subfolders of this folder.
 Folder[] MboxFolder.list(java.lang.String pattern)
          Returns the subfolders of this folder matching the specified pattern.
 char MboxFolder.getSeparator()
          Returns the separator character.
 boolean MboxFolder.create(int type)
          Creates this folder in the store.
 boolean MboxFolder.delete(boolean recurse)
          Deletes this folder.
 boolean MboxFolder.renameTo(Folder folder)
          Renames this folder.
 Folder MboxFolder.getFolder(java.lang.String name)
          Returns the subfolder of this folder with the specified name.
protected  boolean MboxStore.protocolConnect(java.lang.String host, int port, java.lang.String username, java.lang.String password)
          There isn't a protocol to implement, so this method just returns.
 Folder MboxStore.getDefaultFolder()
          Returns the default folder.
 Folder MboxStore.getFolder(java.lang.String name)
          Returns the folder with the specified filename.
 Folder MboxStore.getFolder(URLName urlname)
          Returns the folder specified by the filename of the URLName.
 

Constructors in gnu.mail.providers.mbox that throw MessagingException
MboxMessage(MboxFolder folder, java.lang.String fromLine, java.io.InputStream in, int msgnum)
          Creates a Mbox message.
MboxMessage(MboxFolder folder, MimeMessage message, int msgnum)
          Creates a Mbox message.
 

Uses of MessagingException in gnu.mail.providers.nntp
 

Methods in gnu.mail.providers.nntp that throw MessagingException
protected  boolean NNTPStore.protocolConnect(java.lang.String host, int port, java.lang.String username, java.lang.String password)
          Performs the protocol connection.
 void NNTPStore.close()
          Close the connection.
 Folder NNTPStore.getDefaultFolder()
          Returns the folder representing the "root" namespace.
 Folder NNTPStore.getFolder(java.lang.String name)
          Returns a folder by name.
 Folder NNTPStore.getFolder(URLName url)
          Returns the folder whose name corresponds to the file part of the specified URL.
protected  boolean NNTPTransport.protocolConnect(java.lang.String host, int port, java.lang.String username, java.lang.String password)
          Performs the protocol connection.
 void NNTPTransport.close()
          Close the connection.
 void NNTPTransport.sendMessage(Message message, Address[] addresses)
          Post an article.
 java.lang.String[] NNTPMessage.getHeader(java.lang.String name)
           
 java.lang.String NNTPMessage.getHeader(java.lang.String name, java.lang.String delimiter)
           
 java.util.Enumeration NNTPMessage.getAllHeaders()
           
 java.util.Enumeration NNTPMessage.getMatchingHeaders(java.lang.String[] names)
           
 java.util.Enumeration NNTPMessage.getNonMatchingHeaders(java.lang.String[] names)
           
 java.util.Enumeration NNTPMessage.getAllHeaderLines()
           
 java.util.Enumeration NNTPMessage.getMatchingHeaderLines(java.lang.String[] names)
           
 java.util.Enumeration NNTPMessage.getNonMatchingHeaderLines(java.lang.String[] names)
           
 int NNTPMessage.getSize()
           
 int NNTPMessage.getLineCount()
           
 java.io.InputStream NNTPMessage.getContentStream()
           
 void NNTPMessage.saveChanges()
           
 void NNTPMessage.setFlags(Flags flag, boolean set)
           
 Folder NNTPFolder.getParent()
          This implementation uses a flat namespace, so the parent of any NNTPFolder is the NNTP root folder.
 int NNTPFolder.getType()
          Returns the type of this folder.
 void NNTPFolder.open(int mode)
          This method has no particular meaning in NNTP.
 void NNTPFolder.close(boolean expunge)
          This method has no particular meaning in NNTP.
 boolean NNTPFolder.exists()
          Indicates whether the newsgroup is present on the server.
 boolean NNTPFolder.hasNewMessages()
          Indicates whether there are new articles in this newsgroup.
 int NNTPFolder.getMessageCount()
          Returns the number of articles in this newsgroup.
 Message NNTPFolder.getMessage(int msgnum)
          Returns the article corresponding to the specified article number.
 Message[] NNTPFolder.getMessages()
          Returns all articles in this group.
 void NNTPFolder.fetch(Message[] msgs, FetchProfile fp)
          Prefetch.
 void NNTPFolder.setSubscribed(boolean flag)
          Subscribes or unsubscribes to this newsgroup.
 Folder NNTPFolder.getFolder(java.lang.String name)
          This folder type does not contain other folders.
 Folder[] NNTPFolder.list(java.lang.String pattern)
          This folder type does not contain other folders.
 Folder[] NNTPFolder.listSubscribed(java.lang.String pattern)
          This folder type does not contain other folders.
 char NNTPFolder.getSeparator()
          If we move away from a flat namespace, this might be useful.
 boolean NNTPFolder.create(int type)
          NNTP servers are read-only.
 boolean NNTPFolder.delete(boolean recurse)
          NNTP servers are read-only.
 boolean NNTPFolder.renameTo(Folder folder)
          NNTP servers are read-only.
 void NNTPFolder.appendMessages(Message[] messages)
          NNTP servers are read-only.
 Message[] NNTPFolder.expunge()
          NNTP servers are read-only.
 

Uses of MessagingException in gnu.mail.providers.pop3
 

Methods in gnu.mail.providers.pop3 that throw MessagingException
protected  boolean POP3Store.protocolConnect(java.lang.String host, int port, java.lang.String username, java.lang.String password)
          Connects to the POP3 server and authenticates with the specified parameters.
protected  javax.net.ssl.TrustManager POP3Store.getTrustManager()
          Returns a trust manager used for TLS negotiation.
 void POP3Store.close()
          Closes the connection.
 Folder POP3Store.getDefaultFolder()
          Returns the root folder.
 Folder POP3Store.getFolder(java.lang.String s)
          Returns the folder with the specified name.
 Folder POP3Store.getFolder(URLName urlname)
          Returns the folder whose name is the file part of the specified URLName.
 javax.activation.DataHandler POP3Message.getDataHandler()
          Causes the content to be read in.
protected  java.io.InputStream POP3Message.getContentStream()
          Causes the content to be read in.
 int POP3Message.getSize()
          Gets the size of the message.
 java.lang.String[] POP3Message.getHeader(java.lang.String name)
          Causes the headers to be read.
 java.lang.String POP3Message.getHeader(java.lang.String name, java.lang.String delimiter)
          Causes the headers to be read.
 java.util.Enumeration POP3Message.getAllHeaders()
          Causes the headers to be read.
 java.util.Enumeration POP3Message.getAllHeaderLines()
          Causes the headers to be read.
 java.util.Enumeration POP3Message.getMatchingHeaders(java.lang.String[] names)
          Causes the headers to be read.
 java.util.Enumeration POP3Message.getMatchingHeaderLines(java.lang.String[] names)
          Causes the headers to be read.
 java.util.Enumeration POP3Message.getNonMatchingHeaders(java.lang.String[] names)
          Causes the headers to be read.
 java.util.Enumeration POP3Message.getNonMatchingHeaderLines(java.lang.String[] names)
          Causes the headers to be read.
 void POP3Message.writeTo(java.io.OutputStream msgStream)
           
 void POP3Message.writeTo(java.io.OutputStream msgStream, java.lang.String[] ignoreList)
           
 java.lang.String POP3Message.getUID()
          Returns the unique ID for this message.
 void POP3Message.setFlags(Flags flags, boolean set)
          Set flags (but only DELETED is supported) add or remove the message from the folder deleted message list.
 int POP3Folder.getType()
          Returns the type of this folder.
 boolean POP3Folder.exists()
          Indicates whether this folder exists.
 boolean POP3Folder.hasNewMessages()
          Indicates whether this folder contains new messages.
 void POP3Folder.open(int mode)
          Opens this folder.
 void POP3Folder.close(boolean expunge)
          Closes this folder.
 Message[] POP3Folder.expunge()
          Expunges this folder.
 int POP3Folder.getMessageCount()
          Returns the number of messages in this folder.
 Message POP3Folder.getMessage(int msgnum)
          Returns the specified message from this folder.
 void POP3Folder.appendMessages(Message[] messages)
          You can't append messages to a POP3 folder.
 void POP3Folder.fetch(Message[] messages, FetchProfile fp)
          Fetches headers and/or content for the specified messages.
 Folder[] POP3Folder.list()
          Returns the subfolders for this folder.
 Folder[] POP3Folder.list(java.lang.String pattern)
          Returns the subfolders for this folder.
 Folder POP3Folder.getParent()
          POP3 folders can't have parents.
 Folder POP3Folder.getFolder(java.lang.String s)
          POP3 folders can't contain subfolders.
 char POP3Folder.getSeparator()
          Returns the path separator charcter.
 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 POP3Folder.renameTo(Folder folder)
          POP3 folders can't be created, deleted, or renamed.
 java.lang.String POP3Folder.getUID(Message message)
          Returns the unique ID for the given message, or null if not available.
 

Uses of MessagingException in gnu.mail.providers.smtp
 

Methods in gnu.mail.providers.smtp that throw MessagingException
protected  boolean SMTPTransport.protocolConnect(java.lang.String host, int port, java.lang.String username, java.lang.String password)
          Connects to the SMTP server.
 java.lang.String SMTPTransport.getGreeting()
          Returns the greeting banner.
 void SMTPTransport.sendMessage(Message message, Address[] addresses)
          Send the specified message to the server.
 void SMTPTransport.close()
          Close this transport.
 

Uses of MessagingException in javax.mail
 

Subclasses of MessagingException in javax.mail
 class AuthenticationFailedException
          An exception thrown to indicate that authentication failed during a service's connect method.
 class FolderClosedException
          An exception thrown when a method is invoked on a closed folder or one of its messages.
 class FolderNotFoundException
          An exception thrown when a methods is invoked on a nonexistent folder.
 class IllegalWriteException
          An exception thrown when a modification of a read-only property is attempted.
 class MessageRemovedException
          An exception thrown when an invalid method is invoked on an expunged message.
 class MethodNotSupportedException
          An exception thrown when an operation is not supported by the implementation.
 class NoSuchProviderException
          An exception thrown on an attempt to instantiate a provider that doesn't exist.
 class ReadOnlyFolderException
          An exception thrown when an attempt is made to open a folder in read-write mode when the folder can only be opened read-only.
 class SendFailedException
          An exception thrown when a message cannot be sent.
 class StoreClosedException
          An exception thrown when a method is invoked on a message or folder whose owner store has been closed for some reason.
 

Methods in javax.mail that throw MessagingException
 int Part.getSize()
          Returns the size of the content of this part in bytes, or -1 if the size cannot be determined.
 int Part.getLineCount()
          Returns the number of lines in the content of this part, or -1 if the number cannot be determined.
 java.lang.String Part.getContentType()
          Returns the content-type of the content of this part, or null if the content-type could not be determined.
 boolean Part.isMimeType(java.lang.String mimeType)
          Is this part of the specified MIME type? This method compares only the primary type and subtype.
 java.lang.String Part.getDisposition()
          Returns the disposition of this part.
 void Part.setDisposition(java.lang.String disposition)
          Sets the disposition of this part.
 java.lang.String Part.getDescription()
          Returns the description of this part.
 void Part.setDescription(java.lang.String description)
          Sets the description of this part.
 java.lang.String Part.getFileName()
          Returns the filename associated with this part, if available.
 void Part.setFileName(java.lang.String filename)
          Sets the filename associated with this part.
 java.io.InputStream Part.getInputStream()
          Returns an input stream for reading the content of this part.
 javax.activation.DataHandler Part.getDataHandler()
          Returns a data handler for the content of this part.
 java.lang.Object Part.getContent()
          Returns the content of this part as a Java object.
 void Part.setDataHandler(javax.activation.DataHandler dh)
          Sets the content of this part using the specified data handler.
 void Part.setContent(java.lang.Object obj, java.lang.String type)
          Sets the content of this part using the specified object.
 void Part.setText(java.lang.String text)
          Sets the textual content of this part, using a MIME type of text/plain.
 void Part.setContent(Multipart mp)
          Sets the multipart content of this part.
 void Part.writeTo(java.io.OutputStream os)
          Writes this part to the specified byte stream.
 java.lang.String[] Part.getHeader(java.lang.String name)
          Returns all the values for the specified header name, or null if no such headers are available.
 void Part.setHeader(java.lang.String name, java.lang.String value)
          Sets the value for the specified header name.
 void Part.addHeader(java.lang.String name, java.lang.String value)
          Adds the specified value to the existing values for this header name.
 void Part.removeHeader(java.lang.String name)
          Removes all headers of the specified name.
 java.util.Enumeration Part.getAllHeaders()
          Returns all the headers from this part.
 java.util.Enumeration Part.getMatchingHeaders(java.lang.String[] names)
          Returns the matching headers from this part.
 java.util.Enumeration Part.getNonMatchingHeaders(java.lang.String[] names)
          Returns the non-matching headers from this part.
 void Service.connect()
          Connects to this service.
 void Service.connect(java.lang.String host, java.lang.String user, java.lang.String password)
          Connects to this service using the specified details.
 void Service.connect(java.lang.String host, int port, java.lang.String user, java.lang.String password)
          Connects to this service using the specified details.
protected  boolean Service.protocolConnect(java.lang.String host, int port, java.lang.String user, java.lang.String password)
          Provider implementation for a service.
 void Service.close()
          Closes this service, terminating any underlying connections.
 long UIDFolder.getUIDValidity()
          Returns the UIDValidity value associated with this folder.
 Message UIDFolder.getMessageByUID(long uid)
          Returns the message corresponding to the given UID, or null if no such message exists.
 Message[] UIDFolder.getMessagesByUID(long start, long end)
          Returns the messages in the given range.
 Message[] UIDFolder.getMessagesByUID(long[] uids)
          Returns the messages specified by the given UIDs.
 long UIDFolder.getUID(Message message)
          Returns the UID for the specified message.
protected  void Multipart.setMultipartDataSource(MultipartDataSource mp)
          Configures this multipart from the given data source.
 int Multipart.getCount()
          Returns the number of enclosed body parts.
 BodyPart Multipart.getBodyPart(int index)
          Get the specified body part.
 boolean Multipart.removeBodyPart(BodyPart part)
          Removes the specified body part from this multipart.
 void Multipart.removeBodyPart(int index)
          Removes the body part at the specified index.
 void Multipart.addBodyPart(BodyPart part)
          Adds a body part to this multipart.
 void Multipart.addBodyPart(BodyPart part, int index)
          Inserts a body part at the specified index.
abstract  void Multipart.writeTo(java.io.OutputStream os)
          Writes this multipart to the specified byte stream.
abstract  Address[] Message.getFrom()
          Returns the identity of the person(s) who ordered the sending of this message.
abstract  void Message.setFrom()
          Sets the identity of the person sending this message, as obtained from the property "mail.user".
abstract  void Message.setFrom(Address address)
          Sets the identity of the person sending this message.
abstract  void Message.addFrom(Address[] addresses)
          Adds addresses to the identity of the person sending this message.
abstract  Address[] Message.getRecipients(Message.RecipientType type)
          Returns all the recipient addresses of the specified type.
 Address[] Message.getAllRecipients()
          Returns all the recipient addresses in the message.
abstract  void Message.setRecipients(Message.RecipientType type, Address[] addresses)
          Sets the recipient addresses of the specified type.
 void Message.setRecipient(Message.RecipientType type, Address address)
          Sets the recipient address of the specified type.
abstract  void Message.addRecipients(Message.RecipientType type, Address[] addresses)
          Adds the recipient addresses of the given type.
 void Message.addRecipient(Message.RecipientType type, Address address)
          Adds the recipient address of the given type.
 Address[] Message.getReplyTo()
          Returns the addresses to which replies should be directed.
 void Message.setReplyTo(Address[] addresses)
          Sets the addresses to which replies should be directed.
abstract  java.lang.String Message.getSubject()
          Returns the subject of this message.
abstract  void Message.setSubject(java.lang.String subject)
          Sets the subject of this message.
abstract  java.util.Date Message.getSentDate()
          Returns the date this message was sent.
abstract  void Message.setSentDate(java.util.Date date)
          Sets the date this message was sent.
abstract  java.util.Date Message.getReceivedDate()
          Returns the date this message was received.
abstract  Flags Message.getFlags()
          Returns the flags for this message.
 boolean Message.isSet(Flags.Flag flag)
          Indicates whether the specified flag is set in this message.
abstract  void Message.setFlags(Flags flag, boolean set)
          Sets the specified flags on this message to the given value.
 void Message.setFlag(Flags.Flag flag, boolean set)
          Sets the specified flag on this message to the given value.
abstract  Message Message.reply(boolean replyToAll)
          Returns a new message suitable for a reply to this message.
abstract  void Message.saveChanges()
          Save any changes made to this message into its underlying store, if the message was obtained from a folder.
 boolean Message.match(SearchTerm term)
          Indicates whether the specified search term applies to this message.
 URLName Folder.getURLName()
          Return a URLName that can be used as a handle to access this folder.
abstract  Folder Folder.getParent()
          Returns the parent folder of this folder, or null if this folder is the root of a folder hierarchy.
abstract  boolean Folder.exists()
          Indicates whether this folder exists in the Store.
abstract  Folder[] Folder.list(java.lang.String pattern)
          Returns a list of subfolders matching the specified pattern.
 Folder[] Folder.listSubscribed(java.lang.String pattern)
          Returns a list of subscribed subfolders matching the specified pattern.
 Folder[] Folder.list()
          Returns the list of subfolders of this folder.
 Folder[] Folder.listSubscribed()
          Returns the list of subscribed subfolders of this folder.
abstract  char Folder.getSeparator()
          Return the hierarchy delimiter character for this folder.
abstract  int Folder.getType()
          Returns the type of this Folder, i.e.
abstract  boolean Folder.create(int type)
          Create this folder in the store.
 void Folder.setSubscribed(boolean flag)
          Subscribe to or unsubscribe from this folder.
abstract  boolean Folder.hasNewMessages()
          Indicates whether this folder has new messages.
abstract  Folder Folder.getFolder(java.lang.String name)
          Return a folder corresponding to the given name.
abstract  boolean Folder.delete(boolean recurse)
          Deletes this folder.
abstract  boolean Folder.renameTo(Folder folder)
          Renames this folder.
abstract  void Folder.open(int mode)
          Opens this folder.
abstract  void Folder.close(boolean expunge)
          Closes this folder.
abstract  int Folder.getMessageCount()
          Returns the number of messages in this folder.
 int Folder.getNewMessageCount()
          Returns the number of new messages in this folder.
 int Folder.getUnreadMessageCount()
          Returns the number of unread messages in this folder.
 int Folder.getDeletedMessageCount()
          Returns the number of deleted messages in this folder.
abstract  Message Folder.getMessage(int msgnum)
          Returns the message with the given number.
 Message[] Folder.getMessages(int start, int end)
          Returns the messages in the given range (inclusive).
 Message[] Folder.getMessages(int[] msgnums)
          Returns the messages for the specified message numbers.
 Message[] Folder.getMessages()
          Returns all messages in this folder.
abstract  void Folder.appendMessages(Message[] msgs)
          Appends the specified messages to this folder.
 void Folder.fetch(Message[] msgs, FetchProfile fp)
          Fetches the items specified in the given fetch profile for the specified messages.
 void Folder.setFlags(Message[] msgs, Flags flag, boolean value)
          Sets the specified flags on each specified message.
 void Folder.setFlags(int start, int end, Flags flag, boolean value)
          Set the specified flags on the given range of messages (inclusive).
 void Folder.setFlags(int[] msgnums, Flags flag, boolean value)
          Sets the specified flags on each of the specified messages.
 void Folder.copyMessages(Message[] msgs, Folder folder)
          Copies the specified messages into another folder.
abstract  Message[] Folder.expunge()
          Expunges (permanently removing) all the messages marked DELETED.
 Message[] Folder.search(SearchTerm term)
          Searches this folder for messages matching the specified search term.
 Message[] Folder.search(SearchTerm term, Message[] msgs)
          Searches the given messages for those matching the specified search term.
static void Transport.send(Message msg)
          Sends the specified message.
static void Transport.send(Message msg, Address[] addresses)
          Sends the message to the specified addresses, ignoring any recipients specified in the message itself.
abstract  void Transport.sendMessage(Message msg, Address[] addresses)
          Sends the message to the specified list of addresses.
abstract  Folder Store.getDefaultFolder()
          Returns a folder that represents the root of the primary namespace presented to the user by this store.
abstract  Folder Store.getFolder(java.lang.String name)
          Returns the folder with the given name.
abstract  Folder Store.getFolder(URLName url)
          Returns the folder corresponding to the given URLName.
 Folder[] Store.getPersonalNamespaces()
          Returns the personal namespaces for the authenticated user.
 Folder[] Store.getUserNamespaces(java.lang.String user)
          Returns the personal namespaces for the specified user.
 Folder[] Store.getSharedNamespaces()
          Returns the shared namespaces.
 BodyPart MultipartDataSource.getBodyPart(int index)
          Returns the specified body part.
 Folder Session.getFolder(URLName url)
          Get a closed Folder object for the given URLName.
 

Uses of MessagingException in javax.mail.internet
 

Subclasses of MessagingException in javax.mail.internet
 class AddressException
          An exception thrown when an incorrectly formatted address is encountered.
 class ParseException
          An exception thrown to indicate an error parsing RFC822 or MIME headers.
 

Methods in javax.mail.internet that throw MessagingException
protected  void MimeMessage.parse(java.io.InputStream is)
          Parses the given input stream, setting the headers and content fields appropriately.
 Address[] MimeMessage.getFrom()
          Returns the value of the RFC 822 From header field.
 void MimeMessage.setFrom(Address address)
          Sets the RFC 822 From header field.
 void MimeMessage.setFrom()
          Sets the RFC 822 From header field using the value of the InternetAddress.getLocalAddress method.
 void MimeMessage.addFrom(Address[] addresses)
          Adds the specified addresses to From header field.
 Address MimeMessage.getSender()
          Returns the value of the RFC 822 Sender header field.
 void MimeMessage.setSender(Address address)
          Sets the RFC 822 Sender header field.
 Address[] MimeMessage.getRecipients(Message.RecipientType type)
          Returns the recipients of the given type.
 Address[] MimeMessage.getAllRecipients()
          Returns all the recipients.
 void MimeMessage.setRecipients(Message.RecipientType type, Address[] addresses)
          Sets the recipients of the given type.
 void MimeMessage.setRecipients(Message.RecipientType type, java.lang.String addresses)
          Sets the recipients of the given type.
 void MimeMessage.addRecipients(Message.RecipientType type, Address[] addresses)
          Adds the given addresses to the recipients of the specified type.
 void MimeMessage.addRecipients(Message.RecipientType type, java.lang.String addresses)
          Adds the given addresses to the recipients of the specified type.
 Address[] MimeMessage.getReplyTo()
          Returns the value of the RFC 822 Reply-To header field.
 void MimeMessage.setReplyTo(Address[] addresses)
          Sets the RFC 822 Reply-To header field.
 java.lang.String MimeMessage.getSubject()
          Returns the value of the Subject header field.
 void MimeMessage.setSubject(java.lang.String subject)
          Sets the Subject header field.
 void MimeMessage.setSubject(java.lang.String subject, java.lang.String charset)
          Sets the Subject header field.
 java.util.Date MimeMessage.getSentDate()
          Returns the value of the RFC 822 Date field.
 void MimeMessage.setSentDate(java.util.Date date)
          Sets the RFC 822 Date header field.
 java.util.Date MimeMessage.getReceivedDate()
          Returns the date on which this message was received.
 int MimeMessage.getSize()
          Returns the size of the content of this message in bytes, or -1 if the size cannot be determined.
 int MimeMessage.getLineCount()
          Returns the number of lines in the content of this message, or -1 if this number cannot be determined.
 java.lang.String MimeMessage.getContentType()
          Returns the value of the RFC 822 Content-Type header field, or "text/plain" if the header is not available.
 boolean MimeMessage.isMimeType(java.lang.String mimeType)
          Indicates whether this message is of the specified MIME type.
 java.lang.String MimeMessage.getDisposition()
          Returns the value of the RFC 822 Content-Disposition header field, or null if the header is not available.
 void MimeMessage.setDisposition(java.lang.String disposition)
          Sets the Content-Disposition header field of this message.
 java.lang.String MimeMessage.getEncoding()
          Returns the value of the Content-Transfer-Encoding header field.
 java.lang.String MimeMessage.getContentID()
          Returns the value of the Content-ID header field.
 void MimeMessage.setContentID(java.lang.String cid)
          Sets the Content-ID header field of this message.
 java.lang.String MimeMessage.getContentMD5()
          Returns the value of the Content-MD5 header field.
 void MimeMessage.setContentMD5(java.lang.String md5)
          Sets the Content-MD5 header field of this message.
 java.lang.String MimeMessage.getDescription()
          Returns the Content-Description header field of this message.
 void MimeMessage.setDescription(java.lang.String description)
          Sets the Content-Description header field for this message.
 void MimeMessage.setDescription(java.lang.String description, java.lang.String charset)
          Sets the Content-Description header field for this message.
 java.lang.String[] MimeMessage.getContentLanguage()
          Returns the languages specified in the Content-Language header field of this message, as defined by RFC 1766.
 void MimeMessage.setContentLanguage(java.lang.String[] languages)
          Sets the Content-Language header of this message.
 java.lang.String MimeMessage.getMessageID()
          Returns the value of the Message-ID header field.
 java.lang.String MimeMessage.getFileName()
          Returns the filename associated with this message.
 void MimeMessage.setFileName(java.lang.String filename)
          Sets the filename associated with this part.
 java.io.InputStream MimeMessage.getInputStream()
          Returns a decoded input stream for this message's content.
protected  java.io.InputStream MimeMessage.getContentStream()
          Returns the unencoded bytes of the content.
 java.io.InputStream MimeMessage.getRawInputStream()
          Returns the unencoded bytes of the content without applying any content transfer encoding.
 javax.activation.DataHandler MimeMessage.getDataHandler()
          Returns a data handler for accessing this message's content.
 java.lang.Object MimeMessage.getContent()
          Returns this message's content as a Java object.
 void MimeMessage.setDataHandler(javax.activation.DataHandler datahandler)
          Sets the content of this part using the specified data handler.
 void MimeMessage.setContent(java.lang.Object o, java.lang.String type)
          Sets the content of this message using the specified Java object and MIME type.
 void MimeMessage.setText(java.lang.String text)
          Sets the content of this message using the specified text, and with a MIME type of "text/plain".
 void MimeMessage.setText(java.lang.String text, java.lang.String charset)
          Sets the content of this message using the specified text, and with a MIME type of "text/plain".
 void MimeMessage.setContent(Multipart mp)
          Sets the content of this message to be the specified multipart.
 Message MimeMessage.reply(boolean replyToAll)
          Returns a new message suitable for a reply to this message.
 void MimeMessage.writeTo(java.io.OutputStream os)
          Writes this message to the specified stream in RFC 822 format.
 void MimeMessage.writeTo(java.io.OutputStream os, java.lang.String[] ignoreList)
          Writes this message to the specified stream in RFC 822 format, without the specified headers.
 java.lang.String[] MimeMessage.getHeader(java.lang.String name)
          Returns all the values for the specified header name.
 java.lang.String MimeMessage.getHeader(java.lang.String name, java.lang.String delimiter)
          Returns all the values for the specified header name as a single string, with headers separated by the given delimiter.
 void MimeMessage.setHeader(java.lang.String name, java.lang.String value)
          Sets the specified header.
 void MimeMessage.addHeader(java.lang.String name, java.lang.String value)
          Adds the specified header.
 void MimeMessage.removeHeader(java.lang.String name)
          Removes all headers with the specified name.
 java.util.Enumeration MimeMessage.getAllHeaders()
          Returns all the headers.
 java.util.Enumeration MimeMessage.getMatchingHeaders(java.lang.String[] names)
          Returns all the headers with any of the given names.
 java.util.Enumeration MimeMessage.getNonMatchingHeaders(java.lang.String[] names)
          Returns all the headers without any of the given names.
 void MimeMessage.addHeaderLine(java.lang.String line)
          Adds an RFC 822 header-line to this message.
 java.util.Enumeration MimeMessage.getAllHeaderLines()
          Returns all the header-lines.
 java.util.Enumeration MimeMessage.getMatchingHeaderLines(java.lang.String[] names)
          Returns all the header-lines with any of the given names.
 java.util.Enumeration MimeMessage.getNonMatchingHeaderLines(java.lang.String[] names)
          Returns all the header-lines without any of the given names.
 Flags MimeMessage.getFlags()
          Returns the flags for this message.
 boolean MimeMessage.isSet(Flags.Flag flag)
          Indicates whether the specified flag is set in this message.
 void MimeMessage.setFlags(Flags flag, boolean set)
          Sets the flags for this message.
 void MimeMessage.saveChanges()
          Saves any changes to this message.
protected  void MimeMessage.updateHeaders()
          Updates the headers of this part, based on the content.
protected  InternetHeaders MimeMessage.createInternetHeaders(java.io.InputStream is)
          Creates the headers from the given input stream.
 java.lang.String MimePart.getHeader(java.lang.String header_name, java.lang.String delimiter)
          Returns the values of all header fields for the specified name, returned as a single String with the values separated by the given delimiter.
 void MimePart.addHeaderLine(java.lang.String line)
          Adds an RFC822 header-line.
 java.util.Enumeration MimePart.getAllHeaderLines()
          Returns all the header-lines.
 java.util.Enumeration MimePart.getMatchingHeaderLines(java.lang.String[] names)
          Returns all the header-lines with any of the given names.
 java.util.Enumeration MimePart.getNonMatchingHeaderLines(java.lang.String[] names)
          Returns all the header-lines without any of the given names.
 java.lang.String MimePart.getEncoding()
          Returns the value of the Content-Transfer-Encoding header field of this part.
 java.lang.String MimePart.getContentID()
          Returns the value of the Content-ID header field of this part.
 java.lang.String MimePart.getContentMD5()
          Returns the value of the Content-MD5 header field of this part.
 void MimePart.setContentMD5(java.lang.String md5)
          Sets the Content-MD5 header value for this part.
 java.lang.String[] MimePart.getContentLanguage()
          Returns the languages specified in the Content-Language header of this part, as defined by RFC 1766.
 void MimePart.setContentLanguage(java.lang.String[] languages)
          Sets the Content-Language header of this part.
 void MimePart.setText(java.lang.String text)
          Sets the content of this message using the specified text, and with a MIME type of "text/plain".
 void MimePart.setText(java.lang.String text, java.lang.String charset)
          Sets the content of this message using the specified text, and with a MIME type of "text/plain".
static java.io.InputStream MimeUtility.decode(java.io.InputStream is, java.lang.String encoding)
          Decodes the given input stream.
static java.io.OutputStream MimeUtility.encode(java.io.OutputStream os, java.lang.String encoding)
          Encodes the given output stream.
static java.io.OutputStream MimeUtility.encode(java.io.OutputStream os, java.lang.String encoding, java.lang.String filename)
          Encodes the given output stream.
 void InternetHeaders.load(java.io.InputStream is)
          Parses the specified RFC 822 message stream, storing the headers in this InternetHeaders.
 void MimeMultipart.setSubType(java.lang.String subtype)
          Sets the subtype.
 int MimeMultipart.getCount()
          Returns the number of component body parts.
 BodyPart MimeMultipart.getBodyPart(int index)
          Returns the specified body part.
 BodyPart MimeMultipart.getBodyPart(java.lang.String CID)
          Returns the body part identified by the given Content-ID (CID).
protected  void MimeMultipart.updateHeaders()
          Updates the headers of this part to be consistent with its content.
 void MimeMultipart.writeTo(java.io.OutputStream os)
          Writes this multipart to the specified output stream.
protected  void MimeMultipart.parse()
          Parses the body parts from this multipart's data source.
protected  InternetHeaders MimeMultipart.createInternetHeaders(java.io.InputStream is)
          Creates headers from the specified input stream.
protected  MimeBodyPart MimeMultipart.createMimeBodyPart(InternetHeaders headers, byte[] content)
          Creates a MIME body part object from the given headers and byte content.
protected  MimeBodyPart MimeMultipart.createMimeBodyPart(java.io.InputStream is)
          Creates a MIME body part from the specified input stream.
 int MimeBodyPart.getSize()
          Returns the size of the content of this body part in bytes, or -1 if the size cannot be determined.
 int MimeBodyPart.getLineCount()
          Returns the number of lines in the content of this body part, or -1 if this number cannot be determined.
 java.lang.String MimeBodyPart.getContentType()
          Returns the value of the RFC 822 Content-Type header field, or "text/plain" if the header is not available.
 boolean MimeBodyPart.isMimeType(java.lang.String mimeType)
          Indicates whether this part is of the specified MIME type.
 java.lang.String MimeBodyPart.getDisposition()
          Returns the value of the RFC 822 Content-Disposition header field, or null if the header is not available.
 void MimeBodyPart.setDisposition(java.lang.String disposition)
          Sets the Content-Disposition header field of this part.
 java.lang.String MimeBodyPart.getEncoding()
          Returns the value of the Content-Transfer-Encoding header field.
 java.lang.String MimeBodyPart.getContentID()
          Returns the value of the Content-ID header field.
 void MimeBodyPart.setContentID(java.lang.String cid)
          Sets the Content-ID header field of this part.
 java.lang.String MimeBodyPart.getContentMD5()
          Returns the value of the Content-MD5 header field.
 void MimeBodyPart.setContentMD5(java.lang.String md5)
          Sets the Content-MD5 header field of this part.
 java.lang.String[] MimeBodyPart.getContentLanguage()
          Returns the languages specified in the Content-Language header of this part, as defined by RFC 1766.
 void MimeBodyPart.setContentLanguage(java.lang.String[] languages)
          Sets the Content-Language header of this part.
 java.lang.String MimeBodyPart.getDescription()
          Returns the Content-Description header field of this part.
 void MimeBodyPart.setDescription(java.lang.String description)
          Sets the Content-Description header field for this part.
 void MimeBodyPart.setDescription(java.lang.String description, java.lang.String charset)
          Sets the Content-Description header field for this part.
 java.lang.String MimeBodyPart.getFileName()
          Returns the filename associated with this body part.
 void MimeBodyPart.setFileName(java.lang.String filename)
          Sets the filename associated with this body part.
 java.io.InputStream MimeBodyPart.getInputStream()
          Returns a decoded input stream for this part's content.
protected  java.io.InputStream MimeBodyPart.getContentStream()
          Returns the unencoded bytes of the content.
 java.io.InputStream MimeBodyPart.getRawInputStream()
          Returns the unencoded bytes of the content without applying any content transfer decoding.
 javax.activation.DataHandler MimeBodyPart.getDataHandler()
          Returns a data handler for accessing this part's content.
 java.lang.Object MimeBodyPart.getContent()
          Returns this part's content as a Java object.
 void MimeBodyPart.setDataHandler(javax.activation.DataHandler dh)
          Sets the content of this part using the specified data handler.
 void MimeBodyPart.setContent(java.lang.Object o, java.lang.String type)
          Sets the content of this part using the specified Java object and MIME type.
 void MimeBodyPart.setText(java.lang.String text)
          Sets the content of this part using the specified text, and with a MIME type of "text/plain".
 void MimeBodyPart.setText(java.lang.String text, java.lang.String charset)
          Sets the content of this part using the specified text, and with a MIME type of "text/plain".
 void MimeBodyPart.setContent(Multipart mp)
          Sets the content of this part to be the specified multipart.
 void MimeBodyPart.writeTo(java.io.OutputStream os)
          Writes this body part to the specified stream in RFC 822 format.
 java.lang.String[] MimeBodyPart.getHeader(java.lang.String name)
          Returns all the values for the specified header name.
 java.lang.String MimeBodyPart.getHeader(java.lang.String name, java.lang.String delimiter)
          Returns all the values for the specified header name as a single string, with headers separated by the given delimiter.
 void MimeBodyPart.setHeader(java.lang.String name, java.lang.String value)
          Sets the specified header.
 void MimeBodyPart.addHeader(java.lang.String name, java.lang.String value)
          Adds the specified header.
 void MimeBodyPart.removeHeader(java.lang.String name)
          Removes all headers with the specified name.
 java.util.Enumeration MimeBodyPart.getAllHeaders()
          Returns all the headers.
 java.util.Enumeration MimeBodyPart.getMatchingHeaders(java.lang.String[] names)
          Returns all the headers with any of the given names.
 java.util.Enumeration MimeBodyPart.getNonMatchingHeaders(java.lang.String[] names)
          Returns all the headers without any of the given names.
 void MimeBodyPart.addHeaderLine(java.lang.String line)
          Adds an RFC 822 header-line to this part.
 java.util.Enumeration MimeBodyPart.getAllHeaderLines()
          Returns all the header-lines.
 java.util.Enumeration MimeBodyPart.getMatchingHeaderLines(java.lang.String[] names)
          Returns all the header-lines with any of the given names.
 java.util.Enumeration MimeBodyPart.getNonMatchingHeaderLines(java.lang.String[] names)
          Returns all the header-lines without any of the given names.
protected  void MimeBodyPart.updateHeaders()
          Updates the headers of this part, based on the content.
 

Constructors in javax.mail.internet that throw MessagingException
MimeMessage(Session session, java.io.InputStream is)
          Constructor with an input stream contining an RFC 822 message.
MimeMessage(MimeMessage source)
          Constructor with an existing message.
MimeMessage(Folder folder, java.io.InputStream is, int msgnum)
          Constructor with a parent folder, message number, and RFC 822 input stream.
MimeMessage(Folder folder, InternetHeaders headers, byte[] content, int msgnum)
          Constructor with a parent folder, message number, headers and byte content.
InternetHeaders(java.io.InputStream is)
          Constructor with an RFC 822 message stream.
MimeMultipart(javax.activation.DataSource ds)
          Constructor with a given data source.
MimeBodyPart(java.io.InputStream is)
          Constructor with an input stream.
MimeBodyPart(InternetHeaders headers, byte[] content)
          Constructor with headers and byte content.
 

Uses of MessagingException in javax.mail.search
 

Subclasses of MessagingException in javax.mail.search
 class SearchException
          An exception thrown to indicate that a search expression could not be handled by the store implementation.
 



© Copyright 2003, 2004 The Free Software Foundation, All rights reserved