Optimally the form should probably be submitted via AJAX, but in the interest of getting it up and running, it currently doesn't work that way.
In order to send emails, we need to specify a from address. I currently have that hardcoded to no-reply@edumap2.herokuapp.com. I think it would make sense to set it in an environment variable, but we currently don't have a way to implement that in production (would need Figaro or something), so I've left that for later.
Issue #53
Optimally the form should probably be submitted via AJAX, but in the interest of getting it up and running, it currently doesn't work that way.
In order to send emails, we need to specify a from address. I currently have that hardcoded to
no-reply@edumap2.herokuapp.com
. I think it would make sense to set it in an environment variable, but we currently don't have a way to implement that in production (would need Figaro or something), so I've left that for later.