Problème lorsqu'on active l'envoie de mail
Closed this issue · 1 comments
PBoissier commented
Lorsqu'on passe le paramètre use_mail à true, on obtient l'erreur suivante :
2018-08-16 08:22:15,278 [main] FATAL fr.ipgp.earlywarning.EarlyWarning - Configuration validation error:
2018-08-16 08:22:15,278 [main] FATAL fr.ipgp.earlywarning.EarlyWarning - fr.ipgp.earlywarning.utilities.ConfigurationValidator$ValidationException on parameter 'mail.smtp': SMTP credentials are incorrect or another SMTP-related authentication exception occurred. Please check stacktrace for details..
Configuration complète de la section SMTP
<use_mail>true</use_mail>
<smtp>
<use_ssl>true</use_ssl>
<host>smtp.gmail.com</host>
<port>465</port>
<username>user</username>
<password>XXXXXX</password>
<from>user@gmail.com</from>
</smtp>
PBoissier commented
It was just a password issue