Question: Variables
Hello! I just wanted to clarify whether the following variables are required: EMAIL_PORT and FROM
The README explains that the server must be started with the following environment variables:
TO="[email protected],[email protected]" \
EMAIL_USER="username" \
EMAIL_PASS="*******" \
EMAIL_HOST="mail.gandi.net" \
EMAIL_PORT=587 \
npm start
EMAIL_PORT, however, is not marked as required in app.json.
In a similar vein, FROM is marked as required in app.json, but not in the README section quoted above.
Additionally, I wasn't sure if this was a mistake or intentional, but the README describes REDIRECT as:
If set to true, the server will redirect to the URL provided in the thanks hidden field of the form
However, the app.json describes it as:
URL to redirect to after the form submission. Default: false
Hello Thank you for the PR and for spotting this I'm not sure really, you'll have to read the code. If you do, that would be awesome if you could fix the readme too😅 Also if you don't find the answers in the cod elet me know, I'll check it out
Unfortunately, my JavaScript skills are not up to task for this kind of thing 😭