mail()
| From: | Robert B. Easter | Date: | Tue, 06 Jun 2000 03:54:10 +0000 |
| Subject: | mail() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-1108@lists.php.net to get a copy of this message | ||
I'm having trouble getting mail() to work. The documentation says all you have
to do is call it like:
mail("my@email.adr", "Subject or message", "Message line1\nMessage line
2\nEtc", "From: somebody@somewhere.com");
When I check /var/log/messages, it looks like nothing happens at all - no
sendmail line.
After this failed, I tried to use exec(), to run mail, but looks like I'd have
to do some strange things to make that work.
Please help. :)
Ps. I'm using PHP 4.0.0, Apache.
--
Robert B. Easter
reaster@comptechnews.com