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