Visit Jeremy's Blog.
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 10-07-2003, 03:59 AM   #1
LQ Newbie
Registered: Jun 2003
Location: KSA
Distribution: Red Hat
Posts: 15

Rep: Reputation: 0
Fatal error: Call to undefined function: mail()

Hi there
I can't send any mail using any PHP script.
Here is the error i get while trying to send a mail..

"PHP Fatal error: Call to undefined function: mail()"

This is only the problem with mail() all other functions are working fine.

where as i have checked phpinfo() stating as:-

sendmail_from =
sendmail_path = -t -i
SMTP = localhost
smtp_port = 25
(same info as in php.ini)

please help me out in this regard.


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
Call to undefined function mail() The_Lance SUSE / openSUSE 1 04-12-2005 08:55 AM
Call to undefined function domxml_open_mem() apt Programming 2 04-01-2005 03:25 AM
Fatal Error - Call to undefined function : pg_pconnect() in filename.php on line xx mwpeng Linux - Newbie 1 02-26-2005 08:57 AM
Call to undefined function: mysql_connect() SocialEngineer Linux - Software 2 11-16-2004 02:24 PM
Call to undefined function: mail() in PHP pembo13 Fedora 0 07-28-2004 07:40 PM

All times are GMT -5. The time now is 07:01 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