I am trying to send an email after a user submits the contact form. On my own server this was working fine, however after transferring the site over to the clients server I am getting the following error message when trying to send the mail notification:
message: "Connection could not be established with host [login to view URL] :stream_socket_client(): unable to connect to tcp://[login to view URL] (Network is unreachable)"
I suspect there is an issue with the server configuration (Plesk) and not with the code as this was working fine on my own server.
This should be a quick fix (and quick payment!) for someone who knows what they are doing.
23 pekerja bebas membida secara purata $24 untuk pekerjaan ini
Hi. You can quickly fix that issue with this options: 1) change MAIL_DRIVER=smtp to MAIL_DRIVER=sendmail in ".env" file and if the 1st not help, try 2) in console via SSH sudo setenforce 0 regards, Yuiry
Hey, I can get this done in couple of hours. I am a PHP Laravel developer for more than 6 years. Kindly initiate a private message for quick discussions. Best regards, Amit.M