public class FluentEmailTest extends Object
| Modifier and Type | Field and Description |
|---|---|
com.icegreen.greenmail.junit4.GreenMailRule |
greenMail |
LoggingTestRule |
loggingRule |
| Constructor and Description |
|---|
FluentEmailTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
attachAndEmbed() |
void |
attachFile() |
void |
attachResource() |
void |
attachStream() |
void |
bodyHtmlAndMissingTextTemplate() |
void |
bodyHtmlAndText() |
void |
bodyString() |
void |
bodyTemplateString() |
void |
bodyWithHtmlTemplateOnly() |
void |
bodyWithXhtmlTemplate() |
void |
embedFile() |
void |
embedResource() |
void |
embedStream() |
void |
htmlAndText() |
void |
htmlTemplateOnly() |
void |
invalidTemplate() |
void |
setUp() |
void |
textTemplateOnly() |
public final LoggingTestRule loggingRule
public final com.icegreen.greenmail.junit4.GreenMailRule greenMail
public void setUp()
throws IOException
IOExceptionpublic void bodyString()
throws MessagingException,
javax.mail.MessagingException
MessagingExceptionpublic void bodyTemplateString()
throws MessagingException,
javax.mail.MessagingException
MessagingExceptionpublic void bodyWithHtmlTemplateOnly()
throws MessagingException,
javax.mail.MessagingException,
IOException
MessagingExceptionIOExceptionpublic void htmlTemplateOnly()
throws MessagingException,
javax.mail.MessagingException,
IOException
MessagingExceptionIOExceptionpublic void textTemplateOnly()
throws MessagingException,
javax.mail.MessagingException,
IOException
MessagingExceptionIOExceptionpublic void bodyWithXhtmlTemplate()
throws MessagingException,
javax.mail.MessagingException,
IOException
MessagingExceptionIOExceptionpublic void htmlAndText()
throws MessagingException,
javax.mail.MessagingException,
IOException
MessagingExceptionIOExceptionpublic void bodyHtmlAndText()
throws MessagingException,
javax.mail.MessagingException,
IOException
MessagingExceptionIOExceptionpublic void bodyHtmlAndMissingTextTemplate()
throws MessagingException,
javax.mail.MessagingException,
IOException
MessagingExceptionIOExceptionpublic void invalidTemplate()
throws MessagingException,
IOException
MessagingExceptionIOExceptionpublic void attachResource()
throws MessagingException,
javax.mail.MessagingException,
IOException
MessagingExceptionIOExceptionpublic void attachFile()
throws MessagingException,
IOException,
javax.mail.MessagingException
MessagingExceptionIOExceptionpublic void attachStream()
throws MessagingException,
IOException,
javax.mail.MessagingException
MessagingExceptionIOExceptionpublic void embedResource()
throws MessagingException,
javax.mail.MessagingException,
IOException
MessagingExceptionIOExceptionpublic void embedFile()
throws MessagingException,
IOException,
javax.mail.MessagingException
MessagingExceptionIOExceptionpublic void embedStream()
throws MessagingException,
IOException,
javax.mail.MessagingException
MessagingExceptionIOExceptionpublic void attachAndEmbed()
throws MessagingException,
IOException,
javax.mail.MessagingException
MessagingExceptionIOExceptionCopyright © 2021. All rights reserved.