Hi,
I have set up form on my website but when someone sends mail through the form (php mailer) the mail lands in spam.
screenshot: https://snipboard.io/cOldzF.jpg
My website: https://www.skilleasyacademy.com/
The mails sent using this default mail script is landing in inbox, but if I send mail with your code its landing in
spam.
Please help me fix this.
default script landing in inbox:
<?php
ini_set( 'display_errors', 1 );
error_reporting( E_ALL );
$from = "Forms@skilleasyacademy.com";
$to = "markygonsalves@gmail.com";
$subject = "Checking PHP mail";
$message = "PHP mail works just fine";
$headers = "From:" . $from;
mail($to,$subject,$message, $headers);
echo "The email message was sent.";
?>
