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
Can't connect to ssl://smtp.gmail.com:465 #455
Comments
Just a wild guess here, but you could go to https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting where it will tell you exactly what's wrong. |
I have already tried those settings. I have also tried to change the permissions of all the class files from 644 to 755. Didn't work. Tried 777 instead. Same result so I changed back to 644. I have double checked the connection setup and everything works just fine on localhost but not on my webserver. |
This has nothing to do with permissions. Read the troubleshooting guide and it will tell you what you need to do with gmail - it may involve using the xoauth dev branch. |
openssl is enabled on the webserver. I have read the troubleshooting a "million" times now. Nothing works! The webserver is on a web hotel but it has a lot of issues so I'm on my way to create my own webserver. It will be a huge relief! |
If nothing is working, it just sounds like you have connectivity problems, which is what the DNS and telnet tests in the guide will tell you. |
the same problem after update php 5.4 to 7.0.4 2016-03-28 14:38:30 Invalid address: Ваш пенсійний консультант |
Follow the guide. If you don't do what it says I can't help you. |
2016-03-28 14:38:30 Invalid address: Ваш пенсійний консультант |
Please don't hijack unrelated threads or post random unrelated stuff. It's not helpful. |
i resolve this problem in file libraries/vendor/phpmailer/phpmailer/class.phpmailer.php
in function |
Don't do that. You're undermining the point of using a library and your code will break when it gets updated. Read the docs and it tells you how to do that without altering library code. |
thanks. i will try |
Guys, I have had the same problem and I fixed it by just simply doing the following: You guys should do the same |
Hi!
PHPMailer works on localhost but not on my webserver.
What's wrong and how can I fix this issue?
The text was updated successfully, but these errors were encountered: