Nodemailer getaddrinfo ENOTFOUND Error

Looking for some insight into this error I'm getting. on smtpTransport.sendmail(func(err, info){}) The err variable returns this: Error: getaddrinfo ENOTFOUND at errnoException (dns.js:50:10) at ...
more »

2017-09-22 07:09 (1) Answers

Nodemailer:HTML not rendering properly

I am using nodemailer to send a welcome mail after registration, the email template is stored in variable var template = '</!DOCTYPE html><html><head><meta charset="utf-8"><meta http -equiv="X-UA-Compatible" content="IE=8;...
more »

2017-09-15 14:09 (1) Answers

Send mail using nodemailer and Zoho

I'm trying to send mail using nodemailer using my zoho email address. My code is like: var nodemailer = require('nodemailer'); var transporter = nodemailer.createTransport({ host: '', port: 465, secure: true, // use SSL ...
more »

2017-09-08 22:09 (0) Answers

Error when sending mails with Nodemailer

I have a form ( In Angular 2 but for the moment I'm testing) I would that visitors send me mails : so the receiver is always the same : I Have also autorised low security level applications to connect to my gmail. router.get('/sendEmail', (req, res...
more »

2017-08-26 10:08 (0) Answers

Nodemailer started to give an error out of nowhere

I've been using Nodemailer in my app for about a year now without problems, but today I started to get the following error on all mail instances { [Error: self signed certificate] code: 'ECONNECTION', command: 'CONN' } I haven't touched this code ...
more »

2017-08-15 00:08 (0) Answers

Can't send emails with Nodemailer in DigitalOcean

I am using Ubuntu 16.04, in DigitalOcean. I have a made a script to send mails in node v8.1.2, that works fine in but when I run it in DigitalOcean the mail isn't send, it doesn't even console.log() the error in: transporter.sendMail(mailOpti...
more »

2017-07-30 00:07 (0) Answers

How to integrate nodemailer to gulp?

I have a project, directory structure is the following: - /node_modules - /public - /src -- /assets -- /scripts --- /components ----- mailSender.js --- index.js -- /styles -- index.html - gulfile.js - [other files] In mailSender.js file I have a s...
more »

2017-07-27 17:07 (0) Answers

NodeMailer: Error: Connection timeout

I'm using NodeMailer to send emails. I've been successfully using my gmail account to send emails. I just switched to my domains custom email through Godaddy. This email runs through hotmail. Now that I've made this switch I get the Error: Connection...
more »

2017-07-26 21:07 (1) Answers

Nodemailer - email send but not receive

I'm build an API with feathersjs and I need to send an email with an attachment. The email seems to be send but I receive nothing. In my mail.service.js const nodemailer = require('nodemailer'); const transporter = nodemailer.createTransport({ h...
more »

2017-07-25 15:07 (1) Answers

Bulk Emailing with NodeMailer

I am trying to use nodejs to re-write a email broadcaster written in a PHP-like middleware language. I'm fairly new to nodejs (as you can probably tell) Unfortunately, my programming background is more linear than async/object based, hence my proble...
more »

2017-07-21 12:07 (0) Answers

How to send email using nodemailer and gmail?

I am using nodemailer in order to send email to customers. Here how I configured my transporter : const mailTransport = nodemailer.createTransport({ service:'Gmail', auth: { user : "xxxx", pass : "xxxx", }); Unfortunately it doesn't work...
more »

2017-06-24 00:06 (1) Answers

nodemailer attachment text file

I failed to attach a txt file that I created earlier in the script to a mail to be sent via nodemailer. The mail is successfully sent however, it is empty. How would I fix this? var nodemailer = require ('nodemailer'); let transporter = nodemailer....
more »

2017-06-14 13:06 (1) Answers

Error with Nodemailer in expressjs?

I'm using Nodemailer to set up forgot password functionality. For some reason my code gets hung up in the smtpTrans.sendMail part. Am I correctly setting up Nodemailer? UPDATE: Take a look at the full code below including the async.waterfall code...
more »

2017-03-08 15:03 (1) Answers

Nodemailer Gmail timeout

I am having trouble with sending emails to my Gmail account. I am getting a timeout error. And it puzzles me, because I basically copied the settings from a working project I did before. But then I tried the working project, and it gives me the same ...
more »

2017-02-27 11:02 (1) Answers

error when want send mail with nodemailer

I have query on node js and nodemailer, I want to send js emails to email account for gmail, but I have errors in a dns module which is not found when running application. My application is developed on reactions. Upload screeenshot for help The er...
more »

2017-01-24 05:01 (0) Answers

TLS error sending out mail with nodemailer

I am using node.js nodemailer v2.5.0 to send out email using gmail. I used this website as reference. Here is my code. var nodemailer = require('nodemailer'); // create reusable transporter object using the defaul...
more »

2017-01-23 11:01 (0) Answers

How to send an email when a NodeJS script exits?

I tried to catch the exit event and send an email, but the docu says: Listener functions must only perform synchronous operations. Usually I use Nodemailer to send emails, but Nodemailer does not support synchronous operations. Any idea how to...
more »

2017-01-10 19:01 (0) Answers

mail does not reciveing with node mailer smtp

In my node.js application I am using nodemailer with MY SMTP configuration. While working with local machine there is no problem. The mail does receiving while sending from AWS host. var transporter = nodemailer.createTransport({ host: 'smtp.***.com...
more »

2016-11-22 08:11 (0) Answers