-
-
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
Can't send test email from bare PHP to SMTP #2966
Comments
It's unclear where that is coming from. One thing though, you are catching an exception class called |
After adding smtpConnect() and smtpClose I was able to use the appliaction key and it seemed like it worked but in the end I didn't received any email. In terminal I've got this message
I have no idea how to move forward with this as it seems like it does connect to SMTP but in the end it doesn't send anything. Closed by accident sorry |
I don't know what code that is, but it's not from PHPMailer. At a guess I'd say it's perhaps a child class that needs updating? |
To be fair I got the library from this link that was in README.md in the manual installation section. It can be that it was just outdated and it was fully my fault for not getting it from the Releases. |
The code in the current download of that file is the same. An obvious syntax error like that would never have been in a release version as even the most basic tests would have failed. |
I have an issue when trying to send test email from bare PHP on my local machine via SMTP
Error that I get is this:
I'm trying to run this via XAMPP and local PHP install that is on version 8.2.11.
In the end it is supposed to work on LAMP server.
The text was updated successfully, but these errors were encountered: