diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-05-28 15:34:28 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-05-28 15:34:28 +0100 |
commit | 2e94d363be99e83a24ed7b14c6dd00480b9afc93 (patch) | |
tree | f341fbdb15dc9f0c58b8d276cf267bdc8452e6fb /perllib/FixMyStreet/App/Model | |
parent | b2f20914e30b0dfa0dbb689bcf02537f869f9f79 (diff) |
Wrapper around Email::Send::SMTP to set sender.
Diffstat (limited to 'perllib/FixMyStreet/App/Model')
-rw-r--r-- | perllib/FixMyStreet/App/Model/EmailSend.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Model/EmailSend.pm b/perllib/FixMyStreet/App/Model/EmailSend.pm index 73086c65f..761856bde 100644 --- a/perllib/FixMyStreet/App/Model/EmailSend.pm +++ b/perllib/FixMyStreet/App/Model/EmailSend.pm @@ -35,7 +35,7 @@ elsif ( my $smtp_host = FixMyStreet->config('SMTP_SMARTHOST') ) { # Email::Send::SMTP $args = { - mailer => 'SMTP', + mailer => 'FixMyStreet::EmailSend', mailer_args => [ Host => $smtp_host ], }; } |