Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

299
Views
No puedo enviar ningún correo electrónico con el paquete Nodemailer en Node js

Estoy tratando de enviar un correo electrónico desde mi aplicación Node js con el paquete nodemailer, pero tengo un problema inesperado. Acabo de leer varios temas sobre el mismo problema y funcionaron para mi cuenta de gmail, pero en realidad me gustaría usar este servicio con un correo electrónico de Aruba. Este es el fragmento de código interesado:

 const nodemailer = require('nodemailer'); //const smtpTransport = require('nodemailer-smtp-transport'); const config = require('./config.json'); const transporter = nodemailer.createTransport({ host: "smtps.aruba.it", logger: true, debug:true, secure: true, port: config.Mail.MAIL_PORT, auth: { user: config.Mail.MAIL_ADDRESS, pass: config.Mail.MAIL_PASSWORD }, tls:{ minVersion: 'TLSv1', ciphers:'HIGH:MEDIUM:!aNULL:!eNULL:@STRENGTH:!DH:!kEDH' } }); let mailOptions = { from: config.Mail.MAIL_ADDRESS, to: config.Mail.MAIL_DEST, subject: config.Mail.MAIL_CONFIRM_SIGIN_SUBJECT, text: "Something" }; transporter.sendMail(mailOptions, function(error, info){ if (error) { console.log(error); } else { console.log('Email sent: ' + info.response); } });

La salida de la consola es esta:

 { code: 'EAUTH', response: '535 5.7.0 bkvxnow6m4Pmf ...authentication rejected', responseCode: 535, command: 'AUTH PLAIN' } [2022-04-05 15:17:30] INFO [ljqdiec7p84] Connection closed
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!