Forums | Mahara Community
Support
/
Help: I installed 1.0.7 and emails aren't being sent?
28 December 2008, 17:38
This is caused because yours truly forgot to add a setting to config-dist.php that you will need.
In your config.php file, near the end (before the line with ?> on it), add:
$cfg->sendemail = true;
There will be a 1.0.8 soon to fix this.
Installations that upgrade to 1.0.7 from a previous version, and new installations of 1.1beta are not affected.
Thanks very much to Dirceu Lima (nettmax) for helping me spot the mistake!
28 January 2009, 4:00
Hi,
I'm running 1.0.8 and experiencing this problem still, no e-mails are sent.
How can i track this down ?
(I've tried to add the line "$cfg->sendemail = true;" and the following things:
Sending E-Mail via bash / command line does work,
sending e-mails via the php mail-function does work,
and even a php-script using the "class.phpmailer.php" supplied with mahara does work.
There are no entrys in the error-log regarding mail-problems...)
(And yes, I'm sure about using 1.0.8 ! ;-) )
Thank your for your help,
Stephan
28 January 2009, 5:08
Does a script that uses the Mahara function email_user work?
Try throwing some debugging lines in there, and see what you find.
28 January 2009, 14:43
Hi Nigel, thanks for your suggestion.Which file of the mahara package do i have to include/require for using function email_user ?
28 January 2009, 17:58
Hi - just include init.php (the same way index.php does it), and the function will be available. The function itself is in lib/user.php around line 270.