public class ImapMailConnector extends AbstractInboxConnector implements eu.tsystems.mms.tic.testframework.logging.Loggable
sessionPropertiesConfigurationConsumer| Constructor and Description |
|---|
ImapMailConnector()
Constructor, creates a ImapMailConnector object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
markAllMailsAsSeen()
Marks all messages in inbox as seen.
|
protected void |
openSession()
Open a new IMAP Session and save in session object.
|
deleteAllMessages, deleteMessage, deleteMessage, deleteMessage, deleteMessage, deleteMessage, deleteMessage, deleteMessages, deleteMessages, getMessageCount, getMessageCount, moveMessage, moveMessage, moveMessage, query, waitForMails, waitForMails, waitForMails, waitForMails, waitForMails, waitForMailsconfigureSessionProperties, createDefaultSession, getInboxFolder, getPassword, getPort, getServer, getSession, getUsername, isDebug, isSslEnabled, setDebug, setInboxFolder, setPassword, setPort, setServer, setSession, setSslEnabled, setUsernamepublic ImapMailConnector()
protected void openSession()
openSession in class AbstractMailConnector{https://eclipse-ee4j.github.io/mail/docs/api/com/sun/mail/imap/package-summary.html}public void markAllMailsAsSeen()
throws eu.tsystems.mms.tic.testframework.exceptions.SystemException
eu.tsystems.mms.tic.testframework.exceptions.SystemException - Error connecting with Server.