Skip to content
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

[Refactor] Use PHPMailer #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

[Refactor] Use PHPMailer #37

wants to merge 1 commit into from

Conversation

faishal
Copy link

@faishal faishal commented Apr 5, 2018

  • Removed wp_mail pluggable method, hook into wp_mail & PHPmailer
  • Added SES_PHPMailer custom class by extending WordPress PHPMailer
  • Use custom Mailer method to send the email via aws ses

@joehoyle
Copy link
Member

@faishal I think this is very cool! I'm really torn on whether to go for this refactor or not. It seems a lot more elegant and simpler that what we have now. @rmccue third opinion on taking this approach? I'm particularly sensitive to not breaking anything. I wonder if we could have an integration test of some sort to make sure there's no regressions here too.

@drzraf
Copy link

drzraf commented Apr 27, 2018

Don't know how it compares, but in case it got unnoticed: @diegoh's (MIT-licenced) https://github.com/creativecity/wp-aws-ses

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants