Re: Configure php.ini for sending mail
| From: | David Robley | Date: | Wed, 04 Oct 2000 01:37:17 +0000 |
| Subject: | Re: Configure php.ini for sending mail | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-18511@lists.php.net to get a copy of this message | ||
On Wed, 04 Oct 2000, Chanh Huu Nguyen wrote:
> Hi all,
>
> Please, help me a little bit. I'm very new to php. I do not know how to
> configure php.ini for sending mail.
>
> I'm using Linux, php4
>
> Can I do like this in php.ini for sending mail? Is it correct ?
>
> [mail function]
> SMTP = ;for win32 only
> sendmail_from = ;for win32 only
> sendmail_path = /usr/sbin/sendmail ;for unix only, may supply arguments as
> well (default is 'sendmail -t -i')
> .............
That should be:
sendmail_path = /usr/sbin/sendmail -t -i
and make sure that's where your sendmail is. The command
which sendmail
should tell you where it lives
--
David Robley | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet | http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA