Right now, [we're sending out API activation emails via PHP's `mail()` function](https://github.com/statedecoded/statedecoded/blob/master/includes/class.API.inc.php#L408), which doesn't make sense in an era of SPF. For most people, this default behavior is an awkward one. Add support for a few commercial email services (perhaps [Mailgun](https://www.mailgun.com/), [Mandrill](https://www.mandrill.com/), and [AWS SES](https://aws.amazon.com/ses/)), which should only take about 10 minutes apiece. - [ ] create Mailgun method - [ ] create Mandrill method - [ ] create SES method - [ ] add a config option to select an email sending method (including `mail()`) - [ ] modify `API::send_activation_email()` to use the method specified in the config file
Activity
krusynth commentedon Dec 20, 2015
I strongly recommend using one of the packages designed for this, particularly SwiftMailer.