79423734

Date: 2025-02-08 18:45:23
Score: 1.5
Natty:
Report link

In my case, I have succeded by using your first transport config. I've just included the port to the properties and set it to 587. As mentioned by Google in this link: Send email from a printer, scanner, or app

So here is my transport config:

MailerModule.forRoot({
  transport: {
    service: 'gmail',
    port: 587, 
    secure: false,
    auth: {
      user: process.env.MAILDEV_INCOMING_USER,
      pass: process.env.MAILDEV_INCOMING_PASS,
    },
  },
  defaults: {
    from: '"No Reply" <no-reply@localhost>',
  },
  preview: false,
  template: {
    dir: __dirname + '/templates',
    adapter: new PugAdapter(),
    options: {
      strict: true,
    },
  },
}),

Even though there is an error warning log after the build, like this:

enter image description here

But the module is running successfully:

enter image description here

Reasons:
  • Blacklisted phrase (1): this link
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Dedy Chaidir