Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SMTP -> ERROR: Failed to connect to server: Network is unreachable (101)
- SMTP Error: Could not connect to SMTP host. Mailer Error: SMTP Error:
- Could not connect to SMTP host
- $mail->IsSMTP();
- $mail->SMTPDebug = 1;
- $mail->SMTPAuth = true;
- $mail->SMTPSecure = "ssl";
- $mail->Host = "smtp.gmail.com";
- $mail->Port = 465;
- $mail->Username = "xxxx@gmail.com";
- $mail->Password = "xxxx";
- $mail->SMTPSecure = "tls"; // no luck
- $mail->Host = "ssl://smtp.gmail.com"; // no luck
- $mail->SMTPKeepAlive = true; // no luck
- $mail->Port = 587; // no luck
- $mail->Port = 25; // no luck
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement