|
Posted by Jerry Stuckle on 06/13/07 11:13
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
I should also add - the best way to fix these problems is to look at the
headers for a working email, then look at the headers in the email
you're sending. See what is different.
And when I say "look at the headers", I mean examining the source - not
what your reader displays.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|