Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
HtmlMail |
|
| 1.0;1 |
1 | package org.paneris.jammyjoes.mail; | |
2 | ||
3 | ||
4 | import javax.mail.MessagingException; | |
5 | import javax.mail.Session; | |
6 | import javax.mail.internet.AddressException; | |
7 | ||
8 | public class HtmlMail extends MimeMail { | |
9 | ||
10 | public HtmlMail(Session session, String content) | |
11 | throws AddressException, MessagingException { | |
12 | 0 | super(session); |
13 | 0 | setContentText(content); |
14 | 0 | setFrom("sales@jammyjoes.com"); |
15 | 0 | setSubject("Jammy Joes Purchase Order"); |
16 | 0 | } |
17 | } |