Forums | Mahara Community
Support
/
Using Smtp instead of mail() in Mahara 1.1.5
15 July 2009, 5:47
Hi guys,
is it still possible to configure mahara to use smtp instead of mail()? The config-defaults file isn't in the root directory but in /lib/ for some reason. If I try adding the lines
$cfg->smtphosts = 'mail.a.com;mail.b.com';
$cfg->smtpuser = '';
$cfg->smtppass = '';
I get the following error
[15-Jul-2009 12:36:08] PHP Parse error: syntax error, unexpected T_VARIABLE in /data/web/social/web/social/mahara/config.php on line 83
Regards Alex
15 July 2009, 6:22
Ok finally got it working.
The error was cause because I had set
$cfg->noreplyaddress = '[email protected]'
This is not possible if you want to use smtp! Unfortunately the "sender" now looks very weird.
Is it possible to set the email from field somehowe without using $cfg->noreplyaddress?
16 July 2009, 2:39
18 July 2009, 5:48
Unbelievable and I am teaching Java :(
Shame on me. Sorry for wasting your time!