Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
d13c46a2
Commit
d13c46a2
authored
Jun 17, 2007
by
mkanat%bugzilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 384497: Add a parameter that enables debug mode for SMTP
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat
parent
cc991346
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
2 deletions
+12
-2
MTA.pm
Bugzilla/Config/MTA.pm
+5
-1
Mailer.pm
Bugzilla/Mailer.pm
+2
-1
mta.html.tmpl
template/en/default/admin/params/mta.html.tmpl
+5
-0
No files found.
Bugzilla/Config/MTA.pm
View file @
d13c46a2
...
...
@@ -68,7 +68,11 @@ sub get_param_list {
type
=>
't'
,
default
=>
'localhost'
},
{
name
=>
'smtp_debug'
,
type
=>
'b'
,
default
=>
0
},
{
name
=>
'whinedays'
,
type
=>
't'
,
...
...
Bugzilla/Mailer.pm
View file @
d13c46a2
...
...
@@ -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"
)
{
...
...
template/en/default/admin/params/mta.html.tmpl
View file @
d13c46a2
...
...
@@ -56,6 +56,11 @@
smtpserver => "The SMTP server address (if using SMTP for mail delivery).",
smtp_debug => "If enabled, this will print detailed information to your" _
" web server's error log about the communication between" _
" $terms.Bugzilla and your SMTP server. You can use this to" _
" troubleshoot email problems.",
whinedays => "The number of days that we'll let a $terms.bug sit untouched in a NEW " _
"state before our cronjob will whine at the owner.<br> " _
"Set to 0 to disable whining.",
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment