MathieuM if you want to use SMTP, you have to set
smtp as the driver value.
Is it on Infomaniak shared hosting ? I believe the default (
mail) driver should work there, but maybe they have stopped allowing that. In any case the flarum logs should tell you where exactly it went wrong if needed, and in your last case should show it's still trying to use the