diff options
author | mkanat%bugzilla.org <> | 2006-11-03 07:31:59 +0000 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2006-11-03 07:31:59 +0000 |
commit | 394a014b635238518511e1c86ecdbdbe70593c5c (patch) | |
tree | c57be0489271f2a84bcf3eabfbc26bdaae32e8c9 /Bugzilla/Config | |
parent | c387f4db6121b465c4d10035d8082eee3c016ef0 (diff) | |
download | bugs-394a014b635238518511e1c86ecdbdbe70593c5c.tar bugs-394a014b635238518511e1c86ecdbdbe70593c5c.tar.gz bugs-394a014b635238518511e1c86ecdbdbe70593c5c.tar.bz2 bugs-394a014b635238518511e1c86ecdbdbe70593c5c.tar.xz bugs-394a014b635238518511e1c86ecdbdbe70593c5c.zip |
Bug 353711: Move to Email:: modules for email sending
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=glob, a=myk
Diffstat (limited to 'Bugzilla/Config')
-rw-r--r-- | Bugzilla/Config/MTA.pm | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Bugzilla/Config/MTA.pm b/Bugzilla/Config/MTA.pm index 53340dc13..a9bc4619c 100644 --- a/Bugzilla/Config/MTA.pm +++ b/Bugzilla/Config/MTA.pm @@ -34,6 +34,7 @@ package Bugzilla::Config::MTA; use strict; use Bugzilla::Config::Common; +use Email::Send; $Bugzilla::Config::MTA::sortkey = "10"; @@ -43,10 +44,8 @@ sub get_param_list { { name => 'mail_delivery_method', type => 's', - choices => $^O =~ /MSWin32/i - ? ['smtp', 'testfile', 'sendmail', 'none'] - : ['sendmail', 'smtp', 'qmail', 'testfile', 'none'], - default => 'sendmail', + choices => [Email::Send->new()->all_mailers(), 'None'], + default => 'Sendmail', checker => \&check_mail_delivery_method }, |