Sorry, still a novice but getting better. I'm building a website and because I'm not that good I'm providing a page where club members can report problems and give me enough information to look into it. I have written the PHP code to send me an e-mail. If I echo the $message it prints fine on the screen but in an e-mail it's just one long sentence with the HTML tags in it. I searched for a solution and tried the ""Content-type: text/plain; charset=UTF-8"" but that did nothing. I know I'll be embarrassed when I get the answer but I am stuck. Thanks in advance.
<?php
// Convert form data to srting data
$first_name=$_POST['first_name'];
$last_name=$_POST['last_name'];
$e_mail=$_POST['e_mail'];
$browser=$_POST['browser'];
$browser_version=$_POST['browser_version'];
$os=$_POST['os'];
$os_ver=$_POST['os_ver'];
$device=$_POST['device'];
$make=$_POST['make'];
$issue=$_POST['issue'];
// Use string data to create and send e-mail
$to = '*******@*****.com'; // will need to be converted to webmaster@stjoesclub.com
$subject = 'Problem with St. Joseph Web Site';
$message = $first_name . " " . $last_name . " is reporting a problem with the web site. <br><br>" .
"E-mail address: " . $e_mail . "<br><br>" .
"Browser: " . $browser . "<br>" .
"Browser Version: " . $browser_version . "<br><br>" .
"Operating System: " . $os . "<br>" .
"Operating System Version: " . $os_ver . "<br><br>" .
"Device: " . $device . "<br>" .
"Device Make: " . $make . "<br><br>" .
$issue;
// Send e-mail to webmaster
mail($to, $subject, $message, 'From: ' . $e_mail, "Content-type: text/plain; charset=UTF-8");
?>