WORKERS AHEAD!
You are viewing the development documentation for the Apereo CAS server. The functionality presented here is not officially released yet. This is a work in progress and will be continually updated as development moves forward. You are most encouraged to test the changes presented.
Sending Email - Default
The default strategy uses the JavaMail
API which provides a platform-independent and
protocol-independent framework to build mail and messaging applications, primarily using SMTP:
The following settings may also need to be defined to describe the mail server settings:
spring.mail.default-encoding=UTF-8
|
spring.mail.host=
|
spring.mail.jndi-name=
Session JNDI name. When set, takes precedence over other Session settings. How can I configure this property?
|
spring.mail.password=
|
spring.mail.port=
|
spring.mail.properties=
|
spring.mail.protocol=smtp
|
spring.mail.ssl.bundle=
SSL bundle name. If set, 'mail.(protocol).ssl.socketFactory' property is set to an SSLSocketFactory obtained from the corresponding SSL bundle. Note that the STARTTLS command can use the corresponding SSLSocketFactory, even if the 'mail.(protocol).ssl.enable' property is not set. How can I configure this property?
|
spring.mail.ssl.enabled=false
Whether to enable SSL support. If enabled, 'mail.(protocol).ssl.enable' property is set to 'true'. How can I configure this property?
|
spring.mail.test-connection=false
|
spring.mail.username=
|