Mail function wont send eMail. ERROR
- by Peter
I think i tried to fix this issue fr 3 days now and cant seem to find the problem.
I use XAMPP and use this code:
<?php
$to = "carl.j.97@live.com";
$subject = "Test mail";
$message = "Hello! This is a simple email message.";
$from = "carl.j.97@live.com";
$headers = "From: $from";
$res= mail($to,$subject,$message,$headers);
echo " $res Mail…