At the moment I am working on implementing Mailgun into my rails application but I seem to be confused as to the best method.
The way I have already implemented is to setup the areas, add the gemfile and then setup the background processor through Active Job. I have not yet setup the background processor due to being unsure if this is the best way.
I've seen other resources say that I should simply use the Heroku Add-on and then the additional, minimal coding. I also want to mention that I have Devise setup so I do not need emails sent for the typical situations.
As you can see, I am quite lost at this point and am just trying to understand which method is best. If you happen to know yourself or have a good resource to use, please let me know =)
Side note: I was also told along the way "Don't trigger the email sending from an ActiveRecord callback - Do it from the controller." I wrote that down to refer to when the time came for it and here I am =P Would you agree with that statement?
I can add code if it would help but I am confused as to which code would be actually helpful...
Thank you so much!
Joe
Edit
One more question: Ideally I would like to be able to send out a custom email to all the users on the application (IE: Weekly updates, new site features, etc.). Would Mailgun even be the correct method of doing this?