sendmail
sur certains ISP (ex. infomaniak) la fonction mail marche pas, il faut modifier config.php
$emailmethod = 'smtp'; // The following values can be used:
// mail - use internal PHP Mailer
// sendmail - use Sendmail Mailer
// qmail - use Qmail MTA
// smtp - use SMTP relaying
$emailsmtphost = 'localhost'; // Sets the SMTP host. You can also specify a different port than 25 by using
// this format: [hostname:port] (e.g. 'smtp1.example.com:25').
$emailcharset = "UTF-8"; // You can change this to change the charset of outgoing emails to some other encoding - like 'iso-8859-1'