{"repo":"Feuerhamster/mailform","free":true,"listed":false,"github":"https://github.com/Feuerhamster/mailform","clone":"git clone https://github.com/Feuerhamster/mailform.git","description":"The lightweight self-hosted email service for contact forms and more!","language":"TypeScript","stars":122,"topics":["email","api","self-hosted","email-relay","smtp"],"license":"Apache-2.0","category":"auth-billing-email","readme_excerpt":"📨 MailForm The lightweight email service for contact forms and more! This is basically a minimal self-hosted open source alternative to Formspree and SendGrid. Unlike other mail services (that often gives you an API key for backends), this self-hosted mail service is designed to be accessed directly from a frontend, but also offers you the option to use it as a mail service with configurable API keys. Features - Access via API or HTML form with redirects - Configurable CORS and Origin restriction - ReCaptcha and hCaptcha support - Custom rate limits for every target - Optional API keys Planned features - [ ] Email Templates - [x] File Uploads for attachments - [x] ReCaptcha and hCaptcha support Used frameworks & libraries - Express - Typescript - Nodemailer - Validate.js - rate-limiter-flexible - axios 💽 Installation Docker Manually Requires NodeJS 16 or higher ⚙️Configuration Application MailForm can be configured using environment variables. Environment variables: - PORT The port on which the application starts. If not provided, a random port will be selected. - TARGETS DIR Path to the directory with your target files. Default is /targets of the project root. - PROXY A boolean that enables the \"trust proxy\" option of Express. Enable this if you're using MailForm behind a reverse proxy like NGINX! Default value is false. Targets Targets are your different endpoints each with its own rate limits and smtp provider. They are JSON files placed in the /targets directory. Exampl","default_branch":null,"files":null,"tree":[],"storefront":"/r/Feuerhamster","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Feuerhamster/mailform/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}