perfood / couch-auth

Powerful authentication for APIs and apps using CouchDB (or Cloudant) with Node >= 14
MIT License
66 stars 19 forks source link

Mailer option not working with nodemailer-ses-transport #62

Closed Sourav-techlur closed 1 year ago

Sourav-techlur commented 1 year ago

Hello,

I was trying to integrate the nodemailer-ses-transport to send the email but it is throwing me the following error

image

my configuration is as follows ` const sesTransporter = require('nodemailer-ses-transport');

mailer: { fromEmail: 'noreply@domain.com', transport: sesTransporter, provider: 'ses', options: { accessKeyId: 'access key', secretAccessKey: 'secret access key', region: 'region', bucket: 'bucket', }, } `

I am using node version 16.

Sourav-techlur commented 1 year ago

I have resolved it. Thanks

fynnlyte commented 1 year ago

Good to hear, was the problem related to couch-auth? Feel free to share the solution in a comment ;)