public class MailMessage extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MailMessage.Template |
Modifier and Type | Field and Description |
---|---|
static String |
MAIL_SMTP_AUTH |
static String |
MAIL_SMTP_HOST |
static String |
MAIL_SMTP_PASSWORD |
static String |
MAIL_SMTP_SSL_ENABLE |
static String |
MAIL_SMTP_USER |
Constructor and Description |
---|
MailMessage(MailMessage.Template aTemplate) |
MailMessage(String subject,
String from) |
Modifier and Type | Method and Description |
---|---|
MailMessage |
append(String str) |
MailMessage |
appendln(String str) |
MailMessage |
args(Object... args) |
MailMessage |
bcc(String address) |
MailMessage |
cc(String address) |
MailMessage |
line() |
boolean |
send(Properties properties) |
boolean |
send(String smtp,
String user,
String password,
boolean ssl) |
MailMessage |
space() |
MailMessage |
tab() |
MailMessage |
to(String address) |
public static final String MAIL_SMTP_AUTH
public static final String MAIL_SMTP_HOST
public static final String MAIL_SMTP_PASSWORD
public static final String MAIL_SMTP_SSL_ENABLE
public static final String MAIL_SMTP_USER
public MailMessage(MailMessage.Template aTemplate)
public MailMessage append(String str)
public MailMessage appendln(String str)
public MailMessage args(Object... args)
public MailMessage bcc(String address)
public MailMessage cc(String address)
public MailMessage line()
public boolean send(Properties properties)
public MailMessage space()
public MailMessage tab()
public MailMessage to(String address)