Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Mantis 18294 Allow a plugin to be responsible for sending emails #124
This is one part of Mantis 18294, to allow a plugin to be responsible for sending emails, instead of smtp, mail() etc.
A plugin will need to implement an interface to be recognised as being able to send emails. Similarly to the authentication plugin approach, only one plugin, the first found to implement the interface, will be selected.
The PHPlistmailer class will now use the approach shown in PHPMailer/PHPMailer#110 so that phpmailer calls a specific method based on the value of $Mailer.
The existing code for Amazon SES and for local spool has also been changed to fit into this approach.