Re: Send a mail by php
| From: | Jason Brooke | Date: | Tue, 03 Oct 2000 05:15:00 +0000 |
| Subject: | Re: Send a mail by php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-18366@lists.php.net to get a copy of this message | ||
Check the manual under 'Configuration' - it's all documented there
http://www.php.net/manual/configuration.php
jason
> Hi all,
>
> I'm using Red Hat Linux, php4 and mysql. I want to send a mail by
php4. I
> don't kwon how to configure php.ini for sending mail on Linux. But on
Win32,
> it is Ok.
>
> <?
> $rs = mail("chanhnguyen@psv.com.vn","hi, mr Chanh","Hung
> heo","From:hoanguyen@psv.com.vn");
> if($rs) echo "Ok"; else echo "$Fail";
> ?>
>
>
> Thanks
>
> Chanh.