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.structure   
com.openexchange.mail.structure.handler   
com.openexchange.mail.structure.parser   
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 return types with arguments of type MailException
abstract  java.util.Collection<MailException> MailServletInterface.getWarnings()
          Gets possible warnings.
 

Methods in com.openexchange.mail that throw MailException
abstract  java.lang.String[] MailServletInterface.appendMessages(java.lang.String destFolder, MailMessage[] msgs, boolean force)
          Appends given messages to given folder.
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 NOTE: Don't forget to invoke MailServletInterface.close(boolean) after usage MailInterface mailInterface = MailInterface.getInstance(session); try { //Do some stuff here... } finally { mailInterface.close(true); }
abstract  MailConfig MailServletInterface.getMailConfig()
          Returns user-specific mail configuration
abstract  java.lang.String MailServletInterface.getMailIDByMessageID(java.lang.String folder, java.lang.String messageID)
          Gets a mail's ID by specified "Message-Id" header.
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  com.openexchange.filemanagement.ManagedFile MailServletInterface.getMessageAttachments(java.lang.String folder, java.lang.String msgUID, java.lang.String[] attachmentPositions)
          Returns message's attachments as a ZIP file backed by returned managed file instance.
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, java.lang.String[] headerFields)
          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  com.openexchange.tools.iterator.SearchIterator<MailMessage> MailServletInterface.getMessages(java.lang.String folder, int[] fromToIndices, int sortCol, int order, com.openexchange.search.SearchTerm<?> searchTerm, 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
 java.lang.String[] MailServletInterface.importMessages(java.lang.String destFolder, MailMessage[] msgs, boolean force)
          Overwrite this to implement a different append behaviour for mail imports.
static Protocol Protocol.parseProtocol(java.lang.String protocol)
          Parses specified protocol string whose syntax match pattern:
([a-z]+)(?
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  void MailServletInterface.sendFormMail(ComposedMailMessage composedMail, int groupId, int accountId)
          Sends a form mail.
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 return types with arguments of type MailException
 java.util.Collection<MailException> MailAccess.getWarnings()
          Gets possible warnings.
 

Method parameters in com.openexchange.mail.api with type arguments of type MailException
 void MailAccess.addWarnings(java.util.Collection<MailException> warnings)
          Adds given warnings.
 

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)
           
 void IMailFolderStorage.checkDefaultFolders()
          Checks user's default folder as defined in user's mail settings and creates them if any is missing.
abstract  void MailFolderStorage.checkDefaultFolders()
           
 void IMailFolderStorage.clearFolder(java.lang.String fullname)
          Deletes the content of the folder identified through given fullname.
 void MailFolderStorage.clearFolder(java.lang.String fullname)
           
 void IMailFolderStorage.clearFolder(java.lang.String fullname, boolean hardDelete)
          Deletes the content of the folder identified through given fullname.
abstract  void MailFolderStorage.clearFolder(java.lang.String fullname, boolean hardDelete)
           
 void MailAccess.connect()
          Opens this access.
 void MailAccess.connect(boolean checkDefaultFolders)
          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)
           
 java.lang.String IMailFolderStorage.createFolder(MailFolderDescription toCreate)
          Creates a new mail folder with attributes taken from given mail folder description
abstract  java.lang.String MailFolderStorage.createFolder(MailFolderDescription toCreate)
           
abstract  MailAccess<?,?> MailProvider.createNewMailAccess(com.openexchange.session.Session session)
          Gets a newly created mail access with default account ID.
abstract  MailAccess<? extends IMailFolderStorage,? extends IMailMessageStorage> MailProvider.createNewMailAccess(com.openexchange.session.Session session, int accountId)
          Gets a newly created mail access.
 void MailAccess.delegateConnectInternal()
          For delegating purpose.
 IMailProperties MailAccess.delegateCreateNewMailProperties()
          For delegating purpose.
 java.lang.String IMailFolderStorage.deleteFolder(java.lang.String fullname)
          Deletes an existing mail folder identified through given fullname.
 java.lang.String MailFolderStorage.deleteFolder(java.lang.String fullname)
           
 java.lang.String IMailFolderStorage.deleteFolder(java.lang.String fullname, boolean hardDelete)
          Deletes an existing mail folder identified through given fullname.
abstract  java.lang.String MailFolderStorage.deleteFolder(java.lang.String fullname, boolean hardDelete)
           
 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)
           
 boolean IMailFolderStorage.exists(java.lang.String fullname)
          Checks if a folder exists whose fullname matches given fullname
abstract  boolean MailFolderStorage.exists(java.lang.String 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.
 java.lang.String IMailFolderStorage.getConfirmedHamFolder()
          Gets the fullname of default confirmed ham folder
abstract  java.lang.String MailFolderStorage.getConfirmedHamFolder()
           
 java.lang.String IMailFolderStorage.getConfirmedSpamFolder()
          Gets the fullname of default confirmed spam folder
abstract  java.lang.String MailFolderStorage.getConfirmedSpamFolder()
           
 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.
 java.lang.String IMailFolderStorage.getDraftsFolder()
          Gets the fullname of default drafts folder
abstract  java.lang.String MailFolderStorage.getDraftsFolder()
           
 MailFolder IMailFolderStorage.getFolder(java.lang.String fullname)
          Gets the folder identified through given fullname
abstract  MailFolder MailFolderStorage.getFolder(java.lang.String 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<? extends IMailFolderStorage,? extends IMailMessageStorage> MailAccess.getInstance(int userId, int contextId)
          Gets the proper instance of MailAccess for specified user's default account.
static MailAccess<? extends IMailFolderStorage,? extends IMailMessageStorage> MailAccess.getInstance(int userId, int contextId, int accountId)
          Gets the proper instance of MailAccess for specified user and account ID.
static MailAccess<? extends IMailFolderStorage,? extends IMailMessageStorage> MailAccess.getInstance(com.openexchange.session.Session session)
          Gets the proper instance of MailAccess for session user's default mail account.
static MailAccess<? extends IMailFolderStorage,? extends IMailMessageStorage> 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 IMailFolderStorage.getMessageQuota(java.lang.String folder)
          Detects both quota limit and quota usage of MESSAGE resource on given mailbox folder's quota-root.
 Quota MailFolderStorage.getMessageQuota(java.lang.String folder)
           
 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)
           
 MailMessage[] IMailMessageStorageExt.getMessages(java.lang.String folder, java.lang.String[] mailIds, MailField[] fields, java.lang.String[] headerNames)
          Gets the mails located in given folder whose mail ID matches specified ID.
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[] IMailFolderStorage.getPath2DefaultFolder(java.lang.String fullname)
          Gets the reverse path from the folder identified through given fullname to parental default folder.
 MailFolder[] MailFolderStorage.getPath2DefaultFolder(java.lang.String fullname)
           
 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.
abstract  Quota[] MailFolderStorage.getQuotas(java.lang.String folder, Quota.Type[] 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 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.
 MailFolder MailFolderStorage.getRootFolder()
          Gets the mailbox's root folder.
 java.lang.String IMailFolderStorage.getSentFolder()
          Gets the fullname of default sent folder
abstract  java.lang.String MailFolderStorage.getSentFolder()
           
 java.lang.String IMailFolderStorage.getSpamFolder()
          Gets the fullname of default spam folder
abstract  java.lang.String MailFolderStorage.getSpamFolder()
           
 Quota IMailFolderStorage.getStorageQuota(java.lang.String folder)
          Detects both quota limit and quota usage of STORAGE resource on given mailbox folder's quota-root.
 Quota MailFolderStorage.getStorageQuota(java.lang.String folder)
           
 MailFolder[] IMailFolderStorage.getSubfolders(java.lang.String parentFullname, boolean all)
          Gets the first level subfolders located below the folder whose fullname matches given parameter parentFullname.
abstract  MailFolder[] MailFolderStorage.getSubfolders(java.lang.String parentFullname, boolean all)
           
 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)
           
 int IMailFolderStorageEnhanced.getTotalCounter(java.lang.String fullName)
          Gets the total number of mails for specified folder.
 java.lang.String IMailFolderStorage.getTrashFolder()
          Gets the fullname of default trash folder
abstract  java.lang.String MailFolderStorage.getTrashFolder()
           
 int IMailFolderStorageEnhanced.getUnreadCounter(java.lang.String fullName)
          Gets the number of unread mails for specified 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.
 int MailAccess.getUnreadMessagesCount(java.lang.String fullname)
          Convenience method to obtain folder's number of unread messages in a fast way; meaning no default folder check is performed.
 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.
abstract  java.lang.String MailFolderStorage.moveFolder(java.lang.String fullname, java.lang.String 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 IMailFolderStorage.releaseResources()
          Releases all used resources when closing parental MailAccess
 void IMailMessageStorage.releaseResources()
          Releases all resources used by this message storage when closing superior MailAccess
abstract  void MailFolderStorage.releaseResources()
           
abstract  void MailMessageStorage.releaseResources()
           
 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.
 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.
 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
 java.lang.String IMailFolderStorage.updateFolder(java.lang.String fullname, MailFolderDescription toUpdate)
          Updates an existing mail folder identified through given fullname.
abstract  java.lang.String MailFolderStorage.updateFolder(java.lang.String fullname, MailFolderDescription toUpdate)
           
 void IMailMessageStorageBatch.updateMessageColorLabel(java.lang.String folder, int colorLabel)
          An optional method that updates the color label of all messages located in given folder.
 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 IMailMessageStorageBatch.updateMessageFlags(java.lang.String folder, int flags, boolean set)
          Updates the flags of all messages located in given folder.
 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.
 void MailAccessCache2.clearUserEntries(com.openexchange.session.Session session)
          Clears the cache entries kept for specified user.
 org.json.JSONObject JSONMessageCache.get(int accountId, java.lang.String fullname, java.lang.String id, int userId, int cid)
          Gets the cloned JSON mail object associated with specified account ID, folder fullname and mail ID.
 org.json.JSONObject JSONMessageCache.get(int accountId, java.lang.String fullname, java.lang.String id, com.openexchange.session.Session session)
          Gets the cloned JSON mail object associated with specified account ID, folder fullname and mail ID.
static MailAccessCache MailAccessCache.getInstance()
          Gets the singleton instance.
static MailAccessCache2 MailAccessCache2.getInstance()
          Gets the singleton instance.
 void MailAccessCache.initCache()
          Initializes cache reference.
 void MailAccessCache2.initCache()
          Initializes cache reference.
static void JSONMessageCacheConfiguration.initInstance()
          Initializes the cache instance.
static void JSONMessageCache.initInstance()
          Initializes the cache instance.
 void JSONMessageCacheConfiguration.loadProperties()
          Loads the JSON message cache properties.
 void JSONMessageCache.put(int accountId, java.lang.String fullname, java.lang.String id, java.util.concurrent.FutureTask<org.json.JSONObject> jsonMailObject, int userId, int cid)
          Associates given JSON mail object with specified account ID, folder fullname and mail ID.
 void JSONMessageCache.put(int accountId, java.lang.String fullname, java.lang.String id, java.util.concurrent.FutureTask<org.json.JSONObject> jsonMailObject, com.openexchange.session.Session session)
          Associates given JSON mail object with specified account ID, folder fullname and mail ID.
 org.json.JSONObject JSONMessageCache.remove(int accountId, java.lang.String fullname, java.lang.String id, int userId, int cid)
          Removes the JSON mail object associated with specified account ID, folder fullname and mail ID.
 org.json.JSONObject JSONMessageCache.remove(int accountId, java.lang.String fullname, java.lang.String id, com.openexchange.session.Session session)
          Removes the JSON mail object associated with specified account ID, folder fullname and mail ID.
 void JSONMessageCache.switchSeenFlag(int accountId, java.lang.String fullname, boolean seen, int unread, int userId, int cid)
          Switch the \Seen flag for specified mails' JSON representations.
 void JSONMessageCache.switchSeenFlag(int accountId, java.lang.String fullname, boolean seen, int unread, com.openexchange.session.Session session)
          Switch the \Seen flag for specified mails' JSON representations.
 void JSONMessageCache.switchSeenFlag(int accountId, java.lang.String fullname, java.lang.String[] ids, boolean seen, int unread, int userId, int cid)
          Switch the \Seen flag for specified mails' JSON representations.
 void JSONMessageCache.switchSeenFlag(int accountId, java.lang.String fullname, java.lang.String[] ids, boolean seen, int unread, com.openexchange.session.Session session)
          Switch the \Seen flag for specified mails' JSON representations.
 void JSONMessageCache.updateColorFlag(int accountId, java.lang.String fullname, int colorFlag, int userId, int cid)
          Updates the color flag for specified mails' JSON representations.
 void JSONMessageCache.updateColorFlag(int accountId, java.lang.String fullname, int colorFlag, com.openexchange.session.Session session)
          Updates the color flag for specified mails' JSON representations.
 void JSONMessageCache.updateColorFlag(int accountId, java.lang.String fullname, java.lang.String[] ids, int colorFlag, int userId, int cid)
          Updates the color flag for specified mails' JSON representations.
 void JSONMessageCache.updateColorFlag(int accountId, java.lang.String fullname, java.lang.String[] ids, int colorFlag, com.openexchange.session.Session session)
          Updates the color flag for specified mails' JSON representations.
 void JSONMessageCache.updateFlags(int accountId, java.lang.String fullname, int newFlags, boolean set, int userId, int cid)
          Updates flags for specified mails' JSON representations.
 void JSONMessageCache.updateFlags(int accountId, java.lang.String fullname, int newFlags, boolean set, com.openexchange.session.Session session)
          Updates flags for specified mails' JSON representations.
 void JSONMessageCache.updateFlags(int accountId, java.lang.String fullname, java.lang.String[] ids, int newFlags, boolean set, int userId, int cid)
          Updates flags for specified mails' JSON representations.
 void JSONMessageCache.updateFlags(int accountId, java.lang.String fullname, java.lang.String[] ids, int newFlags, boolean set, com.openexchange.session.Session session)
          Updates flags for specified mails' JSON representations.
 

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 CompositeMailMessage.getContent()
           
abstract  java.lang.Object MailPart.getContent()
          Returns the part's content as a Java object dependent on underlying implementation.
 java.lang.Object IDMailMessage.getContent()
           
 java.lang.Object UUEncodedAttachmentMailPart.getContent()
           
 javax.activation.DataHandler CompositeMailMessage.getDataHandler()
           
abstract  javax.activation.DataHandler MailPart.getDataHandler()
          Returns an appropriate DataHandler for this mail part.
 javax.activation.DataHandler IDMailMessage.getDataHandler()
           
 javax.activation.DataHandler UUEncodedAttachmentMailPart.getDataHandler()
           
 int CompositeMailMessage.getEnclosedCount()
           
abstract  int MailPart.getEnclosedCount()
          Gets the number of enclosed mail parts.
 int IDMailMessage.getEnclosedCount()
           
 int UUEncodedAttachmentMailPart.getEnclosedCount()
           
 MailPart CompositeMailMessage.getEnclosedMailPart(int index)
           
abstract  MailPart MailPart.getEnclosedMailPart(int index)
          Gets the mail part located at given index.
 MailPart IDMailMessage.getEnclosedMailPart(int index)
           
 MailPart UUEncodedAttachmentMailPart.getEnclosedMailPart(int index)
           
 java.io.InputStream CompositeMailMessage.getInputStream()
           
abstract  java.io.InputStream MailPart.getInputStream()
          Returns an input stream for this part.
 java.io.InputStream IDMailMessage.getInputStream()
           
 java.io.InputStream UUEncodedAttachmentMailPart.getInputStream()
           
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 CompositeMailMessage.loadContent()
           
abstract  void MailPart.loadContent()
          Ensures that the part's content is loaded, thus this part is independent of the original.
 void IDMailMessage.loadContent()
           
 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 UploadFileMailPart.getContent()
           
 java.lang.Object ReferencedMailPart.getContent()
           
 java.lang.Object InfostoreDocumentMailPart.getContent()
           
 java.lang.Object TextBodyMailPart.getContent()
           
 java.lang.Object DataMailPart.getContent()
           
 javax.activation.DataHandler UploadFileMailPart.getDataHandler()
           
 javax.activation.DataHandler ReferencedMailPart.getDataHandler()
           
 javax.activation.DataHandler InfostoreDocumentMailPart.getDataHandler()
           
 javax.activation.DataHandler TextBodyMailPart.getDataHandler()
           
 javax.activation.DataHandler DataMailPart.getDataHandler()
           
 int UploadFileMailPart.getEnclosedCount()
           
 int ReferencedMailPart.getEnclosedCount()
           
 int InfostoreDocumentMailPart.getEnclosedCount()
           
 int TextBodyMailPart.getEnclosedCount()
           
abstract  int ComposedMailMessage.getEnclosedCount()
          Gets the number of enclosed mail parts.
 int DataMailPart.getEnclosedCount()
           
 MailPart UploadFileMailPart.getEnclosedMailPart(int index)
           
 MailPart ReferencedMailPart.getEnclosedMailPart(int index)
           
 MailPart InfostoreDocumentMailPart.getEnclosedMailPart(int index)
           
 MailPart TextBodyMailPart.getEnclosedMailPart(int index)
           
abstract  MailPart ComposedMailMessage.getEnclosedMailPart(int index)
          Gets this composed mail's part located at given index.
 MailPart DataMailPart.getEnclosedMailPart(int index)
           
 java.io.InputStream UploadFileMailPart.getInputStream()
           
 java.io.InputStream ReferencedMailPart.getInputStream()
           
 java.io.InputStream InfostoreDocumentMailPart.getInputStream()
           
 java.io.InputStream TextBodyMailPart.getInputStream()
           
 java.io.InputStream DataMailPart.getInputStream()
           
 void DataMailPart.loadContent()
           
 

Constructors in com.openexchange.mail.dataobjects.compose that throw MailException
InfostoreDocumentMailPart(java.lang.String 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
 org.json.JSONObject JSONObjectConverter.raw2Json()
          Converts this converter's raw JSON mail representation into a user-sensitive JSON mail representation.
 void FolderWriter.MailFolderFieldWriter.writeField(FolderWriter.JSONValuePutter jsonContainer, int accountId, MailFolder folder)
           
 void FolderWriter.MailFolderFieldWriter.writeField(FolderWriter.JSONValuePutter jsonContainer, int accountId, MailFolder folder, java.lang.String name, int hasSubfolders)
           
abstract  void FolderWriter.MailFolderFieldWriter.writeField(FolderWriter.JSONValuePutter putter, int accountId, MailFolder folder, 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, com.openexchange.tools.session.ServerSession session)
          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.
static org.json.JSONObject MessageWriter.writeMailMessage(int accountId, MailMessage mail, DisplayMode displayMode, com.openexchange.session.Session session, UserSettingMail settings, java.util.Collection<com.openexchange.groupware.AbstractOXException> warnings)
          Writes whole mail as a JSON object.
static org.json.JSONObject MessageWriter.writeRawMailMessage(int accountId, MailMessage mail)
          Writes raw mail as a JSON object.
static org.json.JSONObject MessageWriter.writeStructure(int accountId, MailMessage mail, long maxSize)
          Writes specified mail's structure as a JSON object.
 

Constructors in com.openexchange.mail.json.writer that throw MailException
JSONObjectConverter(org.json.JSONObject rawJSONMailObject, DisplayMode displayMode, com.openexchange.session.Session session, UserSettingMail usm, com.openexchange.groupware.contexts.Context ctx)
          Initializes a new JSONObjectConverter.
 

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.
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.
 ContentType ContentType.setBaseType(java.lang.String baseType)
          Sets base type (e.g. text/plain)
 ContentType ContentType.UnmodifiableContentType.setBaseType(java.lang.String baseType)
           
 void ContentDisposition.setContentDisposition(java.lang.String contentDisp)
          Sets Content-Disposition
 void ContentType.setContentType(java.lang.String contentType)
          Sets the content type to specified content type string; e.g.
 void ContentType.UnmodifiableContentType.setContentType(java.lang.String contentType)
           
 

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.UnmodifiableContentType
HeaderCollection(java.io.InputStream inputStream)
          Initializes a new HeaderCollection from specified headers' RFC822 input stream
 

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, java.lang.String[] headerNames, 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.
static void MIMEMessageConverter.parseFlags(javax.mail.Flags flags, MailMessage mailMessage)
          Parses specified flags to given mail.
 

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

Methods in com.openexchange.mail.mime.dataobjects that throw MailException
 java.lang.Object MIMEMailMessage.getContent()
           
 java.lang.Object MIMEMultipartMailPart.getContent()
           
 java.lang.Object NestedMessageMailPart.getContent()
           
 java.lang.Object MIMEMailPart.getContent()
           
 javax.activation.DataHandler MIMEMailMessage.getDataHandler()
           
 javax.activation.DataHandler MIMEMultipartMailPart.getDataHandler()
           
 javax.activation.DataHandler NestedMessageMailPart.getDataHandler()
           
 javax.activation.DataHandler MIMEMailPart.getDataHandler()
           
 int MIMEMailMessage.getEnclosedCount()
           
 int MIMEMultipartMailPart.getEnclosedCount()
           
 int NestedMessageMailPart.getEnclosedCount()
           
 int MIMEMailPart.getEnclosedCount()
           
 MailPart MIMEMailMessage.getEnclosedMailPart(int index)
           
 MailPart MIMEMultipartMailPart.getEnclosedMailPart(int index)
           
 MailPart NestedMessageMailPart.getEnclosedMailPart(int index)
           
 MailPart MIMEMailPart.getEnclosedMailPart(int index)
           
 java.io.InputStream MIMEMailMessage.getInputStream()
           
 java.io.InputStream MIMEMultipartMailPart.getInputStream()
           
 java.io.InputStream NestedMessageMailPart.getInputStream()
           
 java.io.InputStream MIMEMailPart.getInputStream()
           
 void MIMEMailMessage.loadContent()
           
 void MIMEMultipartMailPart.loadContent()
           
 void NestedMessageMailPart.loadContent()
           
 void MIMEMailPart.loadContent()
           
 void MIMEMailMessage.writeTo(java.io.OutputStream out)
           
 void MIMEMultipartMailPart.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
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(javax.activation.DataSource dataSource)
          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.
 void MIMEMessageFiller.setMessageHeaders(ComposedMailMessage mail, javax.mail.internet.MimeMessage mimeMessage)
          Sets necessary headers in specified MIME message: From/ Sender, To, Cc, Bcc, Reply-To, Subject, etc.
 void MIMEMessageFiller.setSendHeaders(ComposedMailMessage mail, javax.mail.internet.MimeMessage mimeMessage)
          Sets the appropriate headers before message's transport: Reply-To, Date, and Subject
 

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 javax.mail.internet.MailDateFormat MIMEMessageUtility.getMailDateFormat(com.openexchange.session.Session session)
          Gets the MailDateFormat for specified session.
static javax.mail.internet.MailDateFormat MIMEMessageUtility.getMailDateFormat(java.lang.String timeZoneId)
          Gets the MailDateFormat for specified time zone identifier.
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) Get the message via: MailMessage nestedMail = (MailMessage) mailPart.getContent();
 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 RawJSONMessageHandler.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 MailPartHandler.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 InlineContentHandler.handleAttachment(MailPart part, boolean isInline, java.lang.String baseContentType, java.lang.String fileName, java.lang.String id)
           
 boolean DumperMessageHandler.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 RawJSONMessageHandler.handleBccRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
           
 boolean ImageMessageHandler.handleBccRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
           
 boolean MailPartHandler.handleBccRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
           
 boolean JSONMessageHandler.handleBccRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
           
 boolean NonInlineForwardPartHandler.handleBccRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
           
 boolean InlineContentHandler.handleBccRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
           
 boolean DumperMessageHandler.handleBccRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
           
 boolean MultipleMailPartHandler.handleBccRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
           
 boolean RawJSONMessageHandler.handleCcRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
           
 boolean ImageMessageHandler.handleCcRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
           
 boolean MailPartHandler.handleCcRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
           
 boolean JSONMessageHandler.handleCcRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
           
 boolean NonInlineForwardPartHandler.handleCcRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
           
 boolean InlineContentHandler.handleCcRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
           
 boolean DumperMessageHandler.handleCcRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
           
 boolean MultipleMailPartHandler.handleCcRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
           
 boolean RawJSONMessageHandler.handleColorLabel(int colorLabel)
           
 boolean ImageMessageHandler.handleColorLabel(int colorLabel)
           
 boolean MailPartHandler.handleColorLabel(int colorLabel)
           
 boolean JSONMessageHandler.handleColorLabel(int colorLabel)
           
 boolean NonInlineForwardPartHandler.handleColorLabel(int colorLabel)
           
 boolean InlineContentHandler.handleColorLabel(int colorLabel)
           
 boolean DumperMessageHandler.handleColorLabel(int colorLabel)
           
 boolean MultipleMailPartHandler.handleColorLabel(int colorLabel)
           
 boolean RawJSONMessageHandler.handleContentId(java.lang.String contentId)
           
 boolean ImageMessageHandler.handleContentId(java.lang.String contentId)
           
 boolean MailPartHandler.handleContentId(java.lang.String contentId)
           
 boolean JSONMessageHandler.handleContentId(java.lang.String contentId)
           
 boolean NonInlineForwardPartHandler.handleContentId(java.lang.String contentId)
           
 boolean InlineContentHandler.handleContentId(java.lang.String contentId)
           
 boolean DumperMessageHandler.handleContentId(java.lang.String contentId)
           
 boolean MultipleMailPartHandler.handleContentId(java.lang.String contentId)
           
 boolean RawJSONMessageHandler.handleDispositionNotification(javax.mail.internet.InternetAddress dispositionNotificationTo, boolean seen)
           
 boolean ImageMessageHandler.handleDispositionNotification(javax.mail.internet.InternetAddress dispositionNotificationTo, boolean seen)
           
 boolean MailPartHandler.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 InlineContentHandler.handleDispositionNotification(javax.mail.internet.InternetAddress dispositionNotificationTo, boolean seen)
           
 boolean DumperMessageHandler.handleDispositionNotification(javax.mail.internet.InternetAddress dispositionNotificationTo, boolean seen)
           
 boolean MultipleMailPartHandler.handleDispositionNotification(javax.mail.internet.InternetAddress dispositionNotificationTo, boolean seen)
           
 boolean RawJSONMessageHandler.handleFrom(javax.mail.internet.InternetAddress[] fromAddrs)
           
 boolean ImageMessageHandler.handleFrom(javax.mail.internet.InternetAddress[] fromAddrs)
           
 boolean MailPartHandler.handleFrom(javax.mail.internet.InternetAddress[] fromAddrs)
           
 boolean JSONMessageHandler.handleFrom(javax.mail.internet.InternetAddress[] fromAddrs)
           
 boolean NonInlineForwardPartHandler.handleFrom(javax.mail.internet.InternetAddress[] fromAddrs)
           
 boolean InlineContentHandler.handleFrom(javax.mail.internet.InternetAddress[] fromAddrs)
           
 boolean DumperMessageHandler.handleFrom(javax.mail.internet.InternetAddress[] fromAddrs)
           
 boolean MultipleMailPartHandler.handleFrom(javax.mail.internet.InternetAddress[] fromAddrs)
           
 boolean RawJSONMessageHandler.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 MailPartHandler.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 InlineContentHandler.handleHeaders(int size, java.util.Iterator<java.util.Map.Entry<java.lang.String,java.lang.String>> iter)
           
 boolean DumperMessageHandler.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 RawJSONMessageHandler.handleImagePart(MailPart part, java.lang.String imageCID, 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 MailPartHandler.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 InlineContentHandler.handleImagePart(MailPart part, java.lang.String imageCIDArg, java.lang.String baseContentType, boolean isInline, java.lang.String fileName, java.lang.String id)
           
 boolean DumperMessageHandler.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 RawJSONMessageHandler.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 MailPartHandler.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 InlineContentHandler.handleInlineHtml(java.lang.String htmlContent, ContentType contentType, long size, 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 MultipleMailPartHandler.handleInlineHtml(java.lang.String htmlContent, ContentType contentType, long size, java.lang.String fileName, java.lang.String id)
           
 boolean RawJSONMessageHandler.handleInlinePlainText(java.lang.String plainTextContentArg, 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 MailPartHandler.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 InlineContentHandler.handleInlinePlainText(java.lang.String plainTextContent, 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 MultipleMailPartHandler.handleInlinePlainText(java.lang.String plainTextContent, ContentType contentType, long size, java.lang.String fileName, java.lang.String id)
           
 boolean RawJSONMessageHandler.handleInlineUUEncodedAttachment(UUEncodedPart part, java.lang.String id)
           
 boolean ImageMessageHandler.handleInlineUUEncodedAttachment(UUEncodedPart part, java.lang.String id)
           
 boolean MailPartHandler.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 InlineContentHandler.handleInlineUUEncodedAttachment(UUEncodedPart part, java.lang.String id)
           
 boolean DumperMessageHandler.handleInlineUUEncodedAttachment(UUEncodedPart part, java.lang.String id)
           
 boolean MultipleMailPartHandler.handleInlineUUEncodedAttachment(UUEncodedPart part, java.lang.String id)
           
 boolean RawJSONMessageHandler.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)
           
 boolean MailPartHandler.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 InlineContentHandler.handleInlineUUEncodedPlainText(java.lang.String decodedTextContent, ContentType contentType, int size, java.lang.String fileName, java.lang.String id)
           
 boolean DumperMessageHandler.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)
           
 void RawJSONMessageHandler.handleMessageEnd(MailMessage mail)
           
 void ImageMessageHandler.handleMessageEnd(MailMessage mail)
           
 void MailPartHandler.handleMessageEnd(MailMessage msg)
           
 void JSONMessageHandler.handleMessageEnd(MailMessage mail)
           
 void NonInlineForwardPartHandler.handleMessageEnd(MailMessage mail)
           
 void InlineContentHandler.handleMessageEnd(MailMessage mail)
           
 void DumperMessageHandler.handleMessageEnd(MailMessage msg)
           
 void MultipleMailPartHandler.handleMessageEnd(MailMessage msg)
           
 boolean RawJSONMessageHandler.handleMsgRef(java.lang.String msgRef)
           
 boolean ImageMessageHandler.handleMsgRef(java.lang.String msgRef)
           
 boolean MailPartHandler.handleMsgRef(java.lang.String msgRef)
           
 boolean JSONMessageHandler.handleMsgRef(java.lang.String msgRef)
           
 boolean NonInlineForwardPartHandler.handleMsgRef(java.lang.String msgRef)
           
 boolean InlineContentHandler.handleMsgRef(java.lang.String msgRef)
           
 boolean DumperMessageHandler.handleMsgRef(java.lang.String msgRef)
           
 boolean MultipleMailPartHandler.handleMsgRef(java.lang.String msgRef)
           
 boolean RawJSONMessageHandler.handleMultipart(MailPart mp, int bodyPartCount, java.lang.String id)
           
 boolean ImageMessageHandler.handleMultipart(MailPart mp, int bodyPartCount, java.lang.String id)
           
 boolean MailPartHandler.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 InlineContentHandler.handleMultipart(MailPart mp, int bodyPartCount, java.lang.String id)
           
 boolean DumperMessageHandler.handleMultipart(MailPart mp, int bodyPartCount, java.lang.String id)
           
 boolean MultipleMailPartHandler.handleMultipart(MailPart mp, int bodyPartCount, java.lang.String id)
           
 boolean RawJSONMessageHandler.handleNestedMessage(MailPart mailPart, java.lang.String id)
           
 boolean ImageMessageHandler.handleNestedMessage(MailPart mailPart, java.lang.String id)
           
 boolean MailPartHandler.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 InlineContentHandler.handleNestedMessage(MailPart mailPart, java.lang.String id)
           
 boolean DumperMessageHandler.handleNestedMessage(MailPart mailPart, java.lang.String id)
           
 boolean MultipleMailPartHandler.handleNestedMessage(MailPart mailPart, java.lang.String id)
           
 boolean RawJSONMessageHandler.handlePriority(int priority)
           
 boolean ImageMessageHandler.handlePriority(int priority)
           
 boolean MailPartHandler.handlePriority(int priority)
           
 boolean JSONMessageHandler.handlePriority(int priority)
           
 boolean NonInlineForwardPartHandler.handlePriority(int priority)
           
 boolean InlineContentHandler.handlePriority(int priority)
           
 boolean DumperMessageHandler.handlePriority(int priority)
           
 boolean MultipleMailPartHandler.handlePriority(int priority)
           
 boolean RawJSONMessageHandler.handleReceivedDate(java.util.Date receivedDate)
           
 boolean ImageMessageHandler.handleReceivedDate(java.util.Date receivedDate)
           
 boolean MailPartHandler.handleReceivedDate(java.util.Date receivedDate)
           
 boolean JSONMessageHandler.handleReceivedDate(java.util.Date receivedDate)
           
 boolean NonInlineForwardPartHandler.handleReceivedDate(java.util.Date receivedDate)
           
 boolean InlineContentHandler.handleReceivedDate(java.util.Date receivedDate)
           
 boolean DumperMessageHandler.handleReceivedDate(java.util.Date receivedDate)
           
 boolean MultipleMailPartHandler.handleReceivedDate(java.util.Date receivedDate)
           
 boolean RawJSONMessageHandler.handleSentDate(java.util.Date sentDate)
           
 boolean ImageMessageHandler.handleSentDate(java.util.Date sentDate)
           
 boolean MailPartHandler.handleSentDate(java.util.Date sentDate)
           
 boolean JSONMessageHandler.handleSentDate(java.util.Date sentDate)
           
 boolean NonInlineForwardPartHandler.handleSentDate(java.util.Date sentDate)
           
 boolean InlineContentHandler.handleSentDate(java.util.Date sentDate)
           
 boolean DumperMessageHandler.handleSentDate(java.util.Date sentDate)
           
 boolean MultipleMailPartHandler.handleSentDate(java.util.Date sentDate)
           
 boolean RawJSONMessageHandler.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 MailPartHandler.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 InlineContentHandler.handleSpecialPart(MailPart part, java.lang.String baseContentType, java.lang.String fileName, java.lang.String id)
           
 boolean DumperMessageHandler.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 RawJSONMessageHandler.handleSubject(java.lang.String subject)
           
 boolean ImageMessageHandler.handleSubject(java.lang.String subject)
           
 boolean MailPartHandler.handleSubject(java.lang.String subject)
           
 boolean JSONMessageHandler.handleSubject(java.lang.String subject)
           
 boolean NonInlineForwardPartHandler.handleSubject(java.lang.String subject)
           
 boolean InlineContentHandler.handleSubject(java.lang.String subject)
           
 boolean DumperMessageHandler.handleSubject(java.lang.String subject)
           
 boolean MultipleMailPartHandler.handleSubject(java.lang.String subject)
           
 boolean RawJSONMessageHandler.handleSystemFlags(int flags)
           
 boolean ImageMessageHandler.handleSystemFlags(int flags)
           
 boolean MailPartHandler.handleSystemFlags(int flags)
           
 boolean JSONMessageHandler.handleSystemFlags(int flags)
           
 boolean NonInlineForwardPartHandler.handleSystemFlags(int flags)
           
 boolean InlineContentHandler.handleSystemFlags(int flags)
           
 boolean DumperMessageHandler.handleSystemFlags(int flags)
           
 boolean MultipleMailPartHandler.handleSystemFlags(int flags)
           
 boolean RawJSONMessageHandler.handleToRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
           
 boolean ImageMessageHandler.handleToRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
           
 boolean MailPartHandler.handleToRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
           
 boolean JSONMessageHandler.handleToRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
           
 boolean NonInlineForwardPartHandler.handleToRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
           
 boolean InlineContentHandler.handleToRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
           
 boolean DumperMessageHandler.handleToRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
           
 boolean MultipleMailPartHandler.handleToRecipient(javax.mail.internet.InternetAddress[] recipientAddrs)
           
 boolean RawJSONMessageHandler.handleUserFlags(java.lang.String[] userFlags)
           
 boolean ImageMessageHandler.handleUserFlags(java.lang.String[] userFlags)
           
 boolean MailPartHandler.handleUserFlags(java.lang.String[] userFlags)
           
 boolean JSONMessageHandler.handleUserFlags(java.lang.String[] userFlags)
           
 boolean NonInlineForwardPartHandler.handleUserFlags(java.lang.String[] userFlags)
           
 boolean InlineContentHandler.handleUserFlags(java.lang.String[] userFlags)
           
 boolean DumperMessageHandler.handleUserFlags(java.lang.String[] userFlags)
           
 boolean MultipleMailPartHandler.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
RawJSONMessageHandler(int accountId, MailPath mailPath, MailMessage mail)
          Initializes a new RawJSONMessageHandler.
RawJSONMessageHandler(int accountId, java.lang.String mailPath)
          Initializes a new RawJSONMessageHandler.
 

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
static java.util.List<MailMessage> Searcher.matches(java.util.List<MailMessage> mailMessages, SearchTerm<?> searchTerm)
          Applies specified search term against given instances of MailMessage
 boolean ORTerm.matches(MailMessage mailMessage)
           
 boolean BodyTerm.matches(MailMessage mailMessage)
           
abstract  boolean SearchTerm.matches(MailMessage mailMessage)
          Checks if specified mail message matches this search term
 boolean NOTTerm.matches(MailMessage mailMessage)
           
 boolean ANDTerm.matches(MailMessage mailMessage)
           
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 BccTerm.matches(javax.mail.Message msg)
           
 boolean SizeTerm.matches(javax.mail.Message msg)
           
 boolean HeaderTerm.matches(javax.mail.Message msg)
           
 boolean CcTerm.matches(javax.mail.Message msg)
           
 boolean ORTerm.matches(javax.mail.Message msg)
           
 boolean FromTerm.matches(javax.mail.Message msg)
           
 boolean FlagTerm.matches(javax.mail.Message msg)
           
 boolean ReceivedDateTerm.matches(javax.mail.Message msg)
           
 boolean BooleanTerm.matches(javax.mail.Message msg)
           
 boolean BodyTerm.matches(javax.mail.Message msg)
           
 boolean SentDateTerm.matches(javax.mail.Message msg)
           
 boolean SubjectTerm.matches(javax.mail.Message msg)
           
abstract  boolean SearchTerm.matches(javax.mail.Message msg)
          Checks if given message matches this search term
 boolean NOTTerm.matches(javax.mail.Message msg)
           
 boolean ToTerm.matches(javax.mail.Message msg)
           
 boolean ANDTerm.matches(javax.mail.Message msg)
           
 

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, int accountId)
          Gets an appropriate instance of mail access parameterized with given session.
 MailTransport MailService.getMailTransport(com.openexchange.session.Session session, int accountId)
          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, int accountId)
           
 MailTransport MailServiceImpl.getMailTransport(com.openexchange.session.Session session, int accountId)
           
 

Uses of MailException in com.openexchange.mail.structure
 

Methods in com.openexchange.mail.structure that throw MailException
 boolean StructureHandler.handleAttachment(MailPart part, java.lang.String id)
           
 boolean StructureHandler.handleColorLabel(int colorLabel)
           
 boolean StructureHandler.handleHeaders(java.util.Iterator<java.util.Map.Entry<java.lang.String,java.lang.String>> iter)
           
 boolean StructureHandler.handleInlineUUEncodedAttachment(UUEncodedPart part, java.lang.String id)
           
 boolean StructureHandler.handleInlineUUEncodedPlainText(java.lang.String decodedTextContent, ContentType contentType, int size, java.lang.String fileName, java.lang.String id)
           
 boolean StructureHandler.handleMultipartEnd()
           
 boolean StructureHandler.handleMultipartStart(ContentType contentType, int bodyPartCount, java.lang.String id)
           
 boolean StructureHandler.handleNestedMessage(MailPart mailPart, java.lang.String id)
           
 boolean StructureHandler.handleReceivedDate(java.util.Date receivedDate)
           
 boolean StructureHandler.handleSystemFlags(int flags)
           
 boolean StructureHandler.handleUserFlags(java.lang.String[] userFlags)
           
 void StructureMailMessageParser.parseMailMessage(MailMessage mail, StructureHandler handler)
          Parses specified mail using given handler as call-back
 void StructureMailMessageParser.parseMailMessage(MailMessage mail, StructureHandler handler, java.lang.String prefix)
          Parses specified mail using given handler as call-back and given initial prefix for mail part identifiers; e.g.
 

Constructors in com.openexchange.mail.structure that throw MailException
Base64JSONString(java.io.InputStream in)
          Initializes a new Base64JSONString.
 

Uses of MailException in com.openexchange.mail.structure.handler
 

Methods in com.openexchange.mail.structure.handler that throw MailException
 boolean MIMEStructureHandler.handleAttachment(MailPart part, java.lang.String id)
           
 boolean MIMEStructureHandler.handleColorLabel(int colorLabel)
           
 boolean MIMEStructureHandler.handleHeaders(java.util.Iterator<java.util.Map.Entry<java.lang.String,java.lang.String>> iter)
           
 boolean MIMEStructureHandler.handleInlineUUEncodedAttachment(UUEncodedPart part, java.lang.String id)
           
 boolean MIMEStructureHandler.handleInlineUUEncodedPlainText(java.lang.String decodedTextContent, ContentType contentType, int size, java.lang.String fileName, java.lang.String id)
           
 boolean MIMEStructureHandler.handleMultipartEnd()
           
 boolean MIMEStructureHandler.handleMultipartStart(ContentType contentType, int bodyPartCount, java.lang.String id)
           
 boolean MIMEStructureHandler.handleNestedMessage(MailPart mailPart, java.lang.String id)
           
 boolean MIMEStructureHandler.handleReceivedDate(java.util.Date receivedDate)
           
 boolean MIMEStructureHandler.handleSystemFlags(int flags)
           
 boolean MIMEStructureHandler.handleUserFlags(java.lang.String[] userFlags)
           
 

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

Methods in com.openexchange.mail.structure.parser that throw MailException
 MailMessage MIMEStructureParser.parseStructure(org.json.JSONObject jsonStructure)
          Parses specified JSON mail structure to a MailMessage instance.
 ComposedMailMessage MIMEStructureParser.parseStructure(org.json.JSONObject jsonStructure, com.openexchange.session.Session session)
          Parses specified JSON mail structure to a transportable ComposedMailMessage instance.
 

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(java.lang.String documentId, com.openexchange.session.Session session)
          Gets a new instance of InfostoreDocumentMailPart
abstract  UploadFileMailPart TransportProvider.getNewFilePart(com.openexchange.groupware.upload.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 This is a convenience method that invokes MailTransport.sendMailMessage(ComposedMailMessage, ComposeType, Address[]) with the latter parameter set to null if ComposedMailMessage.hasRecipients() is false; otherwise ComposedMailMessage.getRecipients() is passed.
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.