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

Register sent mails

I'm using a web interface I've done to send mails. These mails are sent using Nodemailer 2.6.4. When I login to my roundcube webmail, I want the mails sent using this interface to be shown in "sent messages" section. Is it possible to do it and ho...
more »

2016-10-17 14:10 (1) Answers

NodeMailer- Sending email in nodejs

I am newbie to nodejs and learning by implementing some examples.I am trying to send an email using nodemailer using below code: var smtpConfig = { host: '', port: 465, secure: true, // use SSL auth: { user:...
more »

2016-10-04 16:10 (0) Answers