Package com.atlassian.confluence.it.mail
Class MailHelper
- java.lang.Object
- 
- com.atlassian.confluence.it.mail.MailHelper
 
- 
 @Deprecated public class MailHelper extends Object Deprecated.Client side utility class to create mail imports for testing.
- 
- 
Field SummaryFields Modifier and Type Field Description protected org.slf4j.LoggerlogDeprecated.
 - 
Constructor SummaryConstructors Constructor Description MailHelper(ConfluenceRpc rpc, net.sourceforge.jwebunit.junit.WebTester tester)Deprecated.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidcreateMail(File mail, String spaceKey)Deprecated.voidimportMail(String filePath, String spaceKey)Deprecated.Creates mails in the specified space.voidimportMailAndAssertNoRunningTask(String filePath, String spaceKey)Deprecated.Creates mails in the specified space and then checks if it successfully moved to the No Long Running Task page.
 
- 
- 
- 
Constructor Detail- 
MailHelperpublic MailHelper(ConfluenceRpc rpc, net.sourceforge.jwebunit.junit.WebTester tester) Deprecated.
 
- 
 - 
Method Detail- 
importMailpublic void importMail(String filePath, String spaceKey) Deprecated.Creates mails in the specified space. Mail import can be done with an Mbox file or single mail. No explicit assertions are made by this method.- Parameters:
- filePath- the file path to the mailbox
- spaceKey- the space key to import into
 
 - 
importMailAndAssertNoRunningTaskpublic void importMailAndAssertNoRunningTask(String filePath, String spaceKey) Deprecated.Creates mails in the specified space and then checks if it successfully moved to the No Long Running Task page. Mail import can be done with an Mbox file or single mail.- Parameters:
- filePath- the file path to the mailbox
- spaceKey- the space key to import into
 
 
- 
 
-