public class 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 |
|---|---|
MailSession |
custom(Custom value)
Add the org.wildfly.swarm.config.mail.mail_session.Custom object to the list of subresources
|
MailSession |
customs(List<Custom> value)
Add all org.wildfly.swarm.config.mail.mail_session.Custom objects to this subresource
|
Boolean |
debug()
Enables JavaMail debugging
|
MailSession |
debug(Boolean value)
Enables JavaMail debugging
|
String |
from()
From address that is used as default from, if not set when sending
|
MailSession |
from(String value)
From address that is used as default from, if not set when sending
|
String |
getKey() |
ImapServer |
imapServer()
Mail session server
|
MailSession |
imapServer(ImapServer value)
Mail session server
|
String |
jndiName()
JNDI name to where mail session should be bound
|
MailSession |
jndiName(String value)
JNDI name to where mail session should be bound
|
Pop3Server |
pop3Server()
Mail session server
|
MailSession |
pop3Server(Pop3Server value)
Mail session server
|
SmtpServer |
smtpServer()
Mail session server
|
MailSession |
smtpServer(SmtpServer value)
Mail session server
|
MailSession.MailSessionResources |
subresources() |
public MailSession(String key)
public String getKey()
public Boolean debug()
public MailSession debug(Boolean value)
public String from()
public MailSession from(String value)
public String jndiName()
public MailSession jndiName(String value)
public MailSession.MailSessionResources subresources()
public MailSession customs(List<Custom> value)
value - List of org.wildfly.swarm.config.mail.mail_session.Custom objects.public MailSession custom(Custom value)
value - The org.wildfly.swarm.config.mail.mail_session.Custom to addpublic Pop3Server pop3Server()
public MailSession pop3Server(Pop3Server value)
public SmtpServer smtpServer()
public MailSession smtpServer(SmtpServer value)
public ImapServer imapServer()
public MailSession imapServer(ImapServer value)
Copyright © 2015 JBoss by Red Hat. All rights reserved.