For anyone who is possessing difficulties with Nodemailer, then The obvious way to uncover assistance will be Stack Overflow or revisit the docs. contentType - optional written content type to the attachment, Otherwise established are going to be derived with the filename home Wanna get started with nodemailer : A Beginner’s Guide to Nodemailer