LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   PHP Mail() function doesn't work (https://www.linuxquestions.org/questions/linux-software-2/php-mail-function-doesnt-work-332406/)

Messiadbunny 06-11-2005 02:24 AM

PHP Mail() function doesn't work
 
When using any PHP mail() function scripts, I recieve no email. It all worked fine on my other Linux server, but recently after setting up everything on my new one, this function doesn't work .. is there some config file I have to change or something ?

Thanks,

keefaz 06-11-2005 02:27 AM

Is sendmail server started ?

ps auxwww | grep sendmail

Messiadbunny 06-11-2005 02:37 AM

It's running now .. but still doesnt work

It shows

-bash-2.05b# ps axf | grep sendmail
9241 pts/4 T 0:00 \_ /usr/sbin/sendmail
9242 pts/4 T 0:00 \_ sendmail
9268 pts/4 T 0:00 \_ grep sendmail
9269 pts/4 T 0:00 \_ sendmail start
9276 pts/4 T 0:00 \_ grep sendmail
9278 pts/4 S 0:00 \_ grep sendmail
1691 ? S 0:00 sendmail: accepting connections
1700 ? S 0:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue

Messiadbunny 06-11-2005 03:43 AM

I have no clue why this isn't working .. i've gone through all the configs and everything seems fine.. dunno though.

hardcorelinux 06-11-2005 04:40 AM

http://in2.php.net/mail check here requirements are mathching or not.


All times are GMT -5. The time now is 04:50 AM.