aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/EmailSend.pm
Commit message (Collapse)AuthorAgeLines
* Upgrade to using Email::Sender.Matthew Somerville2017-03-28-78/+0
| | | | | | | | | | Email::Send is long deprecated and uses submodules that no longer work correctly (e.g. Net::SMTP::TLS breaks with recent IO::Socket::SSL). We create an Email::Sender subclass to perform the same functionality and this also simplifies the email code with simpler envelope handling. Bundle Email::Sender::Transport::SMTP to include fix from https://github.com/rjbs/Email-Sender/issues/46
* Better handle replies to bounce addresses.Matthew Somerville2016-02-23-1/+8
| | | | | | | | | | Auto unsubscribe alert bounces, forward on report bounces and alert replies to support, and send through to report creator non-bounce replies to their report (for systems that ignore both the From and Reply-To headers). Also forward any totally unparsed bounce to support to possibly then adjust this bounce handling.
* Pass in EmailSend arguments as a hashref.Matthew Somerville2015-12-02-2/+3
| | | | | A fix to bb1e797; when started via a Catalyst model, e.g. send_email in FixMyStreet::App, an empty hashref is passed in.
* Move EmailSend out of Catalyst for use elsewhere.Matthew Somerville2015-12-02-0/+70
|
* Use same handling for cron and non-cron email.Matthew Somerville2015-01-13-9/+0
| | | | | This means that e.g. SMTP authentication is used when set up by all emails, not just non-cron ones. Fixes #988.
* Add do-not-reply config variable, removing special case from code.Matthew Somerville2013-01-02-4/+1
|
* Wrapper around Email::Send::SMTP to set sender.Matthew Somerville2012-05-28-0/+12