diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-05-25 17:24:12 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-05-25 17:24:12 +0100 |
commit | 8df7ff6f68edeb92e4aa8b99c0f63a1ed6487b75 (patch) | |
tree | 27c050e809f2d8519a55583509d22acb1c8b9dd8 /bin/handlemail | |
parent | 4ca6f431262c059ca1bb7cfe1e6188d363ca5a89 (diff) | |
parent | f92fa912ef079d28c1392c10ede73c0b072573c1 (diff) |
Merge branch '1410-email-template'
Diffstat (limited to 'bin/handlemail')
-rwxr-xr-x | bin/handlemail | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/handlemail b/bin/handlemail index 55a053963..cc671f786 100755 --- a/bin/handlemail +++ b/bin/handlemail @@ -170,8 +170,7 @@ sub handle_non_bounce_to_null_address { my $mail = FixMyStreet::Email::construct_email({ From => [ FixMyStreet->config('CONTACT_EMAIL'), 'FixMyStreet' ], To => $data{return_path}, - _template_ => $template, - _parameters_ => { }, + _body_ => $template, }); send_mail($mail->as_string, '<>', $data{return_path}); } |