ruby on rails - Disable or toggle Action Mailer -


what best way go adding in function toggling mailer in rails? user able perhaps click button , mails being sent out disabled/enabled.

if have kind of queue system, i.e, resque, sidekick believe in moment there jobs enqueued mailing, can kill queue , dump these mails , whatever. research rails , queues. it's pretty basic stuff.


Comments

Popular posts from this blog

java - How to Configure JAXRS and Spring With Annotations -

visual studio - TFS will not accept changes I've made to a Java project -

php - Create image in codeigniter on the fly -