$mail->IsSMTP(); $mail->Host = "smtp.zenbox.pl"; $mail->Port = 587; $mail->Username = "www@adres.com"; $mail->Password = "tajne"; $mail->SMTPAuth = true; $mail->SMTPKeepAlive = true; $mail->SMTPSecure = "tls"; $mail->SMTPDebug =2;
mam bład
SMTP -> ERROR: Failed to connect to server: Connection timed out (110)
a jak zmienię konfiguracje
$mail->IsSMTP(); $mail->Host = "smtp.zenbox.pl"; $mail->Port = 587; $mail->Username = "www@adres.com"; $mail->Password = "tajne"; $mail->SMTPAuth = true; $mail->SMTPKeepAlive = true;