Project

General

Profile

Idea #1776

Updated by Tom Clegg about 10 years ago

See: http://guides.rubyonrails.org/action_mailer_basics.html 

 Use "rails generate mailer" to create a UserNotifier; add an @account_is_setup@ method & view 

 Add a boolean param "send_notification_email" to the "users.setup" action. (Should be able to specify this with default=true in _setup_requires_parameters().) 

 And of course, if send_notification_email param is set and the setup action succeeds, send the notification email to the user. 

 Bonus: add themes_for_rails to services/api (set it up just like in Workbench) and add a "default" theme showing how to customize the notification message. 
 * See apps/workbench/app/controllers/application_controller.rb 
 * See https://github.com/lucasefe/themes_for_rails/wiki

Back