Users’ mail: configuring SMTP account to send mails with Doke0s

Note: as of 2010, BeezNest has moved away from supporting Dokeos and launched the Chamilo project. This article was written in 2009, when BeezNest’s team members were still the main developers for the Doke0s software, under the responsibility of the Doke0s company. Chamilo has since then reached double the size of the Doke0s project and is much more transparent in terms of code publication and community support. This article surprisingly still holds true for Chamilo up to version 1.11, but this might change in Chamilo 2.0 with a new system for e-mail sending. You’be been warned.

A question that often comes around is “Sending e-mails with Doke0s don’t work! How do I fix that?”

This is generally due to the fact that e-mails are supposed to be sent from the server where Doke0s is hosted. However, if e-mail sending is unavailable, or if you want to configure your own account, have a look at main/inc/lib/mail.conf.php and update the settings to tell it to use ‘smtp’ and then give it your account details (like, your login and your account for example).

Beware that, if it is used to sent massive e-mails, then your account might be suspended for some time by your e-mail provider.

Related Posts

Chamilo’s first steps in mobile learning

Last week we started our first baby steps in mobile learning, thanks to...

Loginshare for Dokeos

A long time ago, I developed a loginshare script for a customer, that...


  • Dear Yannick

    I’ve tried a lot of configuration of mail.conf.php, but I have some problems :

    First, I can’t neither send a message nor create a topic in social link (message n’a pas pu être envoyé).
    If someone don’t remind is password, no email is sent.

    I try to configure such mail.conf.php as follow but I don’t manage.

    Could you help me ?

    *secret is not my password.

  • $platform_email[‘SMTP_FROM_EMAIL’] = ‘’;
    $platform_email[‘SMTP_FROM_NAME’] = ‘ipad.institut’;
    $platform_email[‘SMTP_HOST’] = ‘’;
    $platform_email[‘SMTP_PORT’] = 587;
    $platform_email[‘SMTP_MAILER’] = ‘’; //mail, sendmail or smtp
    $platform_email[‘SMTP_AUTH’] = ‘false’;
    $platform_email[‘SMTP_USER’] = ‘’;
    $platform_email[‘SMTP_PASS’] = ‘secret’;
    $platform_email[‘SMTP_CHARSET’] = ‘UTF-8’;

Comments are closed.