Forums | Mahara Community
Support
/
emails don't get send
02 June 2009, 7:21
Hello,
I've just installed Mahara 1.1.3 on Debian and everything's working fine so far except one thing:
I tried to register as a new user but didn't get an email to finish registration. I then send an email using "Contact Us", but this mail wasn't delivered. So I expect to have a problem sending/receiving emails.
Which settings influence this? And what do I have to configure in order to make it work?
Thanks in advance,
Daniel
02 June 2009, 10:24
Hi Daniel,
have you set up a smtp accont wihin Mahara.
If not, just try it.
Include these lines into your "config.php" file in your root directory.
$cfg->smtphosts = '';
$cfg->smtpuser = '';
$cfg->smtppass = '';
... filling in the corresponding parameters. You will also find the above lines in the "config-defaults.php" file, which is in your root directory, too.
BR, Peer
02 June 2009, 21:09
By default Mahara sends mail using php's mail() function. This delivers mail to the local MTA for sending, so you have to investigate that to see if it is configured to send mail properly.
On Debian, the default mail service is exim, you can investigate its logs in /var/log/exim4
You can also use SMTP, as Peer suggests, if e-mail can't be sent from your box properly.
04 June 2009, 4:25
Thanks :)
I'll check these options as soon as I have some time :)