Originariamente inviata da
aquatimer2000
forse in setUp() manca un
$this->Mail->isSMTP();
per farlo funzionare come smtp
?!
prova ..
Ho provato ma niente.
Questo è l'errore che mi restituisce:
Codice PHP:
SMTP -> FROM SERVER: SMTP -> FROM SERVER: SMTP -> ERROR: HELO not accepted from server:
Notice: fputs(): send of 26 bytes failed with errno=32 Broken pipe in phpmailer/class.smtp.php on line 490
SMTP -> FROM SERVER: SMTP -> ERROR: HELO not accepted from server: SMTP -> NOTICE: EOF caught while checking if connectedLa mail non è stata inviata al seguente indirizzoLanguage string failed to load: from_failedareaverde@cert.azienda.it
La linea 490 è questa in grassetto
Codice PHP:
function SendHello($hello, $host) { fputs($this->smtp_conn, $hello . " " . $host . $this->CRLF);
//ecc ecc
}
Domanda, questo pacchetto include due file class.smtp.php e class.phpmailer.php
Nel primo file c'è questo parametro:
var $SMTP_PORT = 25;// anche se ho sostituito 25 con 465 e con 587 non funziona
Nel secondo ci sono tutti questi altri:
var $From = "areaverde@cert.azienda.it";
var $FromName = "AZIENDA";
var $Host = "localhost";//smtps.pec.aruba.it
var $Port = 25;//anche se ho sostituito 25 con 465 e con 587 non funziona
Può essere utile?
Grazie.