-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connection hangs at "get_lines()" #2907
Comments
This looks like a misbehaving server. SMTP spec says servers have to respond within the timeout period, but it seems yours is not. What happened when you tried the openssl tests described in the troubleshooting guide? It could be an issue with TLS config, but problems on port 465 are harder to diagnose than using port 587, so give that a try and see if it behaves differently. |
Thanks! Somehow missed the section with |
Please check these things before submitting your issue:
SMTPDebug = 2
setphpmailer
, but search first!Problem description
Setting up emailing for the first time, and when I call
send()
, it hangs until the timeout is reached.I have verified that I can reach my mail server's host/port from Thunderbird on the same machine, using the same settings and credentials.
Code to reproduce
Debug output
The text was updated successfully, but these errors were encountered: