whenever i send an email i get "me" as sender and when opening the mail firstname.lastname@example.org 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);