Search

30.9. Mail-related components

download PDF
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 the sessionJndiName property), or created from the configuration options. In this case, the host 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 to true.
  • 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.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.