diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-03-25 21:30:44 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2016-03-30 17:24:27 +0100 |
commit | 32427b2032b12a7195249a2041e7aaa420b06e6a (patch) | |
tree | 440bf6e61970eb18376ba6a1a58ba232da50e234 /perllib/FixMyStreet/App | |
parent | d80037c4c38154e2b9c892653e06527d0b718292 (diff) |
Refactor email handling to use Email::MIME alone.
Diffstat (limited to 'perllib/FixMyStreet/App')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Contact.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Contact.pm b/perllib/FixMyStreet/App/Controller/Contact.pm index 115f4e3d2..e20011471 100644 --- a/perllib/FixMyStreet/App/Controller/Contact.pm +++ b/perllib/FixMyStreet/App/Controller/Contact.pm @@ -242,8 +242,7 @@ sub send_email : Private { my $from = [ $c->stash->{em}, $c->stash->{form_name} ]; my $params = { - to => [ [ $recipient, _($recipient_name) ] ], - subject => 'FMS message: ' . $c->stash->{subject}, + to => [ [ $recipient, _($recipient_name) ] ], }; if (FixMyStreet::Email::test_dmarc($c->stash->{em})) { $params->{'Reply-To'} = [ $from ]; |