|
Posted by Spartacus on 06/13/07 11:09
Oops, I meant to write:
function send_mail($to_name, $to_email, $from_name, $from_email,
$subject, $message)
{
$thedate = date("r", time());
$headers = "X-Mailer: PHPMailProgram/1.0\n";
$headers .= "From: \"".$from_name."\" <".$from_email.">\n";
$headers .= "Date: $thedate\n";
$headers .= "Content-Type: text/plain\n\n";
$to = "\".$to_name."\" <".$to_email.">";
return mail( $to, $subject, $message, $headers);
}
Sorry 'bout that.
Thank you,
Spartacus
[Back to original message]
|