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

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -