Bug 66304 - Set sendmail path properly
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@853 6955db30-a419-402b-8a0d-67ecbb4d7f56master
parent
dce9115e94
commit
e545467485
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue