I have been using the same script for years to send an email. However, php 7.1 on goddady is new to me, so that mite be the problem.
Here is what I have.
$message = wordwrap($message,70);
$headers = "From: $from\r\n";
$headers .= "Content-type: text/html\r\n";
mail($to, $subject, $message, $headers);
I am not getting emails. What is the problem here?