此内容没有您所选择的语言版本。

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 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

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2026 Red Hat