Our great sponsors
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
Usually after collecting the form data on the client (just using a simple HTML form or something like Formik), this data is posted to your own API that would save this data to a database. Then, either synchronously within that operation or through a database stream event, you'd queue up the email to be sent should the conditions you want be met. To send the email, you can use something open source like nodemailer, but honestly I think using a managed service like SendGrid is going to give you much more lift. It has a cost, but is relatively inexpensive, especially at smaller scales like it sounds like you're working with.
Usually after collecting the form data on the client (just using a simple HTML form or something like Formik), this data is posted to your own API that would save this data to a database. Then, either synchronously within that operation or through a database stream event, you'd queue up the email to be sent should the conditions you want be met. To send the email, you can use something open source like nodemailer, but honestly I think using a managed service like SendGrid is going to give you much more lift. It has a cost, but is relatively inexpensive, especially at smaller scales like it sounds like you're working with.