public static class MailUtil.MailEnvironment extends AbstractEnvironment
Modifier and Type | Field and Description |
---|---|
InternetAddress[] |
recipients |
constants
Constructor and Description |
---|
MailEnvironment(boolean mailEnabled) |
MailEnvironment(boolean mailEnabled,
String server,
int port,
String password,
String from,
String recipients,
String messageTemplate,
String subjectTemplate,
boolean useSSL,
boolean starttls) |
Modifier and Type | Method and Description |
---|---|
protected void |
init(boolean mailEnabled,
String server,
int port,
String password,
String from,
String recipients,
String messageTemplate,
String subjectTemplate,
boolean useSSL,
boolean starttls) |
protected InternetAddress[] |
parseRecipients(String x) |
debug, error, getConstants, getMyLogger, info, isDebugOn, isPingable, setDebugOn, setPingable, warn
protected void init(boolean mailEnabled, String server, int port, String password, String from, String recipients, String messageTemplate, String subjectTemplate, boolean useSSL, boolean starttls) throws AddressException
AddressException
protected InternetAddress[] parseRecipients(String x) throws AddressException
AddressException
Copyright © 2019. All Rights Reserved.