help with mail() function
| From: | Emmanuel Halphen | Date: | Fri, 15 Dec 2000 18:59:39 +0000 |
| Subject: | help with mail() function | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-30565@lists.php.net to get a copy of this message | ||
Hi,
I have installed Php 4.0.3 on a server.
I would like to use the mail() function, but when I put it in a script, no
mail is sending.
When I put the following function, I have the error which is specified in
the "die" part :
mail("emmanuel@netsample.com","test","test") or
die("Error");
Sendmail is running on the server.
Do somebody can help me ?
Thanks a lot.
Emmanuel