Page 1 of 1

Fatal error: Call to undefined function: mail()

Posted: Sat Jul 31, 2004 12:39 pm
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

Posted: Sat Jul 31, 2004 1:25 pm
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

Posted: Sat Jul 31, 2004 3:43 pm
by tomsommer
No not at the moment, I suggest you fix mail() instead :) Since it's used by many PHP applications.

Posted: Sat Jul 31, 2004 4:07 pm
by robintw
Hi

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

Robin

Posted: Sat Jul 31, 2004 5:05 pm
by robintw
Does the mail() function rely on the sendmail server?

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

Robin

Posted: Sat Jul 31, 2004 5:12 pm
by tomsommer