Sfoglia il codice sorgente

Do not add auto reply for the main email see BT#8960

Julio Montoya 10 anni fa
parent
commit
fe20a08741
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      main/inc/lib/mail.lib.inc.php

+ 1 - 1
main/inc/lib/mail.lib.inc.php

@@ -118,7 +118,7 @@ function api_mail_html(
     $senderName = !empty($senderName) ? $senderName : $defaultEmail;
     $senderEmail = !empty($senderEmail) ? $senderEmail : $defaultName;
 
-    $mail->SetFrom($senderEmail, $senderName);
+    $mail->SetFrom($senderEmail, $senderName, false);
 
     if (isset($extra_headers['reply_to'])) {
         $mail->AddReplyTo(