30.9. Mail-related components
These components are for use with Seam's Email support.
-
org.jboss.seam.mail.mailSession
- A manager component for a JavaMail
Session
. The session can be either looked up in the JNDI context (by setting thesessionJndiName
property), or created from the configuration options. In this case, thehost
is mandatory.org.jboss.seam.mail.mailSession.host
— the hostname of the SMTP server to use.org.jboss.seam.mail.mailSession.port
— the port of the SMTP server to use.org.jboss.seam.mail.mailSession.username
— the username to use to connect to the SMTP server.org.jboss.seam.mail.mailSession.password
— the password to use to connect to the SMTP server.org.jboss.seam.mail.mailSession.debug
— enables JavaMail debugging (very verbose).org.jboss.seam.mail.mailSession.ssl
— enables SSL connection to SMTP (will default to port 465).org.jboss.seam.mail.mailSession.tls
— enables TLS support in the mail session. Defaults totrue
.org.jboss.seam.mail.mailSession.sessionJndiName
— name under which a javax.mail.Session is bound to JNDI. If this is supplied, all other properties will be ignored.