hey there,
whenever i send an email i get "me" as sender and when opening the mail me@127.0.0.1 to me
shows up in gmail.
here is my code:
$head = 'From: $buyeremail' . "\r\n" . 'Replay-To: $buyeremail'. "\r\n" . 'X-Mailer:'. 'PHP/' . phpversion();
$name = $_POST['buyername'];
$to = $_POST['email'];
$subject = $_POST['itemname'];
$body = "whatever";
mail($to,$subject,$body,$head);
Any idea?