public class MailerConfig extends AppHolderBase
Destroyable.Util
Modifier and Type | Field and Description |
---|---|
static String |
BCC |
static String |
CC |
static String |
CONTENT_TYPE |
static String |
FROM |
static String |
LOCALE |
static org.osgl.logging.Logger |
logger |
static String |
SMTP_HOST |
static String |
SMTP_PASSWORD |
static String |
SMTP_PORT |
static String |
SMTP_SSL |
static String |
SMTP_TLS |
static String |
SMTP_USERNAME |
static String |
SUBJECT |
static String |
TO |
Constructor and Description |
---|
MailerConfig(String id,
Map<String,String> properties,
App app) |
Modifier and Type | Method and Description |
---|---|
List<javax.mail.internet.InternetAddress> |
bccList() |
List<javax.mail.internet.InternetAddress> |
ccList() |
org.osgl.http.H.Format |
contentType() |
javax.mail.internet.InternetAddress |
from() |
String |
id() |
Locale |
locale() |
boolean |
mock() |
String |
password() |
protected void |
releaseResources() |
javax.mail.Session |
session() |
String |
subject() |
List<javax.mail.internet.InternetAddress> |
to() |
String |
username() |
app, app, me
addSubResource, destroy, isDestroyed, reload, scope
debug, debug, error, error, fatal, fatal, info, info, isDebugEnabled, isTraceEnabled, trace, trace, warn, warn
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
destroy, isDestroyed, scope
public static final org.osgl.logging.Logger logger
public static final String FROM
public static final String CONTENT_TYPE
public static final String LOCALE
public static final String SUBJECT
public static final String TO
public static final String CC
public static final String BCC
public static final String SMTP_HOST
public static final String SMTP_PORT
public static final String SMTP_TLS
public static final String SMTP_SSL
public static final String SMTP_USERNAME
public static final String SMTP_PASSWORD
protected void releaseResources()
releaseResources
in class AppHolderBase
public String id()
public String subject()
public org.osgl.http.H.Format contentType()
public javax.mail.internet.InternetAddress from()
public String username()
public String password()
public Locale locale()
public List<javax.mail.internet.InternetAddress> to()
public List<javax.mail.internet.InternetAddress> ccList()
public List<javax.mail.internet.InternetAddress> bccList()
public boolean mock()
public javax.mail.Session session()
Copyright © 2014–2018 ActFramework. All rights reserved.