|
Posted by Jerry Stuckle on 06/13/07 11:11
Spartacus wrote:
> 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
First of all, please learn to REPLY to messages instead of starting a
new thread every time.
And why are you putting quotes in the from and to headers?
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|