php - How to set (host) properly so peer certificate should match?
Get the solution ↓↓↓Hello I'm trying to send mails with Cpanel in a Laravel project. I believe .env is set correct. I'v tried multiple things like changing ports, host, mailer, encryption, ...
The error I get:
Connection could not be established with host auryn.pro :stream_socket_client(): Peer certificate CN=*.prod.sxb1.secureserver.net' did not match expected CN=
auryn.pro'
Current settings:
MAIL_MAILER=smtp
MAIL_HOST=prod.sxb1.secureserver.net
MAIL_PORT=465
[email protected]
MAIL_PASSWORD=myPass
MAIL_ENCRYPTION=ssl
[email protected]
MAIL_FROM_NAME="${APP_NAME}"
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: a non well formed numeric value encountered
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.