Hey everyone! I'm developing a real estate site locally that requires emails to be sent in the form of market appraisals and related. I am trying to test the basic mail function but for some reason it does not appear to be sending any emails off. Currently this is my code:
$to = "mooman65@hotmail.com";
$from = "acuriousperson@homeowner.com";
$subject = "Subject";
$message = "Hi there!";
$headers = "From: $from\r\n";
$headers .= "Content-type: text/html\r\n";
mail($to, $subject, $message, $headers);
Is there anything special that I need to enable or something? Or set up? Cheers for any help you could provide!