actually all of my scripts dont work.. here's one:
($payer_email is inputed from form)
$text = "Confirmation\n\n";
$subject = "Confirmation";
$from = "email@email.com";
$to = $payer_email;
mail("$to", "$subject", "$text", "From: $from\nX-Mailer: PHP", "-f $from");