aboutsummaryrefslogtreecommitdiffstats
path: root/cpanfile
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 /cpanfile
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 'cpanfile')
-rw-r--r--cpanfile6
1 files changed, 2 insertions, 4 deletions
diff --git a/cpanfile b/cpanfile
index c96e05f36..2907f7633 100644
--- a/cpanfile
+++ b/cpanfile
@@ -49,8 +49,7 @@ requires 'DBIx::Class::Schema::Loader';
requires 'Digest::MD5';
requires 'Digest::SHA';
requires 'Email::MIME';
-requires 'Email::Send';
-requires 'Email::Send::SMTP';
+requires 'Email::Sender';
requires 'Email::Valid';
requires 'Error';
requires 'FCGI';
@@ -62,6 +61,7 @@ requires 'Getopt::Long::Descriptive';
requires 'HTML::Entities';
requires 'HTTP::Request::Common';
requires 'Image::Size';
+requires 'IO::Socket::SSL', '2.007';
requires 'IO::String';
requires 'JSON::MaybeXS';
requires 'Locale::gettext';
@@ -76,8 +76,6 @@ requires 'Net::DNS::Resolver';
requires 'Net::Domain::TLD', '1.75';
requires 'Net::Facebook::Oauth2';
requires 'Net::OAuth';
-requires 'Net::SMTP::SSL', '1.03';
-requires 'Net::SMTP::TLS';
requires 'Net::Twitter::Lite::WithAPIv1_1';
requires 'Path::Class';
requires 'POSIX';