Hi,
How to get the php.ini file ? I tried to run phpinfo program and where I got following Configuration File (php.ini) Path /usr/local/lib I tried to open that file, it has only 2 lines as follows: magic_quotes_gpc = On error_reporting = 5 Any addition is required ? Thanks Manisha At 10:13 PM 6/12/02 -0500, you wrote: Yes what are your settings in php.ini, generally the default settings are sufficient? > I am trying to send mail from Linux Redhat server through PHP. It is not > giving me any error but I am not getting any mail too. > > Following is the code > > ------------------------------------ > > <? > $mailBody = "This is one line \ n This is a second line \n\n this is a > third line"; > > $boolMail = mail ("[EMAIL PROTECTED]", "Test mail subj from local linux > server - PHP", $mailBody); > print ("Email has been send "); > ?> > > --------------------------------- > > Even I checked the email files at /var/spool/mqueue - There are 2 files, > one with message and one with lots of other info. But then why I am not > getting the emails ? Why they are remaining in the queue ? Is there any > setting required in php.ini ? > > > Thanks and regards > Manisha > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -Pushkar S. Pradhan