Send mail to a SMTP server with authentification

From ClarolineDoc

In script claroline/inc/lib/claro_mail.lib.inc.php

replace this line :

$mail->IsMail();

by these lines :

$mail->IsSMTP();
$mail->SMTPAuth = TRUE;
$mail->Username = 'username';
$mail->Password = 'password';