New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mantis 18294 Allow a plugin to be responsible for sending emails #124

merged 1 commit into from Jan 7, 2017


None yet
2 participants

bramley commented Dec 22, 2016

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.

@michield michield merged commit e3408c0 into phpList:master Jan 7, 2017

1 of 2 checks passed

continuous-integration/styleci/pr The StyleCI analysis has failed - 3 files need addressing
continuous-integration/travis-ci/pr The Travis CI build passed

This comment has been minimized.

Show comment
Hide comment

michield Jan 7, 2017


nice one !


michield commented Jan 7, 2017

nice one !

@bramley bramley deleted the bramley:Mantis_18294_2 branch Jan 28, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment