Hi,
I'm a PHP newcomer and I have a question about the mail() function.
Here I run Apache 1.3.26 w/ PHP 4.2.2. I've written a script that sends a message taken from a form on the page. I use mail("my_email_address", "message from your site", $message, "From: $from").
It works well, but I want to know if it's also possible to make it work without having the sendmail daemon running (listening on ports 25 and 587).
Thanks in advance.
Nicolas
PHP 4.2.2 mail() function and sendmail daemon
Moderator: General Moderators
- chiefmonkey
- Forum Commoner
- Posts: 25
- Joined: Sat Apr 20, 2002 5:21 am
- Location: Glasgow UK
Re: PHP 4.2.2 mail() function and sendmail daemon
No, I'm afraid it isn'tmadtux wrote:Hi,
I'm a PHP newcomer and I have a question about the mail() function.
Here I run Apache 1.3.26 w/ PHP 4.2.2. I've written a script that sends a message taken from a form on the page. I use mail("my_email_address", "message from your site", $message, "From: $from").
It works well, but I want to know if it's also possible to make it work without having the sendmail daemon running (listening on ports 25 and 587).
Thanks in advance.
Nicolas
George
You might want the Pear SMTP classes if you have access to an SMTP server you can send mail through.