Our great sponsors
-
nodemailer-mailgun-transport
nodemailer is an amazing node module to send emails within any of your nodejs apps. This is the transport plugin that goes with nodemailer to send email using Mailgun 🔫
-
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.
In the fast growing tech industry, there’s a special place in the hall of fame for projects that have stood the test of time. Nodemailer is one such project that deserves the well-earned spot. Launched in 2010, not long after Node.js’ inception, Nodemailer has been a go-to dependency for sending email messages for Node.js users. With 14k+ stars and 438k+ usages on GitHub and ~1.48M weekly downloads on NPM as of this writing, Node.js developer community has benefited immensely from the project.
Let’s dive right into writing the plugin! Nodemailer plugin creation (specifically the transport section) and a Mailgun implementation would be our reference points. While the core documentation is exhaustive, we’ll keep it relatively simple for the first version of our plugin.
That’s pretty much it for the basic version of the plugin. We’ve pushed the code to https://github.com/tk26/nodemailer-courier-transport. feel free to play around with it and reach out with any questions/feedback. It’s open sourced under MIT license so feel free to contribute to the open source project.
Here's the Node.js module for communicating with the Courier REST API. The source code behind the package is MIT licensed at courier-node repo.
Related posts
- Can't start Foundry VTT under Windows 7
- nodemailer/nodemailer: ✉️ Send e-mails with Node.JS – easy as cake!
- Sending Emails with Ease: A Step-by-Step Guide to Using Nodemailer with TypeScript in Next.js
- Complete code Send mail on node JS for 60s
- When sending confirmation emails to your users, do you send it from your gmail account or from other mail service? Does google block your account if you use it for this purpose?