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

298
Views
Can't send any email with Nodemailer package in Node js

I'm trying to send an email from my Node js application with nodemailer package, but I'm getting an unexpected problem. I've just read several topic about the same problem and they worked for my gmail account, but actually I would like to use this service with an Aruba email. This is the interested piece of code:

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);
 
 
      }
 
 
    });

The console output is this one:

{
  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!