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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php