forum.coppermine-gallery.net
Support => cpg1.3.x Support => Older/other versions => cpg1.3 Ecards & Email => Topic started by: ethidium on July 30, 2004, 05:32:12 pm
-
I've just gotten coppermine running for the first time and trying to register myself as a user. When I enter the info and click "I agree" in the terms and conditions screen, I get the error message:
Fatal error: Call to undefined function: mail() in /var/www/html/cpg1.3.1/include/mailer.inc.php on line 42
I'm sure this is just a php module that I don't have installed, but I don't know which one to go fetch.
Update: after a quick dose of STFW, I find that mail() is a php intrinsic? That's how it appears, anyway, which makes things weirder.
BUT I have rendered the question moot by defining smtp_host in mailer.inc.php so that it uses smtp_mail() instead of mail.
None the less, this seems like something that should be documented in the installation instructions, and I'm still curious why mail() failed.
-
if you don't have sendmail (probably because you're on a windows server), you'll have to specify SMTP. Edit include/mailer.inc.php. See http://coppermine.sourceforge.net/manual.php#smtp
GauGau