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 - Custom
You may define your own email sender that would be tasked to submit emails, etc using the following
bean definition and by implementing EmailSender
:
1
2
3
4
@Bean
public EmailSender emailSender() {
return new MyEmailSender();
}
See this guide to learn more about how to register configurations into the CAS runtime.