From d13c46a25138d15b29293855a336f4e90645e694 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Sun, 17 Jun 2007 23:57:09 +0000 Subject: Bug 384497: Add a parameter that enables debug mode for SMTP Patch By Max Kanat-Alexander r=LpSolit, a=mkanat --- Bugzilla/Mailer.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Bugzilla/Mailer.pm') diff --git a/Bugzilla/Mailer.pm b/Bugzilla/Mailer.pm index 1d4a90a4f..ab54ecfea 100644 --- a/Bugzilla/Mailer.pm +++ b/Bugzilla/Mailer.pm @@ -100,7 +100,8 @@ sub MessageToMTA { if ($method eq "SMTP") { push @args, Host => Bugzilla->params->{"smtpserver"}, - Hello => $hostname; + Hello => $hostname, + Debug => Bugzilla->params->{'smtp_debug'}; } if ($method eq "Test") { -- cgit v1.2.3-24-g4f1b