How to tell user the mailer SMTPAuthenticationError via another mail if the settings is failed?

5 views
Skip to first unread message

Anand Joel

unread,
Oct 8, 2018, 1:51:59 AM10/8/18
to Ruby on Rails: Talk
Can anyone tell how to do this in ruby on rails.

How to tell user the mailer SMTPAuthenticationError via another mail if the settings is failed?

Mike

unread,
Oct 8, 2018, 4:09:51 AM10/8/18
to Ruby on Rails: Talk
You could in theory rescue the error, but if your mail system is not working, how do you send a mail to say it is not working!

Ideally your application will send mails via its own user account, and therefore you can test the auth before deploying

Reply all
Reply to author
Forward
0 new messages