diff options
author | gerv%gerv.net <> | 2005-01-01 22:44:15 +0100 |
---|---|---|
committer | gerv%gerv.net <> | 2005-01-01 22:44:15 +0100 |
commit | 4e2bfc82a0a1d70e3e0e79d27b9bcee8dfc25077 (patch) | |
tree | 7995ebb2391debcd774e93aab16411e04df8e28d /CGI.pl | |
parent | b9cfd23ffdca5cf3efc90f19471c553085f4c913 (diff) | |
download | bugzilla-4e2bfc82a0a1d70e3e0e79d27b9bcee8dfc25077.tar.gz bugzilla-4e2bfc82a0a1d70e3e0e79d27b9bcee8dfc25077.tar.xz |
Bug 59351 - move all calls to sendmail to a central place. Patch by mkanat; r=gerv,vladd; a=justdave.
Diffstat (limited to 'CGI.pl')
-rw-r--r-- | CGI.pl | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -44,6 +44,7 @@ use Bugzilla::Util; use Bugzilla::Config; use Bugzilla::Constants; use Bugzilla::Error; +use Bugzilla::BugMail; # Shut up misguided -w warnings about "used only once". For some reason, # "use vars" chokes on me when I try it here. @@ -225,9 +226,7 @@ sub MailPassword { "login" => $login, "password" => $password}); - open SENDMAIL, "|/usr/lib/sendmail -t -i"; - print SENDMAIL $msg; - close SENDMAIL; + Bugzilla::BugMail::MessageToMTA($msg); } sub PutHeader { |