Re: Email not getting

From: Date: Thu, 13 Jun 2002 04:51:37 +0000
Subject: Re: Email not getting
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-101895@lists.php.net to get a copy of this message
Hello, On 06/13/2002 12:07 AM, Manisha wrote:
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 ("manisha@aurica.com", "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 ?
Just use the mailq command in the shell to see why the messages are stuck. -- Regards, Manuel Lemos

« previous php.general (#101895) next »