aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjustdave%syndicomm.com <>2004-04-15 11:24:39 +0000
committerjustdave%syndicomm.com <>2004-04-15 11:24:39 +0000
commitf967249484892a3ab49b3b369b0f6995fee60288 (patch)
treea2b16eac6c1f3cb78e8634a961eac9e8cad5dfc1
parent4eb439877181883d716d749358c740b2e62fd80f (diff)
downloadbugs-f967249484892a3ab49b3b369b0f6995fee60288.tar
bugs-f967249484892a3ab49b3b369b0f6995fee60288.tar.gz
bugs-f967249484892a3ab49b3b369b0f6995fee60288.tar.bz2
bugs-f967249484892a3ab49b3b369b0f6995fee60288.tar.xz
bugs-f967249484892a3ab49b3b369b0f6995fee60288.zip
Bug 237638: make bugzilla_email_append.pl work with BugMail.pm instead of processmail
a=justdave
-rwxr-xr-xcontrib/bugzilla_email_append.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/bugzilla_email_append.pl b/contrib/bugzilla_email_append.pl
index 007fd153c..fee9b62ac 100755
--- a/contrib/bugzilla_email_append.pl
+++ b/contrib/bugzilla_email_append.pl
@@ -40,6 +40,7 @@ BEGIN {
require "globals.pl";
use BugzillaEmail;
use Bugzilla::Config qw(:DEFAULT $datadir);
+use Bugzilla::BugMail;
# Create a new MIME parser:
my $parser = new MIME::Parser;
@@ -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) . ";";
SendSQL($long_desc_query);
-system("./processmail", $found_id, $SenderShort);
+Bugzilla::BugMail::Send( $found_id, { changer => $SenderShort } );
sub DealWithError {
my ($reason) = @_;