Email not getting
| From: | Manisha | Date: | Thu, 13 Jun 2002 03:07:29 +0000 |
| Subject: | Email not getting | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-101867@lists.php.net to get a copy of this message | ||
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 ?
Thanks and regards
Manisha