org.nuxeo.ecm.platform.mail.utils
Class MailCoreHelper
java.lang.Object
org.nuxeo.ecm.platform.mail.utils.MailCoreHelper
public final class MailCoreHelper
- extends Object
Helper for Mail Core.
- Author:
- Catalin Baican
Method Summary |
static void |
checkMail(DocumentModel currentMailFolder,
CoreSession coreSession)
Creates MailMessage documents for every unread mail found in the INBOX. |
PIPE_NAME
public static final String PIPE_NAME
- See Also:
- Constant Field Values
INBOX
public static final String INBOX
- See Also:
- Constant Field Values
DELETED_LIFECYCLE_STATE
public static final String DELETED_LIFECYCLE_STATE
- See Also:
- Constant Field Values
EMAILS_LIMIT_DEFAULT
public static final long EMAILS_LIMIT_DEFAULT
- See Also:
- Constant Field Values
checkMail
public static void checkMail(DocumentModel currentMailFolder,
CoreSession coreSession)
throws Exception
- Creates MailMessage documents for every unread mail found in the INBOX.
The parameters needed to connect to the email INBOX are retrieved from
the MailFolder document passed as a parameter.
- Throws:
Exception
Copyright © 2011 Nuxeo SAS. All Rights Reserved.