This Pr handles issue 40, modifying the config key admin_email to be an array of admin emails.
Summary of Changes:
The config template changes admin_email to admin_emails . This points to two example email addresses inside development.yml, and ci.yml and Gauri and Alex's illinois.edu emails inside demo/prod ymlfiles.
BookTrackerMailer.test()now includes the admin_emails configuration, where it maps through the array of emails and converts the email to a string, so it's a valid format for the from:mailer field.
Tests for .test() and .error() were both updated to ensure the Mailer class can account for the admin emails array
This Pr handles issue 40, modifying the config key
admin_email
to be an array of admin emails.Summary of Changes:
admin_emails
. This points totwo example email addresses
insidedevelopment.yml,
andci.yml
and Gauri and Alex's illinois.edu emails insidedemo/prod yml
files.BookTrackerMailer.test()
now includes theadmin_emails configuration
, where it maps through the array of emails andconverts the email to a string
, so it's a valid format for thefrom:
mailer field..test()
and.error()
were both updated to ensure the Mailer class can account for the admin emails array