-
Notifications
You must be signed in to change notification settings - Fork 13
E Mail
Alexander Löser edited this page Dec 14, 2016
·
9 revisions
Note: NOT YET IN DEV. #55
- 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(hideRecipients, recipients, reply_to, "subject", "content")-
hideRecipients
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