DEV Community

Ismail
Ismail

Posted on

Nodemailer with angular 5/6/7 and Express

Hey Guys
Can Anyone give me some useful ressources to integrate nodemailer in my mean project in order to send verification emails

Top comments (1)

Collapse
 
th3n00bc0d3r profile image
Muhammad

Hello,

I have just made a boilerplate for you to start with.

Github: Nodemailer-Express-Node

Hope this helps, you just have to replace the SMTP Settings.

Its a sample code to help integrate nodemailer into node, express and an easy html template. The code uses Express for API creation and then nodemailer to handle SMTP mails. For templating, I used EJS and a sample HTML email has been said, you just have to send the email.html file with an EJS variable, which is defined.

Let me know if this helps.