Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Dec 07 21:29
    qeleb opened #1490
  • Dec 07 19:29
    titanism commented #1489
  • Dec 07 19:20
    titanism edited #1489
  • Dec 07 19:20
    titanism commented #1489
  • Dec 07 19:15
    titanism opened #1489
  • Dec 07 13:16
    dependabot[bot] labeled #17
  • Dec 07 13:16
    dependabot[bot] opened #17
  • Dec 07 13:16

    dependabot[bot] on npm_and_yarn

    Bump decode-uri-component from … (compare)

  • Dec 07 11:19
    aqaurius6666 edited #13
  • Dec 07 11:18
    aqaurius6666 opened #13
  • Dec 06 19:41
    hbi99 commented #1478
  • Dec 06 09:20
    Onyeriri commented #204
  • Dec 06 02:01
    github-actions[bot] closed #1475
  • Dec 06 02:01
    github-actions[bot] commented #1475
  • 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
Kaitlyn Kenwell
@Redrield
Using gmail
I found an outdated stackoverflow post, that doesn't work to my knowledge. So I can't get one
Bogdan
@bogdan2510
@mmdonaldson problem solved. :)
@mmdonaldson thanks
dpsh cudi
@dpz3579

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
sendPwdReminder({
    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){
    if(err){
       console.log('Error');
    }else{
        console.log('Password reminder sent');
    }
});

but unable to send Email

should i change this line

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

to

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

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

dpsh cudi
@dpz3579

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

thanks guys...

Kaitlyn Kenwell
@Redrield
Anyone?
Mike Bartlett
@mydigitalself
no idea @Redrield never worked with xoauth transporters sorry
Kaitlyn Kenwell
@Redrield
I'm just looking for a way to not have the plaintext password of my acount in the application
Mike Bartlett
@mydigitalself
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
@Redrield
mandrill looks like I need to pay?
I don't have the money for that
Mike Bartlett
@mydigitalself
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)
Bogdan
@bogdan2510
@Redrield how many emails do you need to send/day?
Kaitlyn Kenwell
@Redrield
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
form
Mike Bartlett
@mydigitalself
how many unique users do you get a day on your forum?
Kaitlyn Kenwell
@Redrield
I've had it set up for months now, and I haven't gotten any...
Mike Bartlett
@mydigitalself
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
@Redrield
So the sendgrid free plan is gonna work fine
Mike Bartlett
@mydigitalself
so i would think that sendgrid's free tier would work just fine
Kaitlyn Kenwell
@Redrield
Yeah
Jayachandran
@jaykanda
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 ....
rottenberry
@rottenberry
Hello there. Could someone tell me how to make a sign in my mails?
Mike Bartlett
@mydigitalself
@rottenberry you mean signing the email like this: https://github.com/andris9/nodemailer-dkim ?
Kyle
@Kylintosh
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
@mydigitalself
construct it with something like handlebars and then send that as part of the email?
Kyle
@Kylintosh
Thank you @mydigitalself for the reply
Sandip Subedi
@sandipsubedi
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"}
asciicoder89
@asciicoder89
Hello guys
mr.james
@st-fresh
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?
elia
@eliafornari
Is there a way to render a value nested in an object? For example {{ship_to.data.name}}
??
Brian Flannery
@bflannery
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
@channel
Julien Fontanet
@julien-f
Hello everyone, where should Nodemailer issues be reported?
Julien Fontanet
@julien-f
@andris9 friendly poke :)
Kai Hendry
@kaihendry
Is there a text (80 col) templating engine available in JS? So you can right align or center a {{ event.title }} for e.g. ?
sunil-daffodil
@sunil-daffodil
while sending messages from nodemailer that message is not showing in the sent mailbox of that particular user
Vijay Kumar Chitirala
@vijay22sai
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