aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Model/EmailSend.pm
diff options
context:
space:
mode:
authorEdmund von der Burg <evdb@mysociety.org>2011-04-05 12:21:55 +0100
committerEdmund von der Burg <evdb@mysociety.org>2011-04-05 12:21:55 +0100
commit2a91f65e2b6f01e0fb477644cf1c3e18865a5025 (patch)
tree2782703e619948730889d4a7bb31113fcb190dbf /perllib/FixMyStreet/App/Model/EmailSend.pm
parent27e7223d4e388f473af75c1145e7348d5a1b7536 (diff)
Fix incorrect mailer_args
Diffstat (limited to 'perllib/FixMyStreet/App/Model/EmailSend.pm')
-rw-r--r--perllib/FixMyStreet/App/Model/EmailSend.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Model/EmailSend.pm b/perllib/FixMyStreet/App/Model/EmailSend.pm
index de85857f7..73086c65f 100644
--- a/perllib/FixMyStreet/App/Model/EmailSend.pm
+++ b/perllib/FixMyStreet/App/Model/EmailSend.pm
@@ -36,7 +36,7 @@ elsif ( my $smtp_host = FixMyStreet->config('SMTP_SMARTHOST') ) {
# Email::Send::SMTP
$args = {
mailer => 'SMTP',
- mailer_args => { Host => $smtp_host },
+ mailer_args => [ Host => $smtp_host ],
};
}
else {