Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • Dec 05 18:08
    BrunoPierca commented #603
  • Dec 02 14:41
    Gunnbra closed #1478
  • Dec 02 02:58
    firxworx commented #1488
  • Dec 01 07:51
    andris9 closed #1476
  • Dec 01 07:51
    andris9 commented #1476
  • Dec 01 07:49
    andris9 closed #1481
  • Dec 01 07:49
    andris9 closed #1488
  • Dec 01 07:49
    andris9 commented #1488
  • Dec 01 05:49
    firxworx opened #1488
  • Nov 30 12:48
    Baleen-Y closed #1487
  • Nov 30 12:48
    Baleen-Y commented #1487
  • Nov 30 12:30
    Baleen-Y opened #1487
  • Nov 30 02:04
    github-actions[bot] labeled #1476
  • Nov 30 02:04
    github-actions[bot] commented #1476
  • Nov 28 02:06
    github-actions[bot] labeled #1479
  • Nov 28 02:06
    github-actions[bot] commented #1479
  • Nov 27 18:16
    91labs commented #1399
  • Nov 27 02:10
    github-actions[bot] unlabeled #1430
  • Nov 26 02:05
    ihmpavel commented #1430
  • Nov 26 02:03
    github-actions[bot] labeled #1430
@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 ?
i want to attach PDF document to the recipient mail, but recipients not able to open the docs except reading the alert message like document is corrupted or damaged something like ....
Hello there. Could someone tell me how to make a sign in my mails?
Mike Bartlett
@rottenberry you mean signing the email like this: https://github.com/andris9/nodemailer-dkim ?
Hello guys, what is the best way of sending a html template? I am not using any engines. Just plain html and css.
Mike Bartlett
construct it with something like handlebars and then send that as part of the email?
Thank you @mydigitalself for the reply
Sandip Subedi
Do you guys have any idea why I am getting this message but I am not able to get emails ?
{"accepted":["sandipsubedi@outlook.com","sandip.subedi27@gmail.com"],"rejected":[],"response":"250 OK id=1cMs7V-0008DM-I5","envelope":{"from":"contact@quizcollections.com","to":["sandipsubedi@outlook.com","sandip.subedi27@gmail.com"]},"messageId":"151ccce5-cf4e-d5e6-fe47-796db863cfa7@quizcollections.com"}
Hello guys
Looking to use nodemailer behind a >>SEND>> button in browser to send plain text color codes from a color-picker made with React here: http://codepen.io/freesaga/pen/xgxaqp
So just run transporter.sendMail on >Send> button-click then I think, yea?
Is there a way to render a value nested in an object? For example {{ship_to.data.name}}
Brian Flannery
Running nodemailer in a backbone model .js file and get this error when submitting "Error: Unsupported configuration, downgrade Nodemailer to v0.7.1 to use it". Anyone have an idea? Can send my code if needed
Julien Fontanet
Hello everyone, where should Nodemailer issues be reported?
Julien Fontanet
@andris9 friendly poke :)
Kai Hendry
Is there a text (80 col) templating engine available in JS? So you can right align or center a {{ event.title }} for e.g. ?
while sending messages from nodemailer that message is not showing in the sent mailbox of that particular user
Vijay Kumar Chitirala
Hello everyone
How can i use nodemailer to send emails from a gmail group account?
I used nodemailer directly with my email & password. I also tried with oauth2 credentials with xoauth2 transport. Both of these works great but only for a user account. these methods are not to send mails from a group account

Hi all,
How can I send emails to the SMTP server no authentication?

( I don't know why my client use a server no authentication. And I need to check how can I use nodemailer for this case)

Hey, is there anyone with godaddy mails expreience
"message": {
"code": "EAUTH",
"response": "535 Authentication Failed",
"responseCode": 535,
"command": "AUTH LOGIN"