summaryrefslogtreecommitdiffstats
path: root/move.pl
diff options
context:
space:
mode:
Diffstat (limited to 'move.pl')
-rwxr-xr-xmove.pl6
1 files changed, 1 insertions, 5 deletions
diff --git a/move.pl b/move.pl
index 8218c4069..328671f81 100755
--- a/move.pl
+++ b/move.pl
@@ -168,11 +168,7 @@ $template->process("bug/show.xml.tmpl", { bugs => \@bugs,
$msg .= "\n";
-open(SENDMAIL,
- "|/usr/lib/sendmail -ODeliveryMode=background -t -i") ||
- die "Can't open sendmail";
-print SENDMAIL $msg;
-close SENDMAIL;
+Bugzilla::BugMail::MessageToMTA($msg);
my $logstr = "XML: bugs $buglist sent to $to";
Log($logstr);