mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-13 17:05:43 +01:00
492 B
492 B
scm-mail-plugin
The mail plugin provides an central api for sending e-mails. This api can be used by other plugins.
Configuration
The scm-mail-plugin provides a single place for the mail server configurations at Config->General->Mail Settings.
API Usage
First you have to add the dependency to your pom.xml e.g.:
But note you should use at least version 1.15 of scm-plugins as parent.
Now you can use the MailService class via injection e.g.: