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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Anand Joel
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?

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/31fda251-3f4e-43ef-8702-911986c82696%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

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

Mike Simkins
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

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/c6832f05-a3de-4b5d-899a-4c772670a1d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.