currentUser, EMAIL, PASSWORD, tasProperties| Constructor and Description |
|---|
DataEmail() |
| Modifier and Type | Method and Description |
|---|---|
javax.mail.Message[] |
assertEmailHasBeenReceived(UserModel userModel,
String host,
int port,
String protocol,
String subject)
Assert that a message with subject
@subject has been received and returns the message
e.g. |
assertExtensionAmpExists, assertLogLineIs, getAdminUser, getAlfrescoHome, getCurrentSite, getCurrentSpace, getCurrentUser, getDataDictionaryPath, getLastResource, getRootPath, getSitesPath, getUserHomesPath, isAFile, setCurrentSite, setCurrentSpace, setCurrentUser, setLastResource, usingAdmin, usingLastServerLogLines, usingResource, usingRoot, usingSite, usingSite, usingUser, usingUserHome, usingUserHome, withJMXpublic javax.mail.Message[] assertEmailHasBeenReceived(UserModel userModel, String host, int port, String protocol, String subject) throws Exception
@subject has been received and returns the message
e.g. assertEmailHasBeenReceived(userModel, "imap.gmail.com", "imaps", messageSubject") will connect to "imap.gmail.com" with
the username and password from userModel, will search for a message with the subject "messageSubject", assert that it exists
and return the messageExceptionCopyright © 2005–2019 Alfresco Software. All rights reserved.