Bug 66304 - Set sendmail path properly

git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@853 6955db30-a419-402b-8a0d-67ecbb4d7f56
master
vfilippov 2010-07-07 17:00:41 +00:00
parent dce9115e94
commit e545467485
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ sub MessageToMTA {
}
else {
# This is useful for both Sendmail and Qmail, so we put it out here.
local $ENV{PATH} = SENDMAIL_PATH;
local $ENV{PATH} = SENDMAIL_PATH.($ENV{PATH} ? ':'.$ENV{PATH} : '');
my $mailer = Email::Send->new({ mailer => $method,
mailer_args => \@args });
my $retval = $mailer->send($email);