Parece que reside en mail()
Código PHP:
private function mail_passthru($to, $subject, $body, $header, $params) {
echo (mail($to, $this->EncodeHeader($this->SecureHeader($subject)), $body, $header, $params)) ? '1' : '0'; // Pinta 0
if ( ini_get('safe_mode') || !($this->UseSendmailOptions) ) {
$rt = mail($to, $this->EncodeHeader($this->SecureHeader($subject)), $body, $header);
} else {
$rt = mail($to, $this->EncodeHeader($this->SecureHeader($subject)), $body, $header, $params);
}
return $rt;
}
Sigo haciendo avances.
He probado a usar mail sin los dos ultimos parametros, es decir, $header, $params y lo envia.
Esto es lo que contiene $header:
Date: Mon, 12 Aug 2013 20:12:38 +0200 Return-Path: From: Borja Message-ID: <
[email protected]> X-Priority: 3 X-Mailer: PHPMailer 5.2.6 (
https://github.com/PHPMailer/PHPMailer/) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="b1_9414c660a56152857fe6b09b010c1806" Content-Transfer-Encoding: 8bit