aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Model/EmailSend.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2017-03-17 22:18:45 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-03-28 13:10:38 +0100
commitb26da0da5e1f8631646a34fdacbce9bb5bc3b706 (patch)
treecd42e16d51054606b85bf6ff28a47e586437406c /perllib/FixMyStreet/App/Model/EmailSend.pm
parent02fcb1606bc2b739fdc798e5ca06f2ed1b6bf6ea (diff)
Upgrade to using Email::Sender.
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
Diffstat (limited to 'perllib/FixMyStreet/App/Model/EmailSend.pm')
-rw-r--r--perllib/FixMyStreet/App/Model/EmailSend.pm19
1 files changed, 0 insertions, 19 deletions
diff --git a/perllib/FixMyStreet/App/Model/EmailSend.pm b/perllib/FixMyStreet/App/Model/EmailSend.pm
deleted file mode 100644
index 93751d4a6..000000000
--- a/perllib/FixMyStreet/App/Model/EmailSend.pm
+++ /dev/null
@@ -1,19 +0,0 @@
-package FixMyStreet::App::Model::EmailSend;
-use base 'Catalyst::Model::Factory';
-
-use strict;
-use warnings;
-
-=head1 NAME
-
-FixMyStreet::App::Model::EmailSend
-
-=head1 DESCRIPTION
-
-Catalyst Model wrapper around FixMyStreet::EmailSend
-
-=cut
-
-__PACKAGE__->config(
- class => 'FixMyStreet::EmailSend',
-);