Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 13:29
    glr0221 commented #1505
  • 12:25
    Sparticuz commented #1430
  • 09:44
    andris9 closed #1505
  • 09:44
    andris9 commented #1505
  • 09:43

    andris9 on v5.2.1

    (compare)

  • 09:43

    andris9 on master

    v5.2.1 (compare)

  • 09:42

    andris9 on master

    v6.9.1 (compare)

  • 09:42

    andris9 on v6.9.1

    (compare)

  • 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
Mike Bartlett
@mydigitalself
@ankurongit is your proxy actually working correctly?
Vignesh Warar
@vignestion
How to send mail with nodemailer without Spaming
rarshion
@rarshion
hello! guys, i want to put a file or image on the local disk in the attachments with email, how do it ?
Caetano Melone
@cmelone
Is it possible to put an if/else statement inside of where it asks for the html:?
Jan Baer
@janbaer
Hello @all! Has anyone here experience with sending attachments? I just send with my mail an array of attachments that are all as data-uri with base64 encoded. nodemailer sends always only one of my attachments and it's not the content that I sent...
Mike Bartlett
@mydigitalself
@janbaer afraid i can't help you, never dealt with attachments. does any straight-up sample/example code from the docs work correctly?
Faiz Ahmed
@Faiz7412
Hi! This might seem stupid question, but I'm just starting out. I have an html contact form ready, deployed the website on aws ec2 server. Installed nodemailer with npm install nodemailer in the /var/www/html/ directory of my server.
now is there any good article on the web that can guide me? I'm a beginner, and it's hard for me to understand backend stuff since I'm just exploring it by trying to implement contact form
Adam Horrigan
@adhorrig
This message was deleted
Nauman Tariq
@nauman3128
Hi all
Is there any way to use nodemailer with ReactJs?
blop.. blop..
@bluethefish
{ Error: self signed certificate in certificate chain
at Error (native)
at TLSSocket.<anonymous> (_tls_wrap.js:1055:38)
at emitNone (events.js:86:13)
at TLSSocket.emit (events.js:185:7)
at TLSSocket._finishInit (_tls_wrap.js:580:8)
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:412:38)
how do i solve it i cant send mail.
Mike Bartlett
@mydigitalself
@bluethefish are you trying to send via SSL? looks like there's a problem with the certificate
blop.. blop..
@bluethefish
No.. Im not trying to send via ssl im trying to send a simple mail to check if it's work.. and i get this message error.
Mike Bartlett
@mydigitalself
that error looks very much like it's trying to do something with TLS
what does your code look like - please make sure you put markdown backticks around it
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