Fatal error: Call to undefined function: mail()

Found a bug? Tell us!!
Post Reply
robintw
Regular
Posts: 10
Joined: Sat Jul 31, 2004 12:41 am

Fatal error: Call to undefined function: mail()

Post by robintw »

Hi

When I post a comment (or anyone else posts a comment) I get this error:

Fatal error: Call to undefined function: mail() in /srv/www/htdocs/blog/serendipity_functions.inc.php on line 1394

The comment still goes throught, but it doesn't look too good!

Any ideas?

Robin
robintw
Regular
Posts: 10
Joined: Sat Jul 31, 2004 12:41 am

Post by robintw »

Hi

Sorry...this isn't a bug!

Its a problem with my system because I don't have sendmail set up. Is there a way to set up Serendipity to use a different smtp server (for example, my ISP's server - smtp.dsl.pipex.com)???

I would like to have the mail function working as it would be very useful?

Is this possible?

Robin
tomsommer
Core Developer
Posts: 240
Joined: Tue Sep 02, 2003 6:43 pm
Location: Denmark
Contact:

Post by tomsommer »

No not at the moment, I suggest you fix mail() instead :) Since it's used by many PHP applications.
Tom Sommer (Serendipity Core Developer)
http://blog.dreamcoder.dk
robintw
Regular
Posts: 10
Joined: Sat Jul 31, 2004 12:41 am

Post by robintw »

Hi

Fair enough...any ideas how I fix mail()???

Robin
robintw
Regular
Posts: 10
Joined: Sat Jul 31, 2004 12:41 am

Post by robintw »

Does the mail() function rely on the sendmail server?

Is there anyway to test the sendmail server is working correctly?

Robin
tomsommer
Core Developer
Posts: 240
Joined: Tue Sep 02, 2003 6:43 pm
Location: Denmark
Contact:

Post by tomsommer »

Tom Sommer (Serendipity Core Developer)
http://blog.dreamcoder.dk
Post Reply