If you can send mail to/from the server as an ordinary user, the the 
sendmail configuration is OK, but if this is a new linux installation 
(e.g. RH 7.2 or 7.3) then it might need updating. The firewall may also 
prevent smtp.

HTH
Chris

Septic Flesh wrote:

>I use the following php.ini config.
>
>Do I need to configure the sendmail seperatly to successfully send an email
>? with Linux ?
>
>In my win32 os email works ok..but in the linux box nothing is sent..
>
>
>
>~~~~~~~~~~~~~~~~~~php.ini~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>[mail function]
>; For Win32 only.
>SMTP = [EMAIL PROTECTED]
>
>; For Win32 only.
>sendmail_from = [EMAIL PROTECTED]
>
>; For Unix only.  You may supply arguments as well (default:
>"sendmail -t -i").
>  sendmail_path =/usr/sbin/sendmail -t
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
>
>
>~~~~~~~~code~~~~~~~~~~~~
><?php
>
>
>if (@mail( '[EMAIL PROTECTED]', 'subject', 'kafrila opa ligo ' ))
>
>    {
>    echo " mail sent";
>    }
>
>    else
>        {
>        echo " shit nothing sent";
>        }
>
>echo "<p>email test . . .</p>";
>
>?>
>
>~~~~~~~~~~~~~~~~~~~~~~~~
>
>
>
>Any idea ? Thanks in advance..
>
>
>--
>~~~~~~~~~~~~~~~~
>
>Sapilas@/dev/pinkeye
>
>~~~~~~~~~~~~~~~~
>
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to