The last paragraph of the page

Go figure!

The appropriate code is;

mail ($to, $subject, $message, $header = 'From: "Larry, Curly and Moe"
<[EMAIL PROTECTED]>');

Brad:

Don't forget to add the content.

mail($to, $subject, $headers, $body);

And you can also add "Reply-to: "

Such as:

$headers ='From: "Larry, Curly and Moe"<[EMAIL PROTECTED]>')>\n";
$headers .= 'Reply-to: "Moe"<[EMAIL PROTECTED]>' >\n";

And, IF you are permitted to use the fifth parameter:

$extra = "-f" . $fromAddress;

mail($to, $subject, $headers, $body, $extra);

or

ini_set('sendmail_from', '[EMAIL PROTECTED]');
mail($to, $subject, $headers, $body);

Cheers,

tedd


--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to