Ok. you answered the issue about the response, now I can see the error message on the site. Which brings me back to my first question. It still throws “Message could not be sent” error. How to get a success message? What settings am I missing on the PHP file? Please check the image in the link below:
https://drive.google.com/file/d/1JBnxfHrTGNC8a-7KReMAUL158wyIzPp5/view?usp=sharing
I have also used a business email there but no luck. Is there any other settings to be included in the PHP file to trigger the email and success message?
Do I have to input these below values?
$mail->Host = ‘smtp.myhost.com’;
$mail->SMTPAuth = true;
$mail->Username = ‘myemail’;
$mail->Password = ‘myemailpwd’;
$mail->SMTPSecure = ‘tls’;
$mail->Port = 587;
Can you please help me here? It’s been almost 3 days now. Please detail it as much as you can.