-
Notifications
You must be signed in to change notification settings - Fork 13
E Mail
Alexander Löser edited this page Dec 15, 2016
·
9 revisions
- Install figaro gem via
bundle install
- Run
bundle exec figaro install
- Open
config/application.yml
and add email credentials from slack channel #general
For Heroku deployment additionally execute figaro heroku:set -e production
See also: https://github.com/laserlemon/figaro
- To send a generic email call:
Mailer.send_generic_email(hide_recipients, recipients, reply_to, "subject", "content")
-
hide_recipients
is a boolean.true
will send an email to the recipients one by one,false
will send an email to all at once -
recipients
andreply_to
can both be a single string of email addresses separated by commas or an array of email addresses (strings).
-
workshop-portal wiki