ciao Alhazred ho controllato le impostazioni di php sono identiche,
ieri andavo a memoria e avevo sbagliato msg di errore , sarò piu preciso
il msg è
SMTP Error: Could not authenticate
viene generato nella funzione SMTP::Authenticate() di phpmailer
codice:
**
* Performs SMTP authentication. Must be run after running the
* Hello() method. Returns true if successfully authenticated.
* @access public
* @return bool
*/
public function Authenticate($username, $password) {
// Start authentication
fputs($this->smtp_conn,"AUTH LOGIN" . $this->CRLF);
$rply = $this->get_lines();
$code = substr($rply,0,3);
if($code != 334) {
$this->error =
array("error" => "AUTH not accepted from server",
"smtp_code" => $code,
"smtp_msg" => substr($rply,4));
if($this->do_debug >= 1) {
echo "SMTP -> ERROR: " . $this->error["error"] . ": " . $rply . $this->CRLF .
'
';
}
return false;
}
....
....
return true;
}
in particolare qui
...
$rply = $this->get_lines();
$code = substr($rply,0,3);
if($code != 334) {
...
}
ho stampato $rply
echo $rply;
$rply = 530 5.7.0 Must issue a STARTTLS command first. y10sm15285433wbm.14