LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 06-11-2005, 02:24 AM   #1
Messiadbunny
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 ?

Thanks,
 
Old 06-11-2005, 02:27 AM   #2
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,614

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

ps auxwww | grep sendmail
 
Old 06-11-2005, 02:37 AM   #3
Messiadbunny
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
Messiadbunny
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
hardcorelinux
Member
 
Registered: Jan 2005
Location: India
Distribution: RHEL,CentOS,SUSE,Solaris10
Posts: 183

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


Reply


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


All times are GMT -5. The time now is 10:26 PM.

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