mail( ) : How to set the From header.
| From: | Bob Treumann | Date: | Tue, 27 Jun 2000 23:44:20 +0000 |
| Subject: | mail( ) : How to set the From header. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-3472@lists.php.net to get a copy of this message | ||
This works fine but the "From" address shows: From:
root@scout.phpwebhosting.com:
mail($email,"Your Pure Harvest Password",'Password = bozo' )
||lf_exception ("Problem with email");
================================================ So, I try to add a "From" header, thusly:
and it does not
send email, or report an error
mail($email,"Your Pure Harvest Password",'Password = bozo' ,
'From: webserver@dbserve.net\r\nReply-
to:bobt@elmwood.com') ||lf_exception ("Problem with email");
=================================================
Does anyone see a problem with my syntax? Could this be a configuration problem at the web host
(phpwebhosting.com)? I
have asked them the same question, but they are very poor at replying to support questions .. two
weeks and counting :(
=================================================
--
Bob Treumann, 651-603-1245
Elmwood Solutions Inc. (St. Paul, Minnesota)
bobt@elmwood.com
http://www.elmwood.com
ORACLE Business Alliance Program Member