mail() Problem
| From: | Mary-Anne Nayler | Date: | Mon, 09 May 2005 23:02:35 +0000 |
| Subject: | mail() Problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-214795@lists.php.net to get a copy of this message | ||
Hi.
I am very new to this group and this is my first request for help so please be patient.
when I try to use the mail() function in a PHP based webpage I get the following error:
Fatal error: Call to undefined function: mail() in <the path to my script> on line <line number>
I have tried changing some mail config details in php.ini. For instance, the path to sendmail used to be: "/usr/lib" and I have changed it to: "/usr/lib/sendmail -t -i". The permissions on sendmail are 555, owner is root and group is other.
I guess you could say I am well and truly clutching at straws now!!
Has anyone else ever had this problem? If so how was it resolved?
Mary-Anne