Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • 08:47
    glr0221 opened #1505
  • 08:16
    noorgohar456 commented #438
  • 02:01
    github-actions[bot] labeled #1430
  • 02:01
    github-actions[bot] commented #1430
  • 02:01
    github-actions[bot] unlabeled #1492
  • Jan 26 14:26
    riccardi1997 commented #1495
  • Jan 26 06:49
    collinskandie commented #1492
  • Jan 26 02:00
    github-actions[bot] labeled #1492
  • Jan 26 02:00
    github-actions[bot] commented #1492
  • Jan 24 22:14
    andris9 closed #1504
  • Jan 24 22:14
    andris9 commented #1504
  • Jan 24 21:49
    albertorizzi edited #1504
  • Jan 24 21:46
    albertorizzi opened #1504
  • Jan 24 15:11
    andris9 closed #1503
  • Jan 24 15:11
    andris9 commented #1503
  • Jan 24 13:13
    Xsmael edited #1503
  • Jan 24 13:10
    Xsmael opened #1503
  • Jan 23 03:01
    andrew-d-moore opened #1502
  • Jan 21 10:47

    andris9 on master

    Updated examples (compare)

  • Jan 17 14:08
    popod commented #1493
Noel Hidalgo
I have the problem that emails are grouped, despite having different subject, the only thing that carry the same are the recipients; there any settings to prevent this, I have already disabled the grouping of conversation in gmail and always grouped.
Mike Bartlett
@_noelhidalgo_twitter how on earth did you manage to end up here to ask that sort of question!?
Noel Hidalgo
Sorry, its a wrong place? I will delete my ask! :worried:
Rahul Kamboj
I am getting issue using node mailer
q promise not working with nodemailer
can we send a email to forward email address created in godaddy..using nodemailer module
Does nodemailer works with node 6.3.0?
Andris Reinman
@kunal-pal yes, it does work with v6.x
Anyone use mailparser?
I finally figured out how to send an email, but it's going straight to the spam folder. It's an issue with how I set up my transporter variable. help please?
var transporter = nodemailer.createTransport(); //sends, but goes to spam

var transporter = nodemailer.createTransport('SMTP',{
     service: 'Gmail',
     auth: {
         user: 'saxonApp.do.not.reply@gmail.com',
         pass: 'mypassword'
 }); // this says I have to downgrade to v 0.7 or something
Mitchell Donaldson
Hey team, anyone using nodemailer in a lambda function
hello nodemailer people
i get a 554 error when sending emails using ses plugin
i use email x@x.com as from address to send email to: x@x.com and y@y.com.
the email to y@y.com arrives ok
the email to x@x.com is geting this error: Diagnostic-Code: smtp; 554 mail server permanently rejected message (#5.3.0)
Status: 5.3.0
the server on x@x.com is only accepting authenticated emails
any ideas on this? Thanks
Hi there. How can I set up the sign of a mail? I use gmail
Mitchell Donaldson
@bogdan2510 Have you changed the policy for SES to accept all?
Kaitlyn Kenwell
How can I get a refresh token to set up an xoauth transporter?
Using gmail
I found an outdated stackoverflow post, that doesn't work to my knowledge. So I can't get one
@mmdonaldson problem solved. :)
@mmdonaldson thanks
dpsh cudi

hey guys please help me ...
it's a minor issue i know, but i'm hung in various tasks at the moment.

i'm using https://nodemailer.com/2-0-0-beta/templating/
templating provided by node mailer,

i've created my html.ext file and kept in template folder,

i'm using snippet

var EmailTemplate = require('email-templates').EmailTemplate;
var transporter = nodemailer.createTransport('smtps://user%40gmail.com:pass@smtp.gmail.com');

// create template based sender function
// assumes text.{ext} and html.{ext} in template/directory
var sendPwdReminder = transporter.templateSender(new EmailTemplate('template'), {
    from: 'sender@example.com',

// use template based sender to send a message
    to: 'receiver@example.com',
    // EmailTemplate renders html and text but no subject so we need to
    // set it manually either here or in the defaults section of templateSender()
    subject: 'Password reminder'
}, {
    username: 'Node Mailer',
    password: '!"\'<>&some-thing'
}, function(err, info){
        console.log('Password reminder sent');

but unable to send Email

should i change this line

var sendPwdReminder = transporter.templateSender(new EmailTemplate('template'), {


var sendPwdReminder = transporter.templateSender(new EmailTemplate('template/html.ext'), {

please help me out as my err response is coming blank.

dpsh cudi

guys got the solution sorry...
the ext was ejs extension

thanks guys...

Kaitlyn Kenwell
Mike Bartlett
no idea @Redrield never worked with xoauth transporters sorry
Kaitlyn Kenwell
I'm just looking for a way to not have the plaintext password of my acount in the application
Mike Bartlett
we use it with mandrill, and that's a token-based transport
and the tokens are kept in configs that get pulled into the app
Kaitlyn Kenwell
mandrill looks like I need to pay?
I don't have the money for that
Mike Bartlett
yeah you do, and it's not cheap
maybe something like amazon SES? they are pretty cheap and maybe have a free tier?

sendgrid do:

Want to get started for free?
Send 12,000 emails per month and store 2,000 contacts for free. No credit card required upon sign up.

which is around the limit you'd have with gmail (500/day)
@Redrield how many emails do you need to send/day?
Kaitlyn Kenwell
It really depends. I'm just hooking up the email to notify me with details from a forum on my site
So it depends on how many people submit that forum
Mike Bartlett
how many unique users do you get a day on your forum?
Kaitlyn Kenwell
I've had it set up for months now, and I haven't gotten any...
Mike Bartlett
i mean, 500 people emailing you a day from your forum would be a pretty insanely popular forum and you should be rolling in all the money you're making as a result of your untold fame
Kaitlyn Kenwell
So the sendgrid free plan is gonna work fine
Mike Bartlett
so i would think that sendgrid's free tier would work just fine
Kaitlyn Kenwell
anyone sees file attachment issue ?