summaryrefslogtreecommitdiff
path: root/fml/lib
diff options
context:
space:
mode:
authorfukachan <fukachan>2004-05-18 00:37:32 +0000
committerfukachan <fukachan>2004-05-18 00:37:32 +0000
commitf5d5dbc698e7375bda2ccbb78e785502f2732cd3 (patch)
treea5c94789b1bded9a8fd107d60564be1525349e9f /fml/lib
parent924b5f798ecbc39d6373f98ec84d98a367cacf42 (diff)
downloadfml8-f5d5dbc698e7375bda2ccbb78e785502f2732cd3.tar.gz
fml8-f5d5dbc698e7375bda2ccbb78e785502f2732cd3.tar.bz2
fml8-f5d5dbc698e7375bda2ccbb78e785502f2732cd3.zip
pass params $smpt_servers and $smtp_recipient_limit into delivery systemqueue-based-distribute-base
Diffstat (limited to 'fml/lib')
-rw-r--r--fml/lib/FML/Mailer.pm8
1 files changed, 7 insertions, 1 deletions
diff --git a/fml/lib/FML/Mailer.pm b/fml/lib/FML/Mailer.pm
index de91ab57..ef83f623 100644
--- a/fml/lib/FML/Mailer.pm
+++ b/fml/lib/FML/Mailer.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: Mailer.pm,v 1.26 2004/01/02 16:07:23 fukachan Exp $
+# $FML: Mailer.pm,v 1.27 2004/04/23 04:10:27 fukachan Exp $
#
package FML::Mailer;
@@ -207,10 +207,16 @@ sub send
if ($service->error) { $curproc->logerror($service->error); return 0;}
$service->deliver({
+ 'smtp_servers' => $config->{'smtp_servers'},
+
'smtp_sender' => $sender,
'recipient_array' => $recipients,
+ 'recipient_limit' => $config->{smtp_recipient_limit},
+
'message' => $message,
map_params => $config,
+
+ # XXX do not fallback here.
});
if ($service->error) { $curproc->logerror($service->error); return 0;}