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
f9672494
Commit
f9672494
authored
Apr 15, 2004
by
justdave%syndicomm.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 237638: make bugzilla_email_append.pl work with BugMail.pm instead of processmail
a=justdave
parent
4eb43987
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
bugzilla_email_append.pl
contrib/bugzilla_email_append.pl
+2
-1
No files found.
contrib/bugzilla_email_append.pl
View file @
f9672494
...
@@ -40,6 +40,7 @@ BEGIN {
...
@@ -40,6 +40,7 @@ BEGIN {
require
"globals.pl"
;
require
"globals.pl"
;
use
BugzillaEmail
;
use
BugzillaEmail
;
use
Bugzilla::
Config
qw(:DEFAULT $datadir)
;
use
Bugzilla::
Config
qw(:DEFAULT $datadir)
;
use
Bugzilla::
BugMail
;
# Create a new MIME parser:
# Create a new MIME parser:
my
$parser
=
new
MIME::
Parser
;
my
$parser
=
new
MIME::
Parser
;
...
@@ -118,7 +119,7 @@ my $Body = "Subject: " . $Subject . "\n" . $Comment;
...
@@ -118,7 +119,7 @@ my $Body = "Subject: " . $Subject . "\n" . $Comment;
my
$long_desc_query
=
"INSERT INTO longdescs SET bug_id=$found_id, who=$userid, bug_when=NOW(), thetext="
.
SqlQuote
(
$Body
)
.
";"
;
my
$long_desc_query
=
"INSERT INTO longdescs SET bug_id=$found_id, who=$userid, bug_when=NOW(), thetext="
.
SqlQuote
(
$Body
)
.
";"
;
SendSQL
(
$long_desc_query
);
SendSQL
(
$long_desc_query
);
system
(
"./processmail"
,
$found_id
,
$SenderShort
);
Bugzilla::BugMail::
Send
(
$found_id
,
{
changer
=>
$SenderShort
}
);
sub
DealWithError
{
sub
DealWithError
{
my
(
$reason
)
=
@_
;
my
(
$reason
)
=
@_
;
...
...
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