Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-11-2005, 02:24 AM   #1
LQ Newbie
Registered: Jun 2005
Posts: 3

Rep: Reputation: 0
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 ?

Old 06-11-2005, 02:27 AM   #2
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 5,388

Rep: Reputation: 408Reputation: 408Reputation: 408Reputation: 408Reputation: 408
Is sendmail server started ?

ps auxwww | grep sendmail
Old 06-11-2005, 02:37 AM   #3
LQ Newbie
Registered: Jun 2005
Posts: 3

Original Poster
Rep: Reputation: 0
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

Last edited by Messiadbunny; 06-11-2005 at 02:42 AM.
Old 06-11-2005, 03:43 AM   #4
LQ Newbie
Registered: Jun 2005
Posts: 3

Original Poster
Rep: Reputation: 0
I have no clue why this isn't working .. i've gone through all the configs and everything seems fine.. dunno though.
Old 06-11-2005, 04:40 AM   #5
Registered: Jan 2005
Location: India
Distribution: RHEL,CentOS,SUSE,Solaris10
Posts: 183

Rep: Reputation: 31 check here requirements are mathching or not.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP !!! php mail function akamaru607 Programming 22 08-26-2005 02:44 PM
How does the mail function work(PHP) Alexander.s Programming 1 05-15-2005 09:02 AM
sendmail and PHP mail() function tudekoen Linux - Software 0 05-08-2004 04:45 PM
PHP - mail function saravanan1979 Programming 2 08-06-2003 01:46 AM
Using the PHP mail() Function !?!? Hdata Programming 0 06-22-2003 06:02 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:57 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration