Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
email-form-data
Advanced tools
!! this package has been rename **Serverless Forms**, [please use this new package located here](https://www.npmjs.com/package/serverless-forms)
!! this package has been rename Serverless Forms, please use this new package located here
Nodejs server to forward all POST submission by email. Inspired by the excellent formspree with the goal to be simpler to install and use. No database, 100% server (nodejs).
Deploy in 1 click on heroku
1- type these 2 commands
$ npm install
$ EMAIL_USER="me@myemail.com" \
EMAIL_PASS="abcd" \
EMAIL_HOST="mail.gandi.net" \
EMAIL_PORT=587 \
TO="my.name@gmail.com" \
npm start
2- Open http://localhost:8080
to see the HTML form which resides in form.html
. Submit the form and it will send you an email with the content of the form.
3- You can customize the form, it will keep sending you all the field of the form by email.
Here are all the environment variables you can use
Env var | description |
---|---|
MESSAGE | Message to displayed after the form submission. May contain HTML. Default: 'Thank you for your submission.' |
TO | Email address to send the form to (your email) |
FROM | Email address to use as sender address |
SITE_NAME | Name of your site, will be displayed in the email title |
PORT | Port to listen to for form submissions |
FORM | Path to the HTML file containing the example form, defaults to ./form.html |
EMAIL_HOST | SMTP config: see these options here |
EMAIL_PORT | SMTP config: see these options here |
EMAIL_USER | SMTP config: see these options here |
EMAIL_PASS | SMTP config: see these options here |
FAQs
!! email-form-data: package has been rename **Serverless Forms**, [please use this new package located here](https://www.npmjs.com/package/serverless-form)
The npm package email-form-data receives a total of 5 weekly downloads. As such, email-form-data popularity was classified as not popular.
We found that email-form-data demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.