Uses of Class
com.openexchange.mail.MailException

Packages that use MailException
com.openexchange.mail   
com.openexchange.mail.api   
com.openexchange.mail.api.enhanced   
com.openexchange.mail.cache   
com.openexchange.mail.config   
com.openexchange.mail.dataobjects   
com.openexchange.mail.dataobjects.compose   
com.openexchange.mail.json.parser   
com.openexchange.mail.json.writer   
com.openexchange.mail.mime   
com.openexchange.mail.mime.converters   
com.openexchange.mail.mime.dataobjects   
com.openexchange.mail.mime.datasource   
com.openexchange.mail.mime.filler   
com.openexchange.mail.mime.processing   
com.openexchange.mail.mime.utils   
com.openexchange.mail.parser   
com.openexchange.mail.parser.handlers   
com.openexchange.mail.partmodifier   
com.openexchange.mail.permission   
com.openexchange.mail.search   
com.openexchange.mail.service   
com.openexchange.mail.service.impl   
com.openexchange.mail.text   
com.openexchange.mail.transport   
com.openexchange.mail.transport.config   
com.openexchange.mail.utils   
 

Uses of MailException in com.openexchange.mail
 

Methods in com.openexchange.mail that throw MailException
abstract  boolean MailServletInterface.clearFolder(java.lang.String folderArg)
          Clears all messages out of given folder.
abstract  void MailServletInterface.close(boolean putIntoCache)
          Closes the interface and releases all resources
abstract  java.lang.String[] MailServletInterface.copyMessages(java.lang.String sourceFolder, java.lang.String destFolder, java.lang.String[] msgUIDs, boolean move)
          Copies or moves (if move is set) the defined message from source folder to destination folder.
abstract  java.lang.String MailServletInterface.deleteFolder(java.lang.String folder)
          Deletes given folder
abstract  boolean MailServletInterface.deleteMessages(java.lang.String folder, java.lang.String[] msgUIDs, boolean hardDelete)
          Deletes the message located in given folder corresponding to given msgUID
abstract  int[] MailServletInterface.getAllMessageCount(java.lang.String folder)
          Returns all message counts in specified folder in an int array as follows: 0: Message Count, 1 : New Message Count, 2: Unread MessageCount, 3: Deleted Message Count
abstract  com.openexchange.tools.iterator.SearchIterator<MailMessage> MailServletInterface.getAllMessages(java.lang.String folder, int sortCol, int order, int[] fields, int[] fromToIndices)
          Returns an instance of SearchIterator containing all messages located in given folder.
abstract  com.openexchange.tools.iterator.SearchIterator<MailMessage> MailServletInterface.getAllThreadedMessages(java.lang.String folder, int sortCol, int order, int[] fields, int[] fromToIndices)
          Returns a thread-view-sorted instance of SearchIterator containing all messages located in given folder.
abstract  com.openexchange.tools.iterator.SearchIterator<MailFolder> MailServletInterface.getChildFolders(java.lang.String parentFolder, boolean all)
          Returns an instance of SearchIterator containing the subfolders of given folder
abstract  java.lang.String MailServletInterface.getConfirmedHamFolder(int accountId)
          Returns user-defined confirmed ham folder
abstract  java.lang.String MailServletInterface.getConfirmedSpamFolder(int accountId)
          Returns user-defined confirmed spam folder
abstract  int MailServletInterface.getDeletedMessageCount(java.lang.String folder)
          Returns the number messages which are marked for deletion in folder
abstract  MailMessage[] MailServletInterface.getDeletedMessages(java.lang.String folder, int[] fields)
          Gets all deleted messages in given folder
abstract  java.lang.String MailServletInterface.getDraftsFolder(int accountId)
          Returns user-defined drafts folder
abstract  MailFolder MailServletInterface.getFolder(java.lang.String folder, boolean checkFolder)
          Returns the store's folder identfied through given String instance
abstract  MailMessage MailServletInterface.getForwardMessageForDisplay(java.lang.String[] folders, java.lang.String[] fowardMsgUIDs, UserSettingMail usm)
          Creates an instance of JSONMessageObject which contains the initial forward content of the message identifed through fowardMsgUID.
abstract  java.lang.String MailServletInterface.getInboxFolder(int accountId)
          Returns user-defined inbox folder
static MailServletInterface MailServletInterface.getInstance(com.openexchange.session.Session session)
          Gets a proper implementation of MailServletInterface
abstract  MailConfig MailServletInterface.getMailConfig()
          Returns user-specific mail configuration
static MailPath[] MailPath.getMailPaths(java.lang.String mailPaths)
          Returns the mail paths for given comma-separated mail IDs each conform to pattern <folder-path><value-of-MailPath.SEPERATOR ><mail-ID>
static MailPath[] MailPath.getMailPaths(java.lang.String[] mailPaths)
          Returns the mail paths for given mail IDs each conform to pattern <folder-path><value-of-MailPath.SEPERATOR ><mail-ID>
static MailProvider MailProviderRegistry.getMailProviderBySession(com.openexchange.session.Session session, int accountId)
          Gets the mail provider appropriate for specified session.
abstract  MailMessage MailServletInterface.getMessage(java.lang.String folder, java.lang.String msgUID)
          Gets the mail identified through given ID from store located in given folder.
abstract  MailPart MailServletInterface.getMessageAttachment(java.lang.String folder, java.lang.String msgUID, java.lang.String attachmentPosition, boolean displayVersion)
          Returns a message's attachment located at given attachmentPosition wrapped by an instance of JSONMessageAttachmentObject for a convenient access to its attributes and content.
abstract  int MailServletInterface.getMessageCount(java.lang.String folder)
          Returns the number of messages in folder
abstract  MailPart MailServletInterface.getMessageImage(java.lang.String folder, java.lang.String msgUID, java.lang.String cid)
          Returns a message's inline image located identified with given cid wrapped by an instance of JSONMessageAttachmentObject for a convenient access to its attributes and content.
abstract  MailMessage[] MailServletInterface.getMessageList(java.lang.String folder, java.lang.String[] uids, int[] fields)
          Returns the an array of messages located in given folder.
abstract  com.openexchange.tools.iterator.SearchIterator<MailMessage> MailServletInterface.getMessages(java.lang.String folder, int[] fromToIndices, int sortCol, int order, int[] searchCols, java.lang.String[] searchPatterns, boolean linkSearchTermsWithOR, int[] fields)
          Returns an instance of SearchIterator containing a selection of messages located in given folder.
abstract  int MailServletInterface.getNewMessageCount(java.lang.String folder)
          Returns the number of new messages in folder
abstract  com.openexchange.tools.iterator.SearchIterator<MailMessage> MailServletInterface.getNewMessages(java.lang.String folder, int sortCol, int order, int[] fields, int limit)
          Returns an instance of SearchIterator containing max.
abstract  com.openexchange.tools.iterator.SearchIterator<MailFolder> MailServletInterface.getPathToDefaultFolder(java.lang.String folder)
          Returns an instance of SearchIterator containing all antecessor folders on path to mailbox's default folder
abstract  long MailServletInterface.getQuotaLimit(int type)
          Returns the quota limit
abstract  long[][] MailServletInterface.getQuotas(int[] types)
          Gets both quota limit and quota usage in an array with length set to 2 for each resource type
abstract  long MailServletInterface.getQuotaUsage(int type)
          Returns the current quota usage
abstract  MailMessage MailServletInterface.getReplyMessageForDisplay(java.lang.String folder, java.lang.String replyMsgUID, boolean replyToAll, UserSettingMail usm)
          Creates an instance of JSONMessageObject which contains the initial reply content of the message identifed through replyMsgUID.
abstract  com.openexchange.tools.iterator.SearchIterator<MailFolder> MailServletInterface.getRootFolders()
          Returns an instance of SearchIterator containing the mailbox's default folder
abstract  java.lang.String MailServletInterface.getSentFolder(int accountId)
          Returns user-defined sent folder
abstract  java.lang.String MailServletInterface.getSpamFolder(int accountId)
          Returns user-defined spam folder
abstract  com.openexchange.tools.iterator.SearchIterator<MailMessage> MailServletInterface.getThreadedMessages(java.lang.String folder, int[] fromToIndices, int sortCol, int order, int[] searchCols, java.lang.String[] searchPatterns, boolean linkSearchTermsWithOR, int[] fields)
          Returns a thread-view-sorted instance of SearchIterator containing a selection of messages located in given folder.
abstract  java.lang.String MailServletInterface.getTrashFolder(int accountId)
          Returns user-defined trash folder
abstract  int MailServletInterface.getUnreadMessageCount(java.lang.String folder)
          Returns the number of unread messages in folder
abstract  MailMessage[] MailServletInterface.getUpdatedMessages(java.lang.String folder, int[] fields)
          Gets all updated messages in given folder
static Protocol Protocol.parseProtocol(java.lang.String protocol)
          Parses specified protocol string whose syntax match pattern:
([a-z]+)(?:((?:_[a-z]+)*))?
E.g.: http or http_https.
static boolean MailProviderRegistry.registerMailProvider(java.lang.String protocol, MailProvider provider)
          Registers a mail provider and performs its start-up actions
abstract  java.lang.String MailServletInterface.saveDraft(ComposedMailMessage draftMail, boolean autosave, int accountId)
          Saves specified draft mail.
abstract  java.lang.String MailServletInterface.saveFolder(MailFolderDescription mailFolder)
          Creates a new mail folder described by given MailFolderObject instance
abstract  java.lang.String MailServletInterface.sendMessage(ComposedMailMessage transportMail, ComposeType sendType, int accountId)
          Sends a message described through given instance of msgObj and its possible file attachments contained in given instance of uploadEvent.
abstract  void MailServletInterface.sendReceiptAck(java.lang.String folder, java.lang.String msgUID, java.lang.String fromAddr)
          Sends a read acknowledgment to given message
 MailPath MailPath.setMailIdentifierString(java.lang.String mailPathStr)
          Sets this mail path's folder fullname and mail's unique ID (for re-usage).
static MailProvider MailProviderRegistry.unregisterMailProvider(MailProvider provider)
          Unregisters the mail provider
static MailProvider MailProviderRegistry.unregisterMailProviderByProtocol(java.lang.String protocol)
          Unregisters the mail provider supporting specified protocol
abstract  void MailServletInterface.updateMessageColorLabel(java.lang.String folder, java.lang.String[] msgUID, int newColorLabel)
          Updates the color label stored in message's user flags
abstract  void MailServletInterface.updateMessageFlags(java.lang.String folder, java.lang.String[] msgUID, int flagBits, boolean flagVal)
          Updates message's client-alterable system flags (e.g.
 

Constructors in com.openexchange.mail that throw MailException
MailPath(java.lang.String mailPathStr)
          Initializes a new MailPath
 

Uses of MailException in com.openexchange.mail.api
 

Methods in com.openexchange.mail.api that throw MailException
 java.lang.String[] IMailMessageStorage.appendMessages(java.lang.String destFolder, MailMessage[] msgs)
          Appends given messages to given folder.
abstract  java.lang.String[] MailMessageStorage.appendMessages(java.lang.String destFolder, MailMessage[] msgs)
           
abstract  void MailFolderStorage.checkDefaultFolders()
           
 void IMailFolderStorage.checkDefaultFolders()
          Checks user's default folder as defined in user's mail settings and creates them if any is missing.
 void MailFolderStorage.clearFolder(java.lang.String fullname)
           
 void IMailFolderStorage.clearFolder(java.lang.String fullname)
          Deletes the content of the folder identified through given fullname.
abstract  void MailFolderStorage.clearFolder(java.lang.String fullname, boolean hardDelete)
           
 void IMailFolderStorage.clearFolder(java.lang.String fullname, boolean hardDelete)
          Deletes the content of the folder identified through given fullname.
 void MailAccess.connect()
          Opens this access.
 java.lang.String[] IMailMessageStorage.copyMessages(java.lang.String sourceFolder, java.lang.String destFolder, java.lang.String[] mailIds, boolean fast)
          Copies the mails identified through given mail IDs from source folder to destination folder.
abstract  java.lang.String[] MailMessageStorage.copyMessages(java.lang.String sourceFolder, java.lang.String destFolder, java.lang.String[] mailIds, boolean fast)
           
abstract  java.lang.String MailFolderStorage.createFolder(MailFolderDescription toCreate)
           
 java.lang.String IMailFolderStorage.createFolder(MailFolderDescription toCreate)
          Creates a new mail folder with attributes taken from given mail folder description
abstract  MailAccess<?,?> MailProvider.createNewMailAccess(com.openexchange.session.Session session)
          Gets a newly created mail access with default account ID.
abstract  MailAccess<?,?> MailProvider.createNewMailAccess(com.openexchange.session.Session session, int accountId)
          Gets a newly created mail access.
 java.lang.String MailFolderStorage.deleteFolder(java.lang.String fullname)
           
 java.lang.String IMailFolderStorage.deleteFolder(java.lang.String fullname)
          Deletes an existing mail folder identified through given fullname.
abstract  java.lang.String MailFolderStorage.deleteFolder(java.lang.String fullname, boolean hardDelete)
           
 java.lang.String IMailFolderStorage.deleteFolder(java.lang.String fullname, boolean hardDelete)
          Deletes an existing mail folder identified through given fullname.
 void IMailMessageStorage.deleteMessages(java.lang.String folder, java.lang.String[] mailIds, boolean hardDelete)
          Deletes the messages located in given folder identified through given mail IDs.
abstract  void MailMessageStorage.deleteMessages(java.lang.String folder, java.lang.String[] mailIds, boolean hardDelete)
           
abstract  boolean MailFolderStorage.exists(java.lang.String fullname)
           
 boolean IMailFolderStorage.exists(java.lang.String fullname)
          Checks if a folder exists whose fullname matches given fullname
 MailMessage[] IMailMessageStorage.getAllMessages(java.lang.String folder, IndexRange indexRange, MailSortField sortField, OrderDirection order, MailField[] fields)
          A convenience method that delivers all messages contained in given folder through invoking searchMessages() without search arguments.
 MailMessage[] MailMessageStorage.getAllMessages(java.lang.String folder, IndexRange indexRange, MailSortField sortField, OrderDirection order, MailField[] fields)
          A convenience method that delivers all messages contained in given folder through invoking searchMessages() without search arguments.
 MailPart IMailMessageStorage.getAttachment(java.lang.String folder, java.lang.String mailId, java.lang.String sequenceId)
          A convenience method that fetches the mail message's attachment identified through given sequenceId.
 MailPart MailMessageStorage.getAttachment(java.lang.String folder, java.lang.String mailId, java.lang.String sequenceId)
           
static
<C extends MailConfig>
C
MailConfig.getConfig(java.lang.Class<? extends C> clazz, C mailConfig, com.openexchange.session.Session session, int accountId)
          Gets the user-specific mail configuration.
abstract  java.lang.String MailFolderStorage.getConfirmedHamFolder()
           
 java.lang.String IMailFolderStorage.getConfirmedHamFolder()
          Gets the fullname of default confirmed ham folder
abstract  java.lang.String MailFolderStorage.getConfirmedSpamFolder()
           
 java.lang.String IMailFolderStorage.getConfirmedSpamFolder()
          Gets the fullname of default confirmed spam folder
 MailMessage[] IMailMessageStorage.getDeletedMessages(java.lang.String folder, MailField[] fields)
          Gets all deleted messages in specified folder.
 MailMessage[] MailMessageStorage.getDeletedMessages(java.lang.String folder, MailField[] fields)
          Gets all deleted messages in specified folder.
abstract  java.lang.String MailFolderStorage.getDraftsFolder()
           
 java.lang.String IMailFolderStorage.getDraftsFolder()
          Gets the fullname of default drafts folder
abstract  MailFolder MailFolderStorage.getFolder(java.lang.String fullname)
           
 MailFolder IMailFolderStorage.getFolder(java.lang.String fullname)
          Gets the folder identified through given fullname
abstract  F MailAccess.getFolderStorage()
          Gets the appropriate IMailFolderStorage implementation that is considered as the main entry point to a user's mailbox.
 MailMessage MailLogicTools.getFowardMessage(MailMessage[] originalMails)
          Creates a forward message for the messages specified by originalMails.
 MailMessage MailLogicTools.getFowardMessage(MailMessage[] originalMails, UserSettingMail usm)
          Creates a forward message for the messages specified by originalMails.
 MailPart IMailMessageStorage.getImageAttachment(java.lang.String folder, java.lang.String mailId, java.lang.String contentId)
          A convenience method that fetches the mail message's image attachment identified by its Content-Id header given through argument contentId.
 MailPart MailMessageStorage.getImageAttachment(java.lang.String folder, java.lang.String mailId, java.lang.String contentId)
           
static MailAccess<?,?> MailAccess.getInstance(com.openexchange.session.Session session)
          Gets the proper instance of MailAccess for session user's default mail account.
static MailAccess<?,?> MailAccess.getInstance(com.openexchange.session.Session session, int accountId)
          Gets the proper instance of MailAccess parameterized with given session and account ID.
abstract  MailLogicTools MailAccess.getLogicTools()
          Gets the appropriate MailLogicTools implementation that provides operations/methods to create a reply/forward message from a referenced message.
 MailConfig MailAccess.getMailConfig()
          Returns the mail configuration appropriate for current user.
static java.lang.String MailConfig.getMailServerURL(com.openexchange.session.Session session, int accountId)
          Gets the mail server URL appropriate to configured mail server source.
 MailMessage IMailMessageStorage.getMessage(java.lang.String folder, java.lang.String mailId, boolean markSeen)
          Gets the mail located in given folder whose mail ID matches specified ID.
 MailMessage MailMessageStorage.getMessage(java.lang.String folder, java.lang.String mailId, boolean markSeen)
          Gets the mail located in given folder whose mail ID matches specified ID.
 Quota MailFolderStorage.getMessageQuota(java.lang.String folder)
           
 Quota IMailFolderStorage.getMessageQuota(java.lang.String folder)
          Detects both quota limit and quota usage of MESSAGE resource on given mailbox folder's quota-root.
 MailMessage[] IMailMessageStorage.getMessages(java.lang.String folder, java.lang.String[] mailIds, MailField[] fields)
          Gets the mails located in given folder whose mail ID matches specified ID.
abstract  MailMessage[] MailMessageStorage.getMessages(java.lang.String folder, java.lang.String[] mailIds, MailField[] fields)
           
abstract  M MailAccess.getMessageStorage()
          Gets the appropriate IMailMessageStorage implementation that provides necessary message-related operations/methods.
 MailMessage[] IMailMessageStorage.getNewAndModifiedMessages(java.lang.String folder, MailField[] fields)
          Gets all new and modified messages in specified folder.
 MailMessage[] MailMessageStorage.getNewAndModifiedMessages(java.lang.String folder, MailField[] fields)
          Gets all new and modified messages in specified folder.
 MailFolder[] MailFolderStorage.getPath2DefaultFolder(java.lang.String fullname)
           
 MailFolder[] IMailFolderStorage.getPath2DefaultFolder(java.lang.String fullname)
          Gets the reverse path from the folder identified through given fullname to parental default folder.
abstract  Quota[] MailFolderStorage.getQuotas(java.lang.String folder, Quota.Type[] types)
           
 Quota[] IMailFolderStorage.getQuotas(java.lang.String folder, Quota.Type[] types)
          Detects both quotas' limit and usage on given mailbox folder's quota-root for specified resource types.
 MailMessage MailLogicTools.getReplyMessage(MailMessage originalMail, boolean replyAll)
          Creates a reply message for the message specified by originalMail.
 MailMessage MailLogicTools.getReplyMessage(MailMessage originalMail, boolean replyAll, UserSettingMail usm)
          Creates a reply message for the message specified by originalMail.
 MailFolder MailFolderStorage.getRootFolder()
          Gets the mailbox's root folder.
 MailFolder IMailFolderStorage.getRootFolder()
          Gets the mailbox's root folder.
 MailFolder MailAccess.getRootFolder()
          Convenience method to obtain root folder in a fast way; meaning no default folder check is performed which is not necessary to return the root folder.
abstract  java.lang.String MailFolderStorage.getSentFolder()
           
 java.lang.String IMailFolderStorage.getSentFolder()
          Gets the fullname of default sent folder
abstract  java.lang.String MailFolderStorage.getSpamFolder()
           
 java.lang.String IMailFolderStorage.getSpamFolder()
          Gets the fullname of default spam folder
 Quota MailFolderStorage.getStorageQuota(java.lang.String folder)
           
 Quota IMailFolderStorage.getStorageQuota(java.lang.String folder)
          Detects both quota limit and quota usage of STORAGE resource on given mailbox folder's quota-root.
abstract  MailFolder[] MailFolderStorage.getSubfolders(java.lang.String parentFullname, boolean all)
           
 MailFolder[] IMailFolderStorage.getSubfolders(java.lang.String parentFullname, boolean all)
          Gets the first level subfolders located below the folder whose fullname matches given parameter parentFullname.
 MailMessage[] IMailMessageStorage.getThreadSortedMessages(java.lang.String folder, IndexRange indexRange, MailSortField sortField, OrderDirection order, SearchTerm<?> searchTerm, MailField[] fields)
          An optional convenience method that gets the messages located in given folder sorted by message thread reference.
 MailMessage[] MailMessageStorage.getThreadSortedMessages(java.lang.String folder, IndexRange indexRange, MailSortField sortField, OrderDirection order, SearchTerm<?> searchTerm, MailField[] fields)
           
abstract  java.lang.String MailFolderStorage.getTrashFolder()
           
 java.lang.String IMailFolderStorage.getTrashFolder()
          Gets the fullname of default trash folder
 MailMessage[] IMailMessageStorage.getUnreadMessages(java.lang.String folder, MailSortField sortField, OrderDirection order, MailField[] fields, int limit)
          Gets all unread messages located in given folder; meaning messages that do not have the \Seen flag set.
 MailMessage[] MailMessageStorage.getUnreadMessages(java.lang.String folder, MailSortField sortField, OrderDirection order, MailField[] fields, int limit)
          Gets all unread messages located in given folder; meaning messages that do not have the \Seen flag set.
abstract  java.lang.String MailFolderStorage.moveFolder(java.lang.String fullname, java.lang.String newFullname)
           
 java.lang.String IMailFolderStorage.moveFolder(java.lang.String fullname, java.lang.String newFullname)
          Moves the folder identified through given fullname to the path specified through argument newFullname.
 java.lang.String[] IMailMessageStorage.moveMessages(java.lang.String sourceFolder, java.lang.String destFolder, java.lang.String[] mailIds, boolean fast)
          Moves the mails identified through given mail IDs from source folder to destination folder.
 java.lang.String[] MailMessageStorage.moveMessages(java.lang.String sourceFolder, java.lang.String destFolder, java.lang.String[] mailIds, boolean fast)
          Moves the mails identified through given mail IDs from source folder to destination folder.
 boolean MailAccess.ping()
          Pings the mail server to check if a connection can be established and and immediately closes connection.
 void IMailMessageStorage.releaseResources()
          Releases all resources used by this message storage when closing superior MailAccess
abstract  void MailFolderStorage.releaseResources()
           
 void IMailFolderStorage.releaseResources()
          Releases all used resources when closing parental MailAccess
abstract  void MailMessageStorage.releaseResources()
           
 java.lang.String MailFolderStorage.renameFolder(java.lang.String fullname, java.lang.String newName)
          Renames the folder identified through given fullname to the specified new name.
 java.lang.String IMailFolderStorage.renameFolder(java.lang.String fullname, java.lang.String newName)
          Renames the folder identified through given fullname to the specified new name.
 MailMessage IMailMessageStorage.saveDraft(java.lang.String draftFullname, ComposedMailMessage draftMail)
          A convenience method that saves given draft mail to default drafts folder and supports deletion of old draft's version (draft-edit operation).
 MailMessage MailMessageStorage.saveDraft(java.lang.String draftFullname, ComposedMailMessage draftMail)
           
 MailMessage[] IMailMessageStorage.searchMessages(java.lang.String folder, IndexRange indexRange, MailSortField sortField, OrderDirection order, SearchTerm<?> searchTerm, MailField[] fields)
          Searches mails located in given folder.
abstract  MailMessage[] MailMessageStorage.searchMessages(java.lang.String folder, IndexRange indexRange, MailSortField sortField, OrderDirection order, SearchTerm<?> searchTerm, MailField[] fields)
           
 void MailProvider.shutDown()
          Performs provider's shut-down
 void MailProvider.startUp()
          Performs provider's start-up
abstract  java.lang.String MailFolderStorage.updateFolder(java.lang.String fullname, MailFolderDescription toUpdate)
           
 java.lang.String IMailFolderStorage.updateFolder(java.lang.String fullname, MailFolderDescription toUpdate)
          Updates an existing mail folder identified through given fullname.
 void IMailMessageStorage.updateMessageColorLabel(java.lang.String folder, java.lang.String[] mailIds, int colorLabel)
          An optional method that updates the color label of the messages specified by given mail IDs located in given folder.
 void MailMessageStorage.updateMessageColorLabel(java.lang.String folder, java.lang.String[] mailIds, int colorLabel)
           
 void IMailMessageStorage.updateMessageFlags(java.lang.String folder, java.lang.String[] mailIds, int flags, boolean set)
          Updates the flags of the messages specified by given mail IDs located in given folder.
abstract  void MailMessageStorage.updateMessageFlags(java.lang.String folder, java.lang.String[] mailIds, int flags, boolean set)
           
 

Uses of MailException in com.openexchange.mail.api.enhanced
 

Methods in com.openexchange.mail.api.enhanced that throw MailException
 java.lang.String[] MailMessageStorageLong.appendMessages(java.lang.String destFolder, MailMessage[] msgs)
           
abstract  long[] MailMessageStorageLong.appendMessagesLong(java.lang.String destFolder, MailMessage[] msgs)
          Appends given messages to given folder.
 java.lang.String[] MailMessageStorageLong.copyMessages(java.lang.String sourceFolder, java.lang.String destFolder, java.lang.String[] mailIds, boolean fast)
           
abstract  long[] MailMessageStorageLong.copyMessagesLong(java.lang.String sourceFolder, java.lang.String destFolder, long[] mailIds, boolean fast)
          Copies the mails identified through given mail IDs from source folder to destination folder.
 void MailMessageStorageLong.deleteMessages(java.lang.String folder, java.lang.String[] mailIds, boolean hardDelete)
           
abstract  void MailMessageStorageLong.deleteMessagesLong(java.lang.String folder, long[] mailIds, boolean hardDelete)
          Deletes the messages located in given folder identified through given mail IDs.
 MailMessage[] MailMessageStorageLong.getAllMessages(java.lang.String folder, IndexRange indexRange, MailSortField sortField, OrderDirection order, MailField[] fields)
          A convenience method that delivers all messages contained in given folder through invoking searchMessages() without search arguments.
 MailPart MailMessageStorageLong.getAttachment(java.lang.String folder, java.lang.String mailId, java.lang.String sequenceId)
           
 MailPart MailMessageStorageLong.getAttachmentLong(java.lang.String folder, long mailId, java.lang.String sequenceId)
          A convenience method that fetches the mail message's attachment identified through given sequenceId.
 MailPart MailMessageStorageLong.getImageAttachment(java.lang.String folder, java.lang.String mailId, java.lang.String contentId)
           
 MailPart MailMessageStorageLong.getImageAttachmentLong(java.lang.String folder, long mailId, java.lang.String contentId)
          A convenience method that fetches the mail message's image attachment identified by its Content-Id header given through argument contentId.
 MailMessage MailMessageStorageLong.getMessage(java.lang.String folder, java.lang.String mailId, boolean markSeen)
           
 MailMessage MailMessageStorageLong.getMessageLong(java.lang.String folder, long mailId, boolean markSeen)
          Gets the mail located in given folder whose mail ID matches specified ID.
 MailMessage[] MailMessageStorageLong.getMessages(java.lang.String folder, java.lang.String[] mailIds, MailField[] fields)
           
abstract  MailMessage[] MailMessageStorageLong.getMessagesLong(java.lang.String folder, long[] mailIds, MailField[] fields)
          Gets the mails located in given folder whose mail ID matches specified ID.
 MailMessage[] MailMessageStorageLong.getThreadSortedMessages(java.lang.String folder, IndexRange indexRange, MailSortField sortField, OrderDirection order, SearchTerm<?> searchTerm, MailField[] fields)
          An optional convenience method that gets the messages located in given folder sorted by message thread reference.
 MailMessage[] MailMessageStorageLong.getUnreadMessages(java.lang.String folder, MailSortField sortField, OrderDirection order, MailField[] fields, int limit)
          Gets all unread messages located in given folder; meaning messages that do not have the \Seen flag set.
 java.lang.String[] MailMessageStorageLong.moveMessages(java.lang.String sourceFolder, java.lang.String destFolder, java.lang.String[] mailIds, boolean fast)
           
 long[] MailMessageStorageLong.moveMessagesLong(java.lang.String sourceFolder, java.lang.String destFolder, long[] mailIds, boolean fast)
          Moves the mails identified through given mail IDs from source folder to destination folder.
abstract  void MailMessageStorageLong.releaseResources()
          Releases all resources used by this message storage when closing superior MailAccess
 MailMessage MailMessageStorageLong.saveDraft(java.lang.String draftFullname, ComposedMailMessage draftMail)
          A convenience method that saves given draft mail to default drafts folder and supports deletion of old draft's version (draft-edit operation).
abstract  MailMessage[] MailMessageStorageLong.searchMessages(java.lang.String folder, IndexRange indexRange, MailSortField sortField, OrderDirection order, SearchTerm<?> searchTerm, MailField[] fields)
          Searches mails located in given folder.
 void MailMessageStorageLong.updateMessageColorLabel(java.lang.String folder, java.lang.String[] mailIds, int colorLabel)
          An optional method that updates the color label of the messages specified by given mail IDs located in given folder.
 void MailMessageStorageLong.updateMessageColorLabelLong(java.lang.String folder, long[] mailIds, int colorLabel)
          An optional method that updates the color label of the messages specified by given mail IDs located in given folder.
 void MailMessageStorageLong.updateMessageFlags(java.lang.String folder, java.lang.String[] mailIds, int flags, boolean set)
           
abstract  void MailMessageStorageLong.updateMessageFlagsLong(java.lang.String folder, long[] mailIds, int flags, boolean set)
          Updates the flags of the messages specified by given mail IDs located in given folder.
 

Uses of MailException in com.openexchange.mail.cache
 

Methods in com.openexchange.mail.cache that throw MailException
 void MailAccessCache.clearUserEntries(com.openexchange.session.Session session)
          Clears the cache entries kept for specified user.
static MailAccessCache MailAccessCache.getInstance()
          Gets the singleton instance.
 void MailAccessCache.initCache()
          Initializes cache reference.
 

Uses of MailException in com.openexchange.mail.config
 

Subclasses of MailException in com.openexchange.mail.config
 class MailConfigException
          MailConfigException - Errors related to mail configuration
 

Uses of MailException in com.openexchange.mail.dataobjects
 

Methods in com.openexchange.mail.dataobjects that throw MailException
static int MailMessage.getColorLabelIntValue(java.lang.String cl)
          Determines the corresponding int value of a given color label's string representation.
 java.lang.Object IDMailMessage.getContent()
           
 java.lang.Object UUEncodedAttachmentMailPart.getContent()
           
 java.lang.Object CompositeMailMessage.getContent()
           
abstract  java.lang.Object MailPart.getContent()
          Returns the part's content as a Java object dependent on underlying implementation.
 javax.activation.DataHandler IDMailMessage.getDataHandler()
           
 javax.activation.DataHandler UUEncodedAttachmentMailPart.getDataHandler()
           
 javax.activation.DataHandler CompositeMailMessage.getDataHandler()
           
abstract  javax.activation.DataHandler MailPart.getDataHandler()
          Returns an appropriate DataHandler for this mail part.
 int IDMailMessage.getEnclosedCount()
           
 int UUEncodedAttachmentMailPart.getEnclosedCount()
           
 int CompositeMailMessage.getEnclosedCount()
           
abstract  int MailPart.getEnclosedCount()
          Gets the number of enclosed mail parts.
 MailPart IDMailMessage.getEnclosedMailPart(int index)
           
 MailPart UUEncodedAttachmentMailPart.getEnclosedMailPart(int index)
           
 MailPart CompositeMailMessage.getEnclosedMailPart(int index)
           
abstract  MailPart MailPart.getEnclosedMailPart(int index)
          Gets the mail part located at given index.
 java.io.InputStream IDMailMessage.getInputStream()
           
 java.io.InputStream UUEncodedAttachmentMailPart.getInputStream()
           
 java.io.InputStream CompositeMailMessage.getInputStream()
           
abstract  java.io.InputStream MailPart.getInputStream()
          Returns an input stream for this part.
static MailStructure MailStructure.getMailStructure(MailMessage mail)
          Generates the corresponding mail structure for specified mail message.
 java.lang.String MailPart.getSource()
          Gets the mail part's source
 byte[] MailPart.getSourceBytes()
          Gets a newly allocated byte array containing the mail part's source bytes
 boolean MailPart.hasEnclosedParts()
          Checks if part's MIME type is multipart/*
 void IDMailMessage.loadContent()
           
 void CompositeMailMessage.loadContent()
           
abstract  void MailPart.loadContent()
          Ensures that the part's content is loaded, thus this part is independent of the original.
 void MailPart.setContentDisposition(java.lang.String disposition)
          Sets the disposition
 void MailPart.setContentType(java.lang.String contentType)
          Parses and sets the content type
 void MailMessage.setFlag(int flag, boolean enable)
          Sets a system flag
 void CompositeMailMessage.writeTo(java.io.OutputStream out)
           
 void MailPart.writeTo(java.io.OutputStream out)
          Writes complete part's data into given output stream
 

Constructors in com.openexchange.mail.dataobjects that throw MailException
CompositeMailMessage(MailMessage delegate)
          Constructor
 

Uses of MailException in com.openexchange.mail.dataobjects.compose
 

Methods in com.openexchange.mail.dataobjects.compose that throw MailException
abstract  TextBodyMailPart TextBodyMailPart.copy()
          Gets a copy of this TextBodyMailPart.
 java.lang.Object TextBodyMailPart.getContent()
           
 java.lang.Object DataMailPart.getContent()
           
 java.lang.Object InfostoreDocumentMailPart.getContent()
           
 java.lang.Object ReferencedMailPart.getContent()
           
 java.lang.Object UploadFileMailPart.getContent()
           
 javax.activation.DataHandler TextBodyMailPart.getDataHandler()
           
 javax.activation.DataHandler DataMailPart.getDataHandler()
           
 javax.activation.DataHandler InfostoreDocumentMailPart.getDataHandler()
           
 javax.activation.DataHandler ReferencedMailPart.getDataHandler()
           
 javax.activation.DataHandler UploadFileMailPart.getDataHandler()
           
 int TextBodyMailPart.getEnclosedCount()
           
 int DataMailPart.getEnclosedCount()
           
 int InfostoreDocumentMailPart.getEnclosedCount()
           
 int ReferencedMailPart.getEnclosedCount()
           
 int UploadFileMailPart.getEnclosedCount()
           
abstract  int ComposedMailMessage.getEnclosedCount()
          Gets the number of enclosed mail parts.
 MailPart TextBodyMailPart.getEnclosedMailPart(int index)
           
 MailPart DataMailPart.getEnclosedMailPart(int index)
           
 MailPart InfostoreDocumentMailPart.getEnclosedMailPart(int index)
           
 MailPart ReferencedMailPart.getEnclosedMailPart(int index)
           
 MailPart UploadFileMailPart.getEnclosedMailPart(int index)
           
abstract  MailPart ComposedMailMessage.getEnclosedMailPart(int index)
          Gets this composed mail's part located at given index.
 java.io.InputStream TextBodyMailPart.getInputStream()
           
 java.io.InputStream DataMailPart.getInputStream()
           
 java.io.InputStream InfostoreDocumentMailPart.getInputStream()
           
 java.io.InputStream ReferencedMailPart.getInputStream()
           
 java.io.InputStream UploadFileMailPart.getInputStream()
           
 void DataMailPart.loadContent()
           
 

Constructors in com.openexchange.mail.dataobjects.compose that throw MailException
InfostoreDocumentMailPart(int documentId, com.openexchange.session.Session session)
          Constructor
 

Uses of MailException in com.openexchange.mail.json.parser
 

Methods in com.openexchange.mail.json.parser that throw MailException
static void FolderParser.parse(org.json.JSONObject jsonObj, MailFolderDescription mailFolder, com.openexchange.session.Session session, int accountId)
          Parses given instance of JSONObject to given instance of MailFolder
static void MessageParser.parse(org.json.JSONObject jsonObj, MailMessage mail, com.openexchange.session.Session session, int accountId)
          Parses given instance of JSONObject to given instance of MailMessage.
static void MessageParser.parse(org.json.JSONObject jsonObj, MailMessage mail, java.util.TimeZone timeZone, com.openexchange.session.Session session, int accountId)
          Parses given instance of JSONObject to given instance of MailMessage.
static ComposedMailMessage MessageParser.parse4Draft(org.json.JSONObject jsonObj, com.openexchange.groupware.upload.impl.UploadEvent uploadEvent, com.openexchange.session.Session session, int accountId)
          Completely parses given instance of JSONObject and given instance of UploadEvent to a corresponding ComposedMailMessage object dedicated for being saved as a draft message.
static ComposedMailMessage[] MessageParser.parse4Transport(org.json.JSONObject jsonObj, com.openexchange.groupware.upload.impl.UploadEvent uploadEvent, com.openexchange.session.Session session, int accountId, java.lang.String protocol, java.lang.String hostName)
          Completely parses given instance of JSONObject and given instance of UploadEvent to corresponding ComposedMailMessage objects dedicated for being sent.
static void MessageParser.parseBasics(org.json.JSONObject jsonObj, MailMessage mail, java.util.TimeZone timeZone)
          Takes a mail as jsonObj and extracts the values into a given MailMessage object.
 

Constructors in com.openexchange.mail.json.parser that throw MailException
AbstractAttachmentHandler(com.openexchange.session.Session session)
          Initializes a new AbstractAttachmentHandler.
 

Uses of MailException in com.openexchange.mail.json.writer
 

Methods in com.openexchange.mail.json.writer that throw MailException
 void FolderWriter.MailFolderFieldWriter.writeField(org.json.JSONValue jsonContainer, int accountId, MailFolder folder, boolean withKey)
           
 void FolderWriter.MailFolderFieldWriter.writeField(org.json.JSONValue jsonContainer, int accountId, MailFolder folder, boolean withKey, java.lang.String name, int hasSubfolders)
           
abstract  void FolderWriter.MailFolderFieldWriter.writeField(org.json.JSONValue jsonContainer, int accountId, MailFolder folder, boolean withKey, java.lang.String name, int hasSubfolders, java.lang.String fullName, int module, boolean all)
           
 void MessageWriter.MailFieldWriter.writeField(org.json.JSONValue jsonContainer, MailMessage mail, int level, boolean withKey, int accountId, int user, int cid)
           
static org.json.JSONObject FolderWriter.writeMailFolder(int accountId, MailFolder folder, MailConfig mailConfig)
          Writes whole folder as a JSON object
static org.json.JSONObject MessageWriter.writeMailMessage(int accountId, MailMessage mail, DisplayMode displayMode, com.openexchange.session.Session session, UserSettingMail settings)
          Writes whole mail as a JSON object.
 

Uses of MailException in com.openexchange.mail.mime
 

Subclasses of MailException in com.openexchange.mail.mime
 class MIMEMailException
          MIMEMailException - For MIME related errors.
 

Methods in com.openexchange.mail.mime that throw MailException
static java.lang.String ContentType.getBaseType(java.lang.String mimeType)
          Detects the base type of given MIME type
static boolean ContentType.isMimeType(java.lang.String mimeType, java.lang.String pattern)
          Checks if given MIME type's base type matches given wildcard pattern (e.g text/plain, text/* or text/htm*)
 void HeaderCollection.load(java.io.InputStream inputStream)
          Read and parse the given headers' RFC822 input stream till the blank line separating the header from the body.
 void HeaderCollection.load(java.lang.String headerSrc)
          Read and parse the given headers' RFC822 source till the blank line separating the header from the body.
static java.lang.String ContentType.prepareContentTypeString(java.lang.String contentType)
          Parses and prepares specified content-type string for being inserted into a MIME part's headers.
static java.lang.String ContentType.prepareContentTypeString(java.lang.String contentType, java.lang.String name)
          Parses and prepares specified content-type string for being inserted into a MIME part's headers.
 void ContentType.setBaseType(java.lang.String baseType)
          Sets base type (e.g.
 void ContentDisposition.setContentDisposition(java.lang.String contentDisp)
          Sets Content-Disposition
 void ContentType.setContentType(java.lang.String contentType)
          Sets Content-Type
 

Constructors in com.openexchange.mail.mime that throw MailException
ContentDisposition(java.lang.String contentDisp)
          Initializes a new ContentDisposition
ContentType(java.lang.String contentType)
          Initializes a new ContentType
HeaderCollection(java.io.InputStream inputStream)
          Initializes a new HeaderCollection from specified headers' RFC822 input stream
HeaderCollection(java.lang.String headerSrc)
          Initializes a new HeaderCollection from specified headers' RFC822 source
 

Uses of MailException in com.openexchange.mail.mime.converters
 

Methods in com.openexchange.mail.mime.converters that throw MailException
static javax.mail.Message MIMEMessageConverter.convertComposedMailMessage(ComposedMailMessage composedMail)
          Converts given instance of ComposedMailMessage into a JavaMail-conform Message object.
static javax.mail.Message MIMEMessageConverter.convertMailMessage(MailMessage mail)
          Converts given instance of MailMessage into a JavaMail-conform Message object.
static javax.mail.Message MIMEMessageConverter.convertMailMessage(MailMessage mail, boolean clone)
          Converts given instance of MailMessage into a JavaMail-conform Message object.
static javax.mail.Message[] MIMEMessageConverter.convertMailMessages(MailMessage[] mails)
          Converts given instances of MailMessage into JavaMail-conform Message objects.
static javax.mail.Message[] MIMEMessageConverter.convertMailMessages(MailMessage[] mails, boolean clone)
          Converts given instances of MailMessage into JavaMail-conform Message objects.
static javax.mail.Part MIMEMessageConverter.convertMailPart(MailPart mailPart)
          Creates a Part object from given instance of MailPart.
static MailMessage MIMEMessageConverter.convertMessage(byte[] asciiBytes)
          Creates a message data object from given message bytes conform to RFC822.
static MailMessage MIMEMessageConverter.convertMessage(byte[] asciiBytes, java.lang.String uid, java.lang.String fullname, char separator, MailField[] fields)
          Creates a message data object from given message/rfc822 content filled with desired fields.
static MailMessage MIMEMessageConverter.convertMessage(javax.mail.internet.MimeMessage msg)
          Creates a message data object from given MIME message.
static MailMessage MIMEMessageConverter.convertMessage(javax.mail.internet.MimeMessage msg, java.lang.String uid, java.lang.String fullname, char separator, MailField[] fields)
          Creates a message data object from given MIME message filled with desired fields.
static MailMessage[] MIMEMessageConverter.convertMessages(javax.mail.Message[] msgs, javax.mail.Folder folder, MailField[] fields, boolean includeBody)
          Converts given array of Message instances to an array of MailMessage instances.
static MailMessage[] MIMEMessageConverter.convertMessages(javax.mail.Message[] msgs, MailField[] fields)
          Converts given array of Message instances to an array of MailMessage instances.
static MailMessage[] MIMEMessageConverter.convertMessages(javax.mail.Message[] msgs, MailField[] fields, boolean includeBody)
          Converts given array of Message instances to an array of MailMessage instances.
static MailPart MIMEMessageConverter.convertPart(byte[] asciiBytes)
          Creates a MIME mail part object from given raw bytes.
static MailPart MIMEMessageConverter.convertPart(javax.mail.Part part)
          Creates a MIME mail part object from given MIME part.
static MailPart MIMEMessageConverter.convertPart(javax.mail.Part part, boolean enforeSize)
          Creates a MIME mail part object from given MIME part.
static MailMessage MIMEMessageConverter.fillComposedMailMessage(ComposedMailMessage composedMail)
          Fills specified instance of ComposedMailMessage with MIMEMessageFiller.
 

Uses of MailException in com.openexchange.mail.mime.dataobjects
 

Methods in com.openexchange.mail.mime.dataobjects that throw MailException
 java.lang.Object MIMEMultipartMailPart.getContent()
           
 java.lang.Object MIMEMailMessage.getContent()
           
 java.lang.Object NestedMessageMailPart.getContent()
           
 java.lang.Object MIMEMailPart.getContent()
           
 javax.activation.DataHandler MIMEMultipartMailPart.getDataHandler()
           
 javax.activation.DataHandler MIMEMailMessage.getDataHandler()
           
 javax.activation.DataHandler NestedMessageMailPart.getDataHandler()
           
 javax.activation.DataHandler MIMEMailPart.getDataHandler()
           
 int MIMEMultipartMailPart.getEnclosedCount()
           
 int MIMEMailMessage.getEnclosedCount()
           
 int NestedMessageMailPart.getEnclosedCount()
           
 int MIMEMailPart.getEnclosedCount()
           
 MailPart MIMEMultipartMailPart.getEnclosedMailPart(int index)
           
 MailPart MIMEMailMessage.getEnclosedMailPart(int index)
           
 MailPart NestedMessageMailPart.getEnclosedMailPart(int index)
           
 MailPart MIMEMailPart.getEnclosedMailPart(int index)
           
 java.io.InputStream MIMEMultipartMailPart.getInputStream()
           
 java.io.InputStream MIMEMailMessage.getInputStream()
           
 java.io.InputStream NestedMessageMailPart.getInputStream()
           
 java.io.InputStream MIMEMailPart.getInputStream()
           
 void MIMEMultipartMailPart.loadContent()
           
 void MIMEMailMessage.loadContent()
           
 void NestedMessageMailPart.loadContent()
           
 void MIMEMailPart.loadContent()
           
 void MIMEMailMessage.setContent(javax.mail.internet.MimeMessage msg)
          Sets this mail message's content
 void MIMEMultipartMailPart.writeTo(java.io.OutputStream out)
           
 void MIMEMailMessage.writeTo(java.io.OutputStream out)
           
 void NestedMessageMailPart.writeTo(java.io.OutputStream out)
           
 void MIMEMailPart.writeTo(java.io.OutputStream out)
           
 

Constructors in com.openexchange.mail.mime.dataobjects that throw MailException
MIMEMailMessage(javax.mail.internet.MimeMessage msg)
          Constructor - Only applies specified message, but does not set any attributes
MIMEMultipartMailPart(byte[] inputData)
          Initializes a new MIMEMultipartMailPart.
MIMEMultipartMailPart(ContentType contentType, byte[] inputData)
          Initializes a new MIMEMultipartMailPart.
MIMEMultipartMailPart(ContentType contentType, javax.activation.DataSource dataSource)
          Initializes a new MIMEMultipartMailPart.
MIMEMultipartMailPart(ContentType contentType, java.io.InputStream inputStream)
          Initializes a new MIMEMultipartMailPart.
MIMEMultipartMailPart(javax.activation.DataSource dataSource)
          Initializes a new MIMEMultipartMailPart.
MIMEMultipartMailPart(java.io.InputStream inputStream)
          Initializes a new MIMEMultipartMailPart.
NestedMessageMailPart(MailMessage mailMessage)
          Initializes a new NestedMessageMailPart.
 

Uses of MailException in com.openexchange.mail.mime.datasource
 

Constructors in com.openexchange.mail.mime.datasource that throw MailException
MessageDataSource(java.lang.String data, java.lang.String contentType)
          Create a data source from a String
 

Uses of MailException in com.openexchange.mail.mime.filler
 

Methods in com.openexchange.mail.mime.filler that throw MailException
 void MIMEMessageFiller.fillMailBody(ComposedMailMessage mail, javax.mail.internet.MimeMessage mimeMessage, ComposeType type)
          Fills the body of given instance of MimeMessage with the contents specified through given instance of ComposedMailMessage.
 

Uses of MailException in com.openexchange.mail.mime.processing
 

Methods in com.openexchange.mail.mime.processing that throw MailException
static MailMessage MimeForward.getFowardMail(MailMessage[] originalMails, com.openexchange.session.Session session, int accountID)
          Composes a forward message from specified original messages based on MIME objects from JavaMail API.
static MailMessage MimeForward.getFowardMail(MailMessage[] originalMails, com.openexchange.session.Session session, int[] accountIDs, UserSettingMail usm)
          Composes a forward message from specified original messages taken from possibly differing accounts based on MIME objects from JavaMail API.
static MailMessage MimeForward.getFowardMail(MailMessage[] originalMails, com.openexchange.session.Session session, int accountID, UserSettingMail usm)
          Composes a forward message from specified original messages based on MIME objects from JavaMail API.
static MailMessage MimeReply.getReplyMail(MailMessage originalMail, boolean replyAll, com.openexchange.session.Session session, int accountId)
          Composes a reply message from specified original message based on MIME objects from JavaMail API.
static MailMessage MimeReply.getReplyMail(MailMessage originalMail, boolean replyAll, com.openexchange.session.Session session, int accountId, UserSettingMail usm)
          Composes a reply message from specified original message based on MIME objects from JavaMail API.
 

Uses of MailException in com.openexchange.mail.mime.utils
 

Methods in com.openexchange.mail.mime.utils that throw MailException
static boolean MIMEMessageUtility.hasAttachments(javax.mail.Multipart mp, java.lang.String subtype)
          Checks if given multipart contains (file) attachments
 

Uses of MailException in com.openexchange.mail.parser
 

Methods in com.openexchange.mail.parser that throw MailException
 boolean MailMessageHandler.handleAttachment(MailPart part, boolean isInline, java.lang.String baseContentType, java.lang.String fileName, java.lang.String id)
          Handle an attachment part (any non-inline parts and file attachments)
 boolean MailMessageHandler.handleBccRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
          Handle the 'Bcc' recipient message header
 boolean MailMessageHandler.handleCcRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
          Handle the 'Cc' recipient message header
 boolean MailMessageHandler.handleColorLabel(int colorLabel)
          Handle message's color label
 boolean MailMessageHandler.handleContentId(java.lang.String contentId)
          Handle content id
 boolean MailMessageHandler.handleDispositionNotification(javax.mail.internet.InternetAddress dispositionNotificationTo, boolean seen)
          Handle message's disposition notification
 boolean MailMessageHandler.handleFrom(javax.mail.internet.InternetAddress[] fromAddrs)
          Handle the 'From' message header
 boolean MailMessageHandler.handleHeaders(int size, java.util.Iterator<java.util.Map.Entry<java.lang.String,java.lang.String>> iter)
          Handle those message headers which cannot be handled through a handleXXX method
 boolean MailMessageHandler.handleImagePart(MailPart part, java.lang.String imageCID, java.lang.String baseContentType, boolean isInline, java.lang.String fileName, java.lang.String id)
          Handle an image part (image/*)
 boolean MailMessageHandler.handleInlineHtml(java.lang.String htmlContent, ContentType contentType, long size, java.lang.String fileName, java.lang.String id)
          Handle a html inline part (text/html)
 boolean MailMessageHandler.handleInlinePlainText(java.lang.String plainTextContent, ContentType contentType, long size, java.lang.String fileName, java.lang.String id)
          Handle a plain text inline part (either text/plain or text/enriched)
 boolean MailMessageHandler.handleInlineUUEncodedAttachment(UUEncodedPart part, java.lang.String id)
          Handle a UUEncoded file attachment inline part
 boolean MailMessageHandler.handleInlineUUEncodedPlainText(java.lang.String decodedTextContent, ContentType contentType, int size, java.lang.String fileName, java.lang.String id)
          Handle a UUEncoded plain text inline part
 void MailMessageHandler.handleMessageEnd(MailMessage mail)
          Perform some optional finishing operations
 boolean MailMessageHandler.handleMsgRef(java.lang.String msgRef)
          Handle referenced mail
 boolean MailMessageHandler.handleMultipart(MailPart mp, int bodyPartCount, java.lang.String id)
          Handle a multipart (multipart/*)
 boolean MailMessageHandler.handleNestedMessage(MailPart mailPart, java.lang.String id)
          Handle a nested message (message/rfc822)
 boolean MailMessageHandler.handlePriority(int priority)
          Handle message's priority
 boolean MailMessageHandler.handleReceivedDate(java.util.Date receivedDate)
          Handle message's received date
 boolean MailMessageHandler.handleSentDate(java.util.Date sentDate)
          Handle message's sent date
 boolean MailMessageHandler.handleSpecialPart(MailPart part, java.lang.String baseContentType, java.lang.String fileName, java.lang.String id)
          Handle special parts.
 boolean MailMessageHandler.handleSubject(java.lang.String subject)
          Handle message's subject
 boolean MailMessageHandler.handleSystemFlags(int flags)
          Handle message's system flags (//SEEN, //ANSWERED, ...)
 boolean MailMessageHandler.handleToRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
          Handle the 'To' recipient message header
 boolean MailMessageHandler.handleUserFlags(java.lang.String[] userFlags)
          Handle message's user flags
 void MailMessageParser.parseMailMessage(MailMessage mail, MailMessageHandler handler)
          Parses specified mail using given handler as call-back
 void MailMessageParser.parseMailMessage(MailMessage mail, MailMessageHandler handler, java.lang.String prefix)
          Parses specified mail using given handler as call-back and given initial prefix for mail part identifiers; e.g.
 

Uses of MailException in com.openexchange.mail.parser.handlers
 

Methods in com.openexchange.mail.parser.handlers that throw MailException
 boolean DumperMessageHandler.handleAttachment(MailPart part, boolean isInline, java.lang.String baseContentType, java.lang.String fileName, java.lang.String id)
           
 boolean JSONMessageHandler.handleAttachment(MailPart part, boolean isInline, java.lang.String baseContentType, java.lang.String fileName, java.lang.String id)
           
 boolean NonInlineForwardPartHandler.handleAttachment(MailPart part, boolean isInline, java.lang.String baseContentType, java.lang.String fileName, java.lang.String id)
           
 boolean MultipleMailPartHandler.handleAttachment(MailPart part, boolean isInline, java.lang.String baseContentType, java.lang.String fileName, java.lang.String id)
           
 boolean MailPartHandler.handleAttachment(MailPart part, boolean isInline, java.lang.String baseContentType, java.lang.String fileName, java.lang.String id)
           
 boolean InlineContentHandler.handleAttachment(MailPart part, boolean isInline, java.lang.String baseContentType, java.lang.String fileName, java.lang.String id)
           
 boolean ImageMessageHandler.handleAttachment(MailPart part, boolean isInline, java.lang.String baseContentType, java.lang.String fileName, java.lang.String id)
           
 boolean DumperMessageHandler.handleBccRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
           
 boolean JSONMessageHandler.handleBccRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
           
 boolean NonInlineForwardPartHandler.handleBccRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
           
 boolean MultipleMailPartHandler.handleBccRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
           
 boolean MailPartHandler.handleBccRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
           
 boolean InlineContentHandler.handleBccRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
           
 boolean ImageMessageHandler.handleBccRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
           
 boolean DumperMessageHandler.handleCcRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
           
 boolean JSONMessageHandler.handleCcRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
           
 boolean NonInlineForwardPartHandler.handleCcRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
           
 boolean MultipleMailPartHandler.handleCcRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
           
 boolean MailPartHandler.handleCcRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
           
 boolean InlineContentHandler.handleCcRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
           
 boolean ImageMessageHandler.handleCcRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
           
 boolean DumperMessageHandler.handleColorLabel(int colorLabel)
           
 boolean JSONMessageHandler.handleColorLabel(int colorLabel)
           
 boolean NonInlineForwardPartHandler.handleColorLabel(int colorLabel)
           
 boolean MultipleMailPartHandler.handleColorLabel(int colorLabel)
           
 boolean MailPartHandler.handleColorLabel(int colorLabel)
           
 boolean InlineContentHandler.handleColorLabel(int colorLabel)
           
 boolean ImageMessageHandler.handleColorLabel(int colorLabel)
           
 boolean DumperMessageHandler.handleContentId(java.lang.String contentId)
           
 boolean JSONMessageHandler.handleContentId(java.lang.String contentId)
           
 boolean NonInlineForwardPartHandler.handleContentId(java.lang.String contentId)
           
 boolean MultipleMailPartHandler.handleContentId(java.lang.String contentId)
           
 boolean MailPartHandler.handleContentId(java.lang.String contentId)
           
 boolean InlineContentHandler.handleContentId(java.lang.String contentId)
           
 boolean ImageMessageHandler.handleContentId(java.lang.String contentId)
           
 boolean DumperMessageHandler.handleDispositionNotification(javax.mail.internet.InternetAddress dispositionNotificationTo, boolean seen)
           
 boolean JSONMessageHandler.handleDispositionNotification(javax.mail.internet.InternetAddress dispositionNotificationTo, boolean seen)
           
 boolean NonInlineForwardPartHandler.handleDispositionNotification(javax.mail.internet.InternetAddress dispositionNotificationTo, boolean seen)
           
 boolean MultipleMailPartHandler.handleDispositionNotification(javax.mail.internet.InternetAddress dispositionNotificationTo, boolean seen)
           
 boolean MailPartHandler.handleDispositionNotification(javax.mail.internet.InternetAddress dispositionNotificationTo, boolean seen)
           
 boolean InlineContentHandler.handleDispositionNotification(javax.mail.internet.InternetAddress dispositionNotificationTo, boolean seen)
           
 boolean ImageMessageHandler.handleDispositionNotification(javax.mail.internet.InternetAddress dispositionNotificationTo, boolean seen)
           
 boolean DumperMessageHandler.handleFrom(javax.mail.internet.InternetAddress[] fromAddrs)
           
 boolean JSONMessageHandler.handleFrom(javax.mail.internet.InternetAddress[] fromAddrs)
           
 boolean NonInlineForwardPartHandler.handleFrom(javax.mail.internet.InternetAddress[] fromAddrs)
           
 boolean MultipleMailPartHandler.handleFrom(javax.mail.internet.InternetAddress[] fromAddrs)
           
 boolean MailPartHandler.handleFrom(javax.mail.internet.InternetAddress[] fromAddrs)
           
 boolean InlineContentHandler.handleFrom(javax.mail.internet.InternetAddress[] fromAddrs)
           
 boolean ImageMessageHandler.handleFrom(javax.mail.internet.InternetAddress[] fromAddrs)
           
 boolean DumperMessageHandler.handleHeaders(int size, java.util.Iterator<java.util.Map.Entry<java.lang.String,java.lang.String>> iter)
           
 boolean JSONMessageHandler.handleHeaders(int size, java.util.Iterator<java.util.Map.Entry<java.lang.String,java.lang.String>> iter)
           
 boolean NonInlineForwardPartHandler.handleHeaders(int size, java.util.Iterator<java.util.Map.Entry<java.lang.String,java.lang.String>> iter)
           
 boolean MultipleMailPartHandler.handleHeaders(int size, java.util.Iterator<java.util.Map.Entry<java.lang.String,java.lang.String>> iter)
           
 boolean MailPartHandler.handleHeaders(int size, java.util.Iterator<java.util.Map.Entry<java.lang.String,java.lang.String>> iter)
           
 boolean InlineContentHandler.handleHeaders(int size, java.util.Iterator<java.util.Map.Entry<java.lang.String,java.lang.String>> iter)
           
 boolean ImageMessageHandler.handleHeaders(int size, java.util.Iterator<java.util.Map.Entry<java.lang.String,java.lang.String>> iter)
           
 boolean DumperMessageHandler.handleImagePart(MailPart part, java.lang.String imageCID, java.lang.String baseContentType, boolean isInline, java.lang.String fileName, java.lang.String id)
           
 boolean JSONMessageHandler.handleImagePart(MailPart part, java.lang.String imageCID, java.lang.String baseContentType, boolean isInline, java.lang.String fileName, java.lang.String id)
           
 boolean NonInlineForwardPartHandler.handleImagePart(MailPart part, java.lang.String imageCID, java.lang.String baseContentType, boolean isInline, java.lang.String fileName, java.lang.String id)
           
 boolean MultipleMailPartHandler.handleImagePart(MailPart part, java.lang.String imageCID, java.lang.String baseContentType, boolean isInline, java.lang.String fileName, java.lang.String id)
           
 boolean MailPartHandler.handleImagePart(MailPart part, java.lang.String imageCID, java.lang.String baseContentType, boolean isInline, java.lang.String fileName, java.lang.String id)
           
 boolean InlineContentHandler.handleImagePart(MailPart part, java.lang.String imageCIDArg, java.lang.String baseContentType, boolean isInline, java.lang.String fileName, java.lang.String id)
           
 boolean ImageMessageHandler.handleImagePart(MailPart part, java.lang.String imageCID, java.lang.String baseContentType, boolean isInline, java.lang.String fileName, java.lang.String id)
           
 boolean DumperMessageHandler.handleInlineHtml(java.lang.String htmlContent, ContentType contentType, long size, java.lang.String fileName, java.lang.String id)
           
 boolean JSONMessageHandler.handleInlineHtml(java.lang.String htmlContent, ContentType contentType, long size, java.lang.String fileName, java.lang.String id)
           
 boolean NonInlineForwardPartHandler.handleInlineHtml(java.lang.String htmlContent, ContentType contentType, long size, java.lang.String fileName, java.lang.String id)
           
 boolean MultipleMailPartHandler.handleInlineHtml(java.lang.String htmlContent, ContentType contentType, long size, java.lang.String fileName, java.lang.String id)
           
 boolean MailPartHandler.handleInlineHtml(java.lang.String htmlContent, ContentType contentType, long size, java.lang.String fileName, java.lang.String id)
           
 boolean InlineContentHandler.handleInlineHtml(java.lang.String htmlContent, ContentType contentType, long size, java.lang.String fileName, java.lang.String id)
           
 boolean ImageMessageHandler.handleInlineHtml(java.lang.String htmlContent, ContentType contentType, long size, java.lang.String fileName, java.lang.String id)
           
 boolean DumperMessageHandler.handleInlinePlainText(java.lang.String plainTextContent, ContentType contentType, long size, java.lang.String fileName, java.lang.String id)
           
 boolean JSONMessageHandler.handleInlinePlainText(java.lang.String plainTextContentArg, ContentType contentType, long size, java.lang.String fileName, java.lang.String id)
           
 boolean NonInlineForwardPartHandler.handleInlinePlainText(java.lang.String plainTextContent, ContentType contentType, long size, java.lang.String fileName, java.lang.String id)
           
 boolean MultipleMailPartHandler.handleInlinePlainText(java.lang.String plainTextContent, ContentType contentType, long size, java.lang.String fileName, java.lang.String id)
           
 boolean MailPartHandler.handleInlinePlainText(java.lang.String plainTextContent, ContentType contentType, long size, java.lang.String fileName, java.lang.String id)
           
 boolean InlineContentHandler.handleInlinePlainText(java.lang.String plainTextContent, ContentType contentType, long size, java.lang.String fileName, java.lang.String id)
           
 boolean ImageMessageHandler.handleInlinePlainText(java.lang.String plainTextContent, ContentType contentType, long size, java.lang.String fileName, java.lang.String id)
           
 boolean DumperMessageHandler.handleInlineUUEncodedAttachment(UUEncodedPart part, java.lang.String id)
           
 boolean JSONMessageHandler.handleInlineUUEncodedAttachment(UUEncodedPart part, java.lang.String id)
           
 boolean NonInlineForwardPartHandler.handleInlineUUEncodedAttachment(UUEncodedPart part, java.lang.String id)
           
 boolean MultipleMailPartHandler.handleInlineUUEncodedAttachment(UUEncodedPart part, java.lang.String id)
           
 boolean MailPartHandler.handleInlineUUEncodedAttachment(UUEncodedPart part, java.lang.String id)
           
 boolean InlineContentHandler.handleInlineUUEncodedAttachment(UUEncodedPart part, java.lang.String id)
           
 boolean ImageMessageHandler.handleInlineUUEncodedAttachment(UUEncodedPart part, java.lang.String id)
           
 boolean DumperMessageHandler.handleInlineUUEncodedPlainText(java.lang.String decodedTextContent, ContentType contentType, int size, java.lang.String fileName, java.lang.String id)
           
 boolean JSONMessageHandler.handleInlineUUEncodedPlainText(java.lang.String decodedTextContent, ContentType contentType, int size, java.lang.String fileName, java.lang.String id)
           
 boolean NonInlineForwardPartHandler.handleInlineUUEncodedPlainText(java.lang.String decodedTextContent, ContentType contentType, int size, java.lang.String fileName, java.lang.String id)
           
 boolean MultipleMailPartHandler.handleInlineUUEncodedPlainText(java.lang.String decodedTextContent, ContentType contentType, int size, java.lang.String fileName, java.lang.String id)
           
 boolean MailPartHandler.handleInlineUUEncodedPlainText(java.lang.String decodedTextContent, ContentType contentType, int size, java.lang.String fileName, java.lang.String id)
           
 boolean InlineContentHandler.handleInlineUUEncodedPlainText(java.lang.String decodedTextContent, ContentType contentType, int size, java.lang.String fileName, java.lang.String id)
           
 boolean ImageMessageHandler.handleInlineUUEncodedPlainText(java.lang.String decodedTextContent, ContentType contentType, int size, java.lang.String fileName, java.lang.String id)
           
 void DumperMessageHandler.handleMessageEnd(MailMessage msg)
           
 void JSONMessageHandler.handleMessageEnd(MailMessage mail)
           
 void NonInlineForwardPartHandler.handleMessageEnd(MailMessage mail)
           
 void MultipleMailPartHandler.handleMessageEnd(MailMessage msg)
           
 void MailPartHandler.handleMessageEnd(MailMessage msg)
           
 void InlineContentHandler.handleMessageEnd(MailMessage mail)
           
 void ImageMessageHandler.handleMessageEnd(MailMessage mail)
           
 boolean DumperMessageHandler.handleMsgRef(java.lang.String msgRef)
           
 boolean JSONMessageHandler.handleMsgRef(java.lang.String msgRef)
           
 boolean NonInlineForwardPartHandler.handleMsgRef(java.lang.String msgRef)
           
 boolean MultipleMailPartHandler.handleMsgRef(java.lang.String msgRef)
           
 boolean MailPartHandler.handleMsgRef(java.lang.String msgRef)
           
 boolean InlineContentHandler.handleMsgRef(java.lang.String msgRef)
           
 boolean ImageMessageHandler.handleMsgRef(java.lang.String msgRef)
           
 boolean DumperMessageHandler.handleMultipart(MailPart mp, int bodyPartCount, java.lang.String id)
           
 boolean JSONMessageHandler.handleMultipart(MailPart mp, int bodyPartCount, java.lang.String id)
           
 boolean NonInlineForwardPartHandler.handleMultipart(MailPart mp, int bodyPartCount, java.lang.String id)
           
 boolean MultipleMailPartHandler.handleMultipart(MailPart mp, int bodyPartCount, java.lang.String id)
           
 boolean MailPartHandler.handleMultipart(MailPart mp, int bodyPartCount, java.lang.String id)
           
 boolean InlineContentHandler.handleMultipart(MailPart mp, int bodyPartCount, java.lang.String id)
           
 boolean ImageMessageHandler.handleMultipart(MailPart mp, int bodyPartCount, java.lang.String id)
           
 boolean DumperMessageHandler.handleNestedMessage(MailPart mailPart, java.lang.String id)
           
 boolean JSONMessageHandler.handleNestedMessage(MailPart mailPart, java.lang.String id)
           
 boolean NonInlineForwardPartHandler.handleNestedMessage(MailPart mailPart, java.lang.String id)
           
 boolean MultipleMailPartHandler.handleNestedMessage(MailPart mailPart, java.lang.String id)
           
 boolean MailPartHandler.handleNestedMessage(MailPart mailPart, java.lang.String id)
           
 boolean InlineContentHandler.handleNestedMessage(MailPart mailPart, java.lang.String id)
           
 boolean ImageMessageHandler.handleNestedMessage(MailPart mailPart, java.lang.String id)
           
 boolean DumperMessageHandler.handlePriority(int priority)
           
 boolean JSONMessageHandler.handlePriority(int priority)
           
 boolean NonInlineForwardPartHandler.handlePriority(int priority)
           
 boolean MultipleMailPartHandler.handlePriority(int priority)
           
 boolean MailPartHandler.handlePriority(int priority)
           
 boolean InlineContentHandler.handlePriority(int priority)
           
 boolean ImageMessageHandler.handlePriority(int priority)
           
 boolean DumperMessageHandler.handleReceivedDate(java.util.Date receivedDate)
           
 boolean JSONMessageHandler.handleReceivedDate(java.util.Date receivedDate)
           
 boolean NonInlineForwardPartHandler.handleReceivedDate(java.util.Date receivedDate)
           
 boolean MultipleMailPartHandler.handleReceivedDate(java.util.Date receivedDate)
           
 boolean MailPartHandler.handleReceivedDate(java.util.Date receivedDate)
           
 boolean InlineContentHandler.handleReceivedDate(java.util.Date receivedDate)
           
 boolean ImageMessageHandler.handleReceivedDate(java.util.Date receivedDate)
           
 boolean DumperMessageHandler.handleSentDate(java.util.Date sentDate)
           
 boolean JSONMessageHandler.handleSentDate(java.util.Date sentDate)
           
 boolean NonInlineForwardPartHandler.handleSentDate(java.util.Date sentDate)
           
 boolean MultipleMailPartHandler.handleSentDate(java.util.Date sentDate)
           
 boolean MailPartHandler.handleSentDate(java.util.Date sentDate)
           
 boolean InlineContentHandler.handleSentDate(java.util.Date sentDate)
           
 boolean ImageMessageHandler.handleSentDate(java.util.Date sentDate)
           
 boolean DumperMessageHandler.handleSpecialPart(MailPart part, java.lang.String baseContentType, java.lang.String fileName, java.lang.String id)
           
 boolean JSONMessageHandler.handleSpecialPart(MailPart part, java.lang.String baseContentType, java.lang.String fileName, java.lang.String id)
           
 boolean NonInlineForwardPartHandler.handleSpecialPart(MailPart part, java.lang.String baseContentType, java.lang.String fileName, java.lang.String id)
           
 boolean MultipleMailPartHandler.handleSpecialPart(MailPart part, java.lang.String baseContentType, java.lang.String fileName, java.lang.String id)
           
 boolean MailPartHandler.handleSpecialPart(MailPart part, java.lang.String baseContentType, java.lang.String fileName, java.lang.String id)
           
 boolean InlineContentHandler.handleSpecialPart(MailPart part, java.lang.String baseContentType, java.lang.String fileName, java.lang.String id)
           
 boolean ImageMessageHandler.handleSpecialPart(MailPart part, java.lang.String baseContentType, java.lang.String fileName, java.lang.String id)
           
 boolean DumperMessageHandler.handleSubject(java.lang.String subject)
           
 boolean JSONMessageHandler.handleSubject(java.lang.String subject)
           
 boolean NonInlineForwardPartHandler.handleSubject(java.lang.String subject)
           
 boolean MultipleMailPartHandler.handleSubject(java.lang.String subject)
           
 boolean MailPartHandler.handleSubject(java.lang.String subject)
           
 boolean InlineContentHandler.handleSubject(java.lang.String subject)
           
 boolean ImageMessageHandler.handleSubject(java.lang.String subject)
           
 boolean DumperMessageHandler.handleSystemFlags(int flags)
           
 boolean JSONMessageHandler.handleSystemFlags(int flags)
           
 boolean NonInlineForwardPartHandler.handleSystemFlags(int flags)
           
 boolean MultipleMailPartHandler.handleSystemFlags(int flags)
           
 boolean MailPartHandler.handleSystemFlags(int flags)
           
 boolean InlineContentHandler.handleSystemFlags(int flags)
           
 boolean ImageMessageHandler.handleSystemFlags(int flags)
           
 boolean DumperMessageHandler.handleToRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
           
 boolean JSONMessageHandler.handleToRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
           
 boolean NonInlineForwardPartHandler.handleToRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
           
 boolean MultipleMailPartHandler.handleToRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
           
 boolean MailPartHandler.handleToRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
           
 boolean InlineContentHandler.handleToRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
           
 boolean ImageMessageHandler.handleToRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
           
 boolean DumperMessageHandler.handleUserFlags(java.lang.String[] userFlags)
           
 boolean JSONMessageHandler.handleUserFlags(java.lang.String[] userFlags)
           
 boolean NonInlineForwardPartHandler.handleUserFlags(java.lang.String[] userFlags)
           
 boolean MultipleMailPartHandler.handleUserFlags(java.lang.String[] userFlags)
           
 boolean MailPartHandler.handleUserFlags(java.lang.String[] userFlags)
           
 boolean InlineContentHandler.handleUserFlags(java.lang.String[] userFlags)
           
 boolean ImageMessageHandler.handleUserFlags(java.lang.String[] userFlags)
           
 

Constructors in com.openexchange.mail.parser.handlers that throw MailException
JSONMessageHandler(int accountId, MailPath mailPath, MailMessage mail, DisplayMode displayMode, com.openexchange.session.Session session, UserSettingMail usm)
          Initializes a new JSONMessageHandler
JSONMessageHandler(int accountId, java.lang.String mailPath, DisplayMode displayMode, com.openexchange.session.Session session, UserSettingMail usm)
          Initializes a new JSONMessageHandler
 

Uses of MailException in com.openexchange.mail.partmodifier
 

Methods in com.openexchange.mail.partmodifier that throw MailException
static void PartModifier.init(java.lang.String className)
          Initializes part modifier
abstract  MailPart PartModifier.modifyPart(MailPart mailPart)
          Performs possible modifications on specified mail part
 

Uses of MailException in com.openexchange.mail.permission
 

Methods in com.openexchange.mail.permission that throw MailException
static
<P extends MailPermission>
P
MailPermission.newInstance(java.lang.Class<? extends P> clazz)
          Gets a new mail permission instance
 

Uses of MailException in com.openexchange.mail.search
 

Methods in com.openexchange.mail.search that throw MailException
 boolean ORTerm.matches(MailMessage mailMessage)
           
 boolean ANDTerm.matches(MailMessage mailMessage)
           
 boolean BodyTerm.matches(MailMessage mailMessage)
           
abstract  boolean SearchTerm.matches(MailMessage mailMessage)
          Checks if specified mail message matches this search term
static MailMessage[] Searcher.matches(MailMessage[] mailMessages, SearchTerm<?> searchTerm)
          Applies specified search term against given instances of MailMessage
static boolean Searcher.matches(MailMessage mailMessage, SearchTerm<?> searchTerm)
          Deprecated. Invoke SearchTerm.matches(MailMessage) instead
 boolean FlagTerm.matches(javax.mail.Message msg)
           
 boolean FromTerm.matches(javax.mail.Message msg)
           
 boolean BooleanTerm.matches(javax.mail.Message msg)
           
 boolean BccTerm.matches(javax.mail.Message msg)
           
 boolean ReceivedDateTerm.matches(javax.mail.Message msg)
           
 boolean ORTerm.matches(javax.mail.Message msg)
           
 boolean SubjectTerm.matches(javax.mail.Message msg)
           
 boolean ANDTerm.matches(javax.mail.Message msg)
           
 boolean ToTerm.matches(javax.mail.Message msg)
           
 boolean HeaderTerm.matches(javax.mail.Message msg)
           
 boolean SizeTerm.matches(javax.mail.Message msg)
           
 boolean SentDateTerm.matches(javax.mail.Message msg)
           
 boolean CcTerm.matches(javax.mail.Message msg)
           
 boolean BodyTerm.matches(javax.mail.Message msg)
           
abstract  boolean SearchTerm.matches(javax.mail.Message msg)
          Checks if given message matches this search term
 

Uses of MailException in com.openexchange.mail.service
 

Methods in com.openexchange.mail.service that throw MailException
 MailAccess<?,?> MailService.getMailAccess(com.openexchange.session.Session session)
          Gets an appropriate instance of mail access parameterized with given session.
 MailTransport MailService.getMailTransport(com.openexchange.session.Session session)
          Gets an appropriate instance of mail transport parameterized with given session.
 

Uses of MailException in com.openexchange.mail.service.impl
 

Methods in com.openexchange.mail.service.impl that throw MailException
 MailAccess<?,?> MailServiceImpl.getMailAccess(com.openexchange.session.Session session)
           
 MailTransport MailServiceImpl.getMailTransport(com.openexchange.session.Session session)
           
 

Uses of MailException in com.openexchange.mail.text
 

Methods in com.openexchange.mail.text that throw MailException
 void HTMLProcessingInit.start()
           
 

Uses of MailException in com.openexchange.mail.transport
 

Methods in com.openexchange.mail.transport that throw MailException
abstract  void MailTransport.close()
          Closes this mail transport
abstract  MailTransport TransportProvider.createNewMailTransport(com.openexchange.session.Session session)
          Gets a newly created mail transport
abstract  MailTransport TransportProvider.createNewMailTransport(com.openexchange.session.Session session, int accountId)
          Gets a newly created mail transport
static MailTransport MailTransport.getInstance(com.openexchange.session.Session session)
          Gets the proper instance of mail transport parameterized with given session.
static MailTransport MailTransport.getInstance(com.openexchange.session.Session session, int accountId)
          Gets the proper instance of mail transport for session user's default transport account.
abstract  ComposedMailMessage TransportProvider.getNewComposedMailMessage(com.openexchange.session.Session session, com.openexchange.groupware.contexts.Context ctx)
          Gets a new instance of ComposedMailMessage
abstract  DataMailPart TransportProvider.getNewDataPart(java.lang.Object data, java.util.Map<java.lang.String,java.lang.String> dataProperties, com.openexchange.session.Session session)
          Gets a new instance of DataMailPart
abstract  InfostoreDocumentMailPart TransportProvider.getNewDocumentPart(int documentId, com.openexchange.session.Session session)
          Gets a new instance of InfostoreDocumentMailPart
abstract  UploadFileMailPart TransportProvider.getNewFilePart(com.openexchange.groupware.upload.impl.UploadFile uploadFile)
          Gets a new instance of UploadFileMailPart
abstract  ReferencedMailPart TransportProvider.getNewReferencedMail(MailMessage referencedMail, com.openexchange.session.Session session)
          Gets a new instance of ReferencedMailPart
abstract  ReferencedMailPart TransportProvider.getNewReferencedPart(MailPart referencedPart, com.openexchange.session.Session session)
          Gets a new instance of ReferencedMailPart
abstract  TextBodyMailPart TransportProvider.getNewTextBodyPart(java.lang.String textBody)
          Gets a new instance of TextBodyMailPart
abstract  TransportConfig MailTransport.getTransportConfig()
          Returns the transport configuration appropriate for current user.
static TransportProvider TransportProviderRegistry.getTransportProviderBySession(com.openexchange.session.Session session, int accountId)
          Gets the transport provider appropriate for specified session
abstract  void MailTransport.ping()
          Pings the transport server to check if a connection can be established.
static boolean TransportProviderRegistry.registerTransportProvider(java.lang.String protocol, TransportProvider provider)
          Registers a transport provider and performs its start-up actions
 MailMessage MailTransport.sendMailMessage(ComposedMailMessage transportMail, ComposeType sendType)
          Sends a mail message
abstract  MailMessage MailTransport.sendMailMessage(ComposedMailMessage transportMail, ComposeType sendType, javax.mail.Address[] allRecipients)
          Sends a mail message
 MailMessage MailTransport.sendRawMessage(byte[] asciiBytes)
          Sends specified message's raw ascii bytes.
abstract  MailMessage MailTransport.sendRawMessage(byte[] asciiBytes, javax.mail.Address[] allRecipients)
          Sends specified message's raw ascii bytes.
abstract  void MailTransport.sendReceiptAck(MailMessage srcMail, java.lang.String fromAddr)
          Sends a receipt acknowledgment for the specified message.
static TransportProvider TransportProviderRegistry.unregisterTransportProvider(TransportProvider provider)
          Unregisters the transport provider
static TransportProvider TransportProviderRegistry.unregisterTransportProviderByProtocol(java.lang.String protocol)
          Unregisters the transport provider supporting specified protocol
 

Uses of MailException in com.openexchange.mail.transport.config
 

Methods in com.openexchange.mail.transport.config that throw MailException
static
<C extends TransportConfig>
C
TransportConfig.getTransportConfig(java.lang.Class<? extends C> clazz, C transportConfig, com.openexchange.session.Session session, int accountId)
          Gets the user-specific transport configuration
static java.lang.String TransportConfig.getTransportServerURL(com.openexchange.session.Session session, int accountId)
          Gets the transport server URL appropriate to configured login type
 

Uses of MailException in com.openexchange.mail.utils
 

Methods in com.openexchange.mail.utils that throw MailException
static java.lang.String MessageUtility.checkCharset(MailPart p, ContentType ct)
          Gets a valid charset-encoding for specified textual part; meaning its content type matches text/*.
static java.lang.String[] StorageUtility.getDefaultFolderNames(int accountId, UserSettingMail usm)
          Determines the default folder names (not fullnames).
static java.lang.String[] StorageUtility.getDefaultFolderNames(int accountId, UserSettingMail usm, boolean isSpamEnabled)
          Determines the default folder names (not fullnames).
static java.lang.String MessageUtility.readMailPart(MailPart mailPart, java.lang.String charset)
          Reads the stream content from given mail part.
 

Constructors in com.openexchange.mail.utils that throw MailException
DefaultFolderNamesProvider(int accountId, int user, int cid)
          Initializes a new DefaultFolderNamesProvider.