-
-
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
PHPMailer uses local Sendmail to send email despite is set other way. #2914
Comments
PHP is case-sensitive for property names and variables, so change this:
to
Separately, disabling certificate verification is a really bad idea. If it's causing problems, fix them properly instead of hiding the evidence; there's plenty of info in the troubleshooting guide about that. |
First of all, the reason for this happening is that to set the Host, you need to set the Host attribute with a capital H. |
Next, please take note;
is bad! At least remove this in production. Check if you need settings like "SMTP authentication" to true? Like; |
What he said ;) He beat me to it ;) |
@XL-2000 I'm starting to feel like we might be the same person... 😛 |
Hello Thank you to all of you. Seems it worked! |
Hello
I've got an issue with PHPMailer.
I've made that code
That should send the mail using that email server, but as I have the debug activated:
I don't see any fault in my code. You can see is connecting to the local Sendmail, instead of the Email Server that is on
mx10.zaltor.es
What could be happening...
When I go to the SSH console
The text was updated successfully, but these errors were encountered: