this is my email code, it is to send a confirmation of a member signing up
$message .= $feedback'
/* recipients */
$recipient = $_POST['email'];
/* subject */
$subject = "Membership";
/* message */
/* additional header pieces for errors, From cc's, bcc's, etc */
$headers .= "From: Rugby League in New Zealand Membership <bevan.robinson@paradise.net.nz>\n";
$headers .= "X-Sender: <rleague@rleague.com>\n";
$headers .= "X-Mailer: PHP\n"; // mailer
$headers .= "Return-Path: <rleague@rleague.com>\n"; // Return path for errors
/* If you want to send html mail, uncomment the following line */
// $headers .= "Content-Type: text/html; charset=iso-8859-1\n"; // Mime type
//$headers .= "cc:birthdayarchive@php.net \n"; // CC to
//$headers .= "bcc:birthdaycheck@php.net, [email]birthdaygifts@php.net[/email] \n"; // BCCs to
/* and now mail it */
mail($recipient, $subject, $message, $headers);
}
this code has been cut from another page... i want to write a standard template like welcome $_POST['firstname'],
welcome to our website....
your username is$POST['username'];
your password is $POST['password'];
please follow the below link to activate your account