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
c62518c3
Commit
c62518c3
authored
Mar 01, 2005
by
travis%sedsystems.ca
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 178370 : global param for whether or not to send mail
Patch by Shane H. W. Travis <travis@sedsystems.ca> r=LpSolit a=myk
parent
2a5d8de8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
BugMail.pm
Bugzilla/BugMail.pm
+1
-4
defparams.pl
defparams.pl
+10
-0
No files found.
Bugzilla/BugMail.pm
View file @
c62518c3
...
...
@@ -59,9 +59,6 @@ if ($2) {
$sitespec
=
"-$2$sitespec"
;
# Put the port number back in, before the '@'
}
# disable email flag for offline debugging work
my
$enableSendMail
=
1
;
my
%
force
;
my
%
seen
;
...
...
@@ -886,7 +883,7 @@ sub NewProcessOnePerson ($$$$$$$$$$$$$) {
sub
MessageToMTA
($)
{
my
(
$msg
)
=
(
@_
);
return
unless
$enableSendMail
;
return
unless
Param
(
'enable_mail_sending'
)
;
my
@args
;
if
(
Param
(
"maildeliverymethod"
)
eq
"sendmail"
&&
!
Param
(
"sendmailnow"
))
{
...
...
defparams.pl
View file @
c62518c3
...
...
@@ -671,6 +671,16 @@ 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 '
.
...
...
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