survival / donation-system

:gem: Gem containing Survival's donation system logic
https://donation-system-staging.herokuapp.com/
MIT License
2 stars 3 forks source link

Thank you email #3

Closed octopusinvitro closed 7 years ago

octopusinvitro commented 7 years ago

First stab at a class that sends a thank you email.

For now, there are no views, just a hardcoded text body.

In the future, if we use Mandrill, there will be no need to even make views here, so we are not adding that code at all.

This also adds a convenience script to test the mailer fast in production.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 0ca53ce48b049b5f33e5fd9722102f0eeb881761 on thank-you-email into 4cfe66a38842b874c2e78d593986776d8c5c2900 on master.

octopusinvitro commented 7 years ago

I've changed the port number to 587 so I'm merging this.