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

179
Views
os.networkInterfaces is not a function and Nodemailer

Once I add the following code to my Angular project I get the 'os.networkInterfaces is not a function', but I do not know how to solve this and still use Nodemailer.

location: index.js - const networkInterfaces = (module.exports.networkInterfaces = os.networkInterfaces());

var nodemailer = require('nodemailer');

let transporter = nodemailer.createTransport({
 host: 'smtp.hostinger.com',
  port: 453,
  auth: {
    user: 'xx',
    pass: 'xxx'
  }
});
let mailOptions = {
  from: 'ixxx',
  to: 'xxxx@xx.com',
  subject: 'Sending Email using Node.js',
  text: 'That was easy!'
};

appreciate the help!

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!