public class MailSession<T extends MailSession> extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
MailSession.MailSessionResources
Child mutators for MailSession
|
| Constructor and Description |
|---|
MailSession(String key) |
| Modifier and Type | Method and Description |
|---|---|
T |
custom(Custom value)
Add the org.wildfly.swarm.config.mail.mail_session.Custom object to the list of subresources
|
T |
custom(String childKey)
Create and configure a org.wildfly.swarm.config.mail.mail_session.Custom object to the list of subresources
|
T |
custom(String childKey,
CustomConfigurator config)
Create and configure a org.wildfly.swarm.config.mail.mail_session.Custom object to the list of subresources
|
T |
customs(List<Custom> value)
Add all org.wildfly.swarm.config.mail.mail_session.Custom objects to this subresource
|
Boolean |
debug()
Enables JavaMail debugging
|
T |
debug(Boolean value)
Enables JavaMail debugging
|
String |
from()
From address that is used as default from, if not set when sending
|
T |
from(String value)
From address that is used as default from, if not set when sending
|
String |
getKey() |
IMAPServer |
imapServer()
Mail session server
|
T |
imapServer(IMAPServer value)
Mail session server
|
String |
jndiName()
JNDI name to where mail session should be bound
|
T |
jndiName(String value)
JNDI name to where mail session should be bound
|
POP3Server |
pop3Server()
Mail session server
|
T |
pop3Server(POP3Server value)
Mail session server
|
SMTPServer |
smtpServer()
Mail session server
|
T |
smtpServer(SMTPServer value)
Mail session server
|
MailSession.MailSessionResources |
subresources() |
public MailSession(String key)
public String getKey()
public Boolean debug()
public String from()
public String jndiName()
public MailSession.MailSessionResources subresources()
public T customs(List<Custom> value)
value - List of org.wildfly.swarm.config.mail.mail_session.Custom objects.public T custom(Custom value)
value - The org.wildfly.swarm.config.mail.mail_session.Custom to addpublic T custom(String childKey, CustomConfigurator config)
key - The key for the org.wildfly.swarm.config.mail.mail_session.Custom resourceconfig - The org.wildfly.swarm.config.mail.mail_session.CustomConfigurator to usepublic T custom(String childKey)
key - The key for the org.wildfly.swarm.config.mail.mail_session.Custom resourcepublic POP3Server pop3Server()
public T pop3Server(POP3Server value)
public SMTPServer smtpServer()
public T smtpServer(SMTPServer value)
public IMAPServer imapServer()
public T imapServer(IMAPServer value)
Copyright © 2015 JBoss by Red Hat. All rights reserved.