Questions tagged as 'nodemailer'

0
answers

problem loading an HTML template with "fs" nodejs, inside an ES6 class

SOLVED: The problem was that webpack changes the default behavior of __dirname and you have to configure it so that the routes work for me. I added this: context: __dirname, node:{ __dirname: true //The "dirname" of the input...
asked by 10.04.2018 / 15:58
1
answer

Consultation nodemailer nodejs

I'm trying to send a message on a network with an active proxy ip proxy: 192.168.2.1: 3128 I configure my options on nodemailer var smtpConfig = { host: 'smtp.gmail.com', port: 465, auth: { user: mailconfig.email,...
asked by 27.09.2016 / 00:25
0
answers

Send parameters nodemailer, email-template-v2, hbs.

I'm using nodemailer to send emails, and email-template-v2 to send an HTML format, my purpose is to send some variables as a reference, payment and currency by email, but I really do not know how, I did not like to show it in my template .hbs, i...
asked by 27.11.2018 / 05:15
0
answers

nodemailer pass json to template

I'm trying to pass a json to an html template to send with nodemailer, this already allows me to send mails perfectly, but I do not know how the json could go. This would be my code js: readHTMLFile('routes/api_mail/report.html', function(err,...
asked by 05.09.2018 / 08:00
0
answers

EmailTemplate is not a constructor - Problem with nodemailer in NodeJS

Hello friends of Stack I hope you can help me, I am wanting to send emails with NodeJS and the NODEMAILER tool ... but even downloading the project from this page keeps on marking this error that the EmailTemplate is not a constructor. link...
asked by 01.03.2018 / 19:17
1
answer

Sending emails with nodemailer, nodejs

I am trying to send emails through nodemailer and a simple application. Somehow, when trying to post to the server, it seems that a connection error leaks, but I can not know what exactly happens. This is the code; router.post ('/ sendmail', fun...
asked by 11.11.2017 / 22:37
1
answer

Send email with Nodemailer on Locallhost (ReferenceError: require is not defined)

I want to send the data of this form with Nodemailer. But when I click the button enviar in the browser (locallhost) in the console I get the following error: ReferenceError: require is not defined . My version of node is v7.9.0...
asked by 15.08.2017 / 20:41
1
answer

Error 534 when sending an email with Nodemailer

I have a web project where sporting events are created and when creating an event I have to send an email, it is the first time I use nodemailer. I'm doing shipping tests so for that I have a link that by clicking the driver of the url...
asked by 31.01.2017 / 23:02