diff options
author | Matthew Somerville <matthew@mysociety.org> | 2015-09-01 17:36:09 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2015-09-01 17:36:09 +0100 |
commit | d6c6c05f4627c2b85f2ec867ff3b6c85f297e8cc (patch) | |
tree | 50a126d205b85221d1687b3a9f36524f371d947f | |
parent | d713f8838843d557f5901f801acbc6fcbf31a025 (diff) |
Allow through reply-to header in send_email.
This might be used now by e.g. the contact form.
-rw-r--r-- | perllib/FixMyStreet/App.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App.pm b/perllib/FixMyStreet/App.pm index 013f47a29..8883bb91f 100644 --- a/perllib/FixMyStreet/App.pm +++ b/perllib/FixMyStreet/App.pm @@ -322,7 +322,7 @@ sub send_email { # create an email - will parse headers out of content my $email = Email::Simple->new($content); $email->header_set( ucfirst($_), $vars->{$_} ) - for grep { $vars->{$_} } qw( to from subject); + for grep { $vars->{$_} } qw( to from subject Reply-To); return if $c->is_abuser( $email->header('To') ); |