The current ActionMailer setup in production.rb has several settings that assume one is deploying cfp-app with SendGrid. This PR generalizes those settings so that other SMTP providers could be used out of the box. The defaults are the existing SendGrid specific values so that existing installations can upgrade in place and not be impacted.
A few notes:
added documentation of these variables to `README.md'
did NOT add these variables to app.json as the existing SMTP_ADDRESS and SMTP_PORT aren't listed there. I'm not sure if these values should be added or not.
The current ActionMailer setup in
production.rb
has several settings that assume one is deploying cfp-app with SendGrid. This PR generalizes those settings so that other SMTP providers could be used out of the box. The defaults are the existing SendGrid specific values so that existing installations can upgrade in place and not be impacted.A few notes:
app.json
as the existingSMTP_ADDRESS
andSMTP_PORT
aren't listed there. I'm not sure if these values should be added or not.