Email configuration
Hello @luc , I have a question about the email configuration :
In the config file, mail is configured like :
mail => {
# Valid values are 'sendmail' and 'smtp'
how => 'smtp',
howargs => ['smtp.example.org']
},
it works great with a SMTP without credentials.
If I need to authenticate, I read this issue : #209 and set my config like this :
mail => {
# Valid values are 'sendmail' and 'smtp'
how => 'smtp',
howargs => {
host => 'smtp.example.org',
ssl => 'starttls',
sasl_username => 'noreply@example.org',
sasl_password => 'xxxxxxxxxx'
}
}
But it doesn't work. Error is [error] [yB8IY5RV] Not an ARRAY reference at /lufi/local/lib/perl5/Mojolicious/Plugin/Mail.pm line 55.
Any idea on this ?
Edited by Monsieur X