diff --git a/changelog.md b/changelog.md index 99a2b8cd..c207c748 100644 --- a/changelog.md +++ b/changelog.md @@ -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) diff --git a/class.phpmailer.php b/class.phpmailer.php index 34c06f91..18db0638 100644 --- a/class.phpmailer.php +++ b/class.phpmailer.php @@ -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));