diff options
| author | fukachan <fukachan> | 2004-12-30 04:23:34 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2004-12-30 04:23:34 +0000 |
| commit | bfa46b6d8fcedaedb7c879e62756efe1b18b7869 (patch) | |
| tree | 0aae472fd9b776390377a717c809c76f5faeeff7 | |
| parent | 737ea1b5415bcf640559b895f09e0ddd9f387c7b (diff) | |
| download | fml8-bfa46b6d8fcedaedb7c879e62756efe1b18b7869.tar.gz fml8-bfa46b6d8fcedaedb7c879e62756efe1b18b7869.tar.bz2 fml8-bfa46b6d8fcedaedb7c879e62756efe1b18b7869.zip | |
rewrite_errors_to use $outgoing_mail_header_errors_to to rewrite
Errors-To: header field ($maintainer by default).
| -rw-r--r-- | fml/lib/FML/Header.pm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/fml/lib/FML/Header.pm b/fml/lib/FML/Header.pm index 26a76f35..a8d527bd 100644 --- a/fml/lib/FML/Header.pm +++ b/fml/lib/FML/Header.pm @@ -4,7 +4,7 @@ # All rights reserved. This program is free software; you can # redistribute it and/or modify it under the same terms as Perl itself. # -# $FML: Header.pm,v 1.78 2004/07/23 15:59:00 fukachan Exp $ +# $FML: Header.pm,v 1.79 2004/10/28 03:34:47 fukachan Exp $ # package FML::Header; @@ -501,8 +501,9 @@ sub rewrite_reply_to sub rewrite_errors_to { my ($header, $config, $rw_args) = @_; - - $header->add('Errors-To', $config->{ maintainer }); + my $value = $config->{ outgoing_mail_header_errors_to }; + + $header->add('Errors-To', $value); } |
