diff --git a/core/src/plugins/mailer.phpmailer-lite/class.PhpMailLiteMailer.php b/core/src/plugins/mailer.phpmailer-lite/class.PhpMailLiteMailer.php index a3007df5bc..b5177e6e56 100644 --- a/core/src/plugins/mailer.phpmailer-lite/class.PhpMailLiteMailer.php +++ b/core/src/plugins/mailer.phpmailer-lite/class.PhpMailLiteMailer.php @@ -36,6 +36,7 @@ protected function sendMailImpl($recipients, $subject, $body, $from = null) // NOW IF THERE ARE RECIPIENTS FOR ANY REASON, GO $mail = new PHPMailerLite(true); $mail->Mailer = $this->getFilteredOption("MAILER"); + $mail->Sendmail = $this->getFilteredOption("SENDMAIL_PATH"); $from = $this->resolveFrom($from); if (!is_array($from) || empty($from["adress"])) { throw new Exception("Cannot send email without a FROM address. Please check your core.mailer configuration."); diff --git a/core/src/plugins/mailer.phpmailer-lite/manifest.xml b/core/src/plugins/mailer.phpmailer-lite/manifest.xml index 553d31d0c7..757f9863b4 100644 --- a/core/src/plugins/mailer.phpmailer-lite/manifest.xml +++ b/core/src/plugins/mailer.phpmailer-lite/manifest.xml @@ -3,6 +3,7 @@ xsi:noNamespaceSchemaLocation="file:../core.ajaxplorer/ajxp_registry.xsd"> +