diff options
author | travis%sedsystems.ca <> | 2005-03-10 02:10:00 +0100 |
---|---|---|
committer | travis%sedsystems.ca <> | 2005-03-10 02:10:00 +0100 |
commit | 3ccde2aa6f7ab81a76fefdb0c7d2d6160767ff75 (patch) | |
tree | 3d2126ae418fdcd8c5cbe76d05852f5aa7a0f9b4 /defparams.pl | |
parent | 56c497393404c0b9077e3050b6c722e41b152c9b (diff) | |
download | bugzilla-3ccde2aa6f7ab81a76fefdb0c7d2d6160767ff75.tar.gz bugzilla-3ccde2aa6f7ab81a76fefdb0c7d2d6160767ff75.tar.xz |
Bug 284629 : Combine Param(enable_mail_sending) with Param(maildeliverymethod)
Patch by Shane H. W. Travis <travis@sedsystems.ca> r=Jake a=myk
Diffstat (limited to 'defparams.pl')
-rw-r--r-- | defparams.pl | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/defparams.pl b/defparams.pl index b31f18397..af5715235 100644 --- a/defparams.pl +++ b/defparams.pl @@ -671,24 +671,20 @@ sub find_languages { }, { - name => 'enable_mail_sending', - desc => 'If set to \'Off\', Bugzilla will not send out any email of any ' . - 'type whatsoever.<br>For most administrators, it is useful to ' . - 'be able to disable all mail during testing and initial setup, ' . - 'but other than that they will want to leave it \'On\'.', - type => 'b', - default => 1 - }, - - { - name => 'maildeliverymethod', - desc => 'The method used for mail delivery. The testfile method ' . - 'is useful for debugging (for more information see the ' . - 'Mail::Mailer manual)', + name => 'mail_delivery_method', + desc => 'Defines how email is sent, or if it is sent at all.<br><ul>' . + '<li>\'sendmail\', \'smtp\' and \'qmail\' are all MTAs. ' . + '(only SMTP is available in Windows.)</li>' . + '<li>\'testfile\' is useful for debugging: all email is stored' . + 'in data/mailer.testfile instead of being sent. For more ' . + 'information, see the Mail::Mailer manual.</li>' . + '<li>\'none\' will completely disable email. Bugzilla continues ' . + 'to act as though it is sending mail, but nothing is sent or ' . + 'stored.</li></ul>' , type => 's', choices => $^O =~ /MSWin32/i - ? ['smtp', 'testfile'] - : ['sendmail', 'smtp', 'qmail', 'testfile'], + ? ['smtp', 'testfile', 'none'] + : ['sendmail', 'smtp', 'qmail', 'testfile', 'none'], default => 'sendmail', checker => \&check_multi }, |