Mailer
Security covered
This module provides a new plugin type to define coded emails throughout your website.
This is a developer module, the provided UI is minimal.
When creating a site that sends a lot of mails your code gets sloppy fast.
Each mail needs a hook_email, hook_template, a calling function, ...
This module makes it possible to bundle all the mail data into a single mailer plugin and call the plugin from everywhere on your website.
An example module is provided with a basic and extended example.
Mailer does not handle the sending of your emails! You will need a module like mailsystem or swiftmailer to be able to send html emails.