Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 30 17:21
    MewadaAnkit closed #1506
  • Jan 30 16:42
    MewadaAnkit opened #1506
  • Jan 28 02:01
    github-actions[bot] unlabeled #1430
  • Jan 28 02:01
    github-actions[bot] labeled #1494
  • Jan 28 02:01
    github-actions[bot] commented #1494
  • Jan 27 13:29
    glr0221 commented #1505
  • Jan 27 12:25
    Sparticuz commented #1430
  • Jan 27 09:44
    andris9 closed #1505
  • Jan 27 09:44
    andris9 commented #1505
  • Jan 27 09:43

    andris9 on v5.2.1

    (compare)

  • Jan 27 09:43

    andris9 on master

    v5.2.1 (compare)

  • Jan 27 09:42

    andris9 on master

    v6.9.1 (compare)

  • Jan 27 09:42

    andris9 on v6.9.1

    (compare)

  • Jan 27 08:47
    glr0221 opened #1505
  • Jan 27 08:16
    noorgohar456 commented #438
  • Jan 27 02:01
    github-actions[bot] labeled #1430
  • Jan 27 02:01
    github-actions[bot] commented #1430
  • Jan 27 02:01
    github-actions[bot] unlabeled #1492
  • Jan 26 14:26
    riccardi1997 commented #1495
  • Jan 26 06:49
    collinskandie commented #1492
Andris Reinman
@andris9
If you did not specify tls options (secure:true) then Nodemailer tries to upgrade the connection using starttls and it fails because of the self signed certificate. You can either turn starttls off (ignoreTLS:true) or ignore cert errors
blop.. blop..
@bluethefish
connectMail() {
    let s = "mail_connection_settings": {
        "service": "dsa",
            "secure": false,
            "ignoreTLS": false,
            "auth": {
            "user": "das@gmail.com",
                "pass": "s"
        }
    }
    return NodeMailer.createTransport(SmtpTransport(s));
}
Mike Bartlett
@mydigitalself
"ignoreTLS": false should be true if I understood Andris correctly
Noel Hidalgo
@_noelhidalgo_twitter
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
@mydigitalself
@_noelhidalgo_twitter how on earth did you manage to end up here to ask that sort of question!?
Noel Hidalgo
@_noelhidalgo_twitter
Sorry, its a wrong place? I will delete my ask! :worried:
Rahul Kamboj
@kamorahul
I am getting issue using node mailer
q promise not working with nodemailer
kashyapAkash
@kashyapAkash
can we send a email to forward email address created in godaddy..using nodemailer module
?
kunal-pal
@kunal-pal
Does nodemailer works with node 6.3.0?
Andris Reinman
@andris9
@kunal-pal yes, it does work with v6.x
Mujahid
@cexmmaqsood
Anyone use mailparser?
Candice
@smrtsmrf
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
@mmdonaldson
Hey team, anyone using nodemailer in a lambda function
Bogdan
@bogdan2510
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
rottenberry
@rottenberry
Hi there. How can I set up the sign of a mail? I use gmail
Mitchell Donaldson
@mmdonaldson
@bogdan2510 Have you changed the policy for SES to accept all?
Kaitlyn Kenwell
@Redrield
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
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