diff options
| author | fukachan <fukachan> | 2002-11-18 13:53:09 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2002-11-18 13:53:09 +0000 |
| commit | 4f5dfd5f34080a7edd580b4e99dae95f7621f1ed (patch) | |
| tree | 68aeee1106362322ffd3adfae585d99ae567d4e0 /fml/lib/FML/Digest.pm | |
| parent | 59201de0f715e6087bc2b7bf0343e4702c181694 (diff) | |
| download | fml8-4f5dfd5f34080a7edd580b4e99dae95f7621f1ed.tar.gz fml8-4f5dfd5f34080a7edd580b4e99dae95f7621f1ed.tar.bz2 fml8-4f5dfd5f34080a7edd580b4e99dae95f7621f1ed.zip | |
digest routine can customizes header. XXX preliminary support. needs overhaul?
Diffstat (limited to 'fml/lib/FML/Digest.pm')
| -rw-r--r-- | fml/lib/FML/Digest.pm | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/fml/lib/FML/Digest.pm b/fml/lib/FML/Digest.pm index 3ec8bfe8..d04b7ea5 100644 --- a/fml/lib/FML/Digest.pm +++ b/fml/lib/FML/Digest.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: Digest.pm,v 1.1 2002/11/17 08:04:03 fukachan Exp $ +# $FML: Digest.pm,v 1.2 2002/11/17 14:07:33 fukachan Exp $ # package FML::Digest; @@ -148,12 +148,20 @@ sub create_multipart_message my $curproc = $self->{ _curproc }; my $config = $curproc->{ config }; my $ml_name = $config->{ ml_name }; + my $ml_addr = $config->{ address_for_post }; my $charset = $config->{ template_file_charset }; my $seq_file = $config->{ digest_sequence_file }; my $rcptmaps = $config->get_as_array_ref('digest_recipient_maps'); - my $msgopts = { recipient_maps => $rcptmaps }; my $count_ok = 0; my $count_err = 0; + my $msgopts = { + recipient_maps => $rcptmaps, + header => { + 'subject' => "$ml_name ML digest $range", + 'to' => $ml_addr, + 'reply-to' => $ml_addr, + } + }; Log("send back articles range=$range"); |
