Next.js - Nodemailer
SMTP form submission example
A simple example showcasing a form submission to a serverless API utilising nodemailer.
The example uses an Ethereal Mail set-up for example purposes.
The example is using code directly from nodemailer's usage guide.