Explorar el Código

Changed parameters to sendmail.

gustavf hace 25 años
padre
commit
ddcdaa1fbf
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      functions/smtp.php

+ 1 - 1
functions/smtp.php

@@ -161,7 +161,7 @@
       global $sendmail_path, $username, $domain;
       
       // open pipe to sendmail
-      $fp = popen (escapeshellcmd("$sendmail_path -t -f$username@$domain"), "w");
+      $fp = popen (escapeshellcmd("$sendmail_path -odb -oi -t -f$username@$domain"), "w");
       
       write822Header ($fp, $t, $c, $b, $subject);
       writeBody($fp, $body);