Remove broken check

This commit is contained in:
Marcus Bointon 2016-12-24 16:43:41 +01:00
parent dbbbf49d61
commit ed4e7ce8ad
No known key found for this signature in database
GPG Key ID: DE31CD6EB646AA24
2 changed files with 0 additions and 4 deletions

View File

@ -3,7 +3,6 @@
## Version 5.2.18 (December 24th 2016)
* **SECURITY** Critical security update for CVE-2016-10033 please update now! Thanks to [Dawid Golunski](https://legalhackers.com).
* Add ability to extract the SMTP transaction ID from some common SMTP success messages
* Better checking of sendmail path
* Minor documentation tweaks
## Version 5.2.17 (December 9th 2016)

View File

@ -1365,9 +1365,6 @@ class PHPMailer
*/
protected function sendmailSend($header, $body)
{
if (!(is_file($this->Sendmail) and is_executable($this->Sendmail))) {
throw new phpmailerException($this->lang('execute') . $this->Sendmail, self::STOP_CRITICAL);
}
if (!empty($this->Sender) and $this->validateAddress($this->Sender)) {
if ($this->Mailer == 'qmail') {
$sendmail = sprintf('%s -f%s', escapeshellcmd($this->Sendmail), escapeshellarg($this->Sender));