A
A
Alexander2021-07-27 00:37:32
Node.js
Alexander, 2021-07-27 00:37:32

Why do nodemailer emails end up in gmail spam?

Hello, please tell me why nodemailer emails end up in gmail spam and how can I fix it?
I will be grateful for help

const options = {
  port: 465,
  host: 'smtp.gmail.com',
  auth: {
    user: process.env.NODEMAILER_USER,
    pass: process.env.NODEMAILER_PASS,
  },
  secure: true,
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
EugeneMedvedev, 2021-07-27
@EugeneMedvedev

The host may simply be an unapproved soap. Or too many emails sent

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question