Certificate Error in SMTP Mail

Hi there
Im developing an app and I installed self-signed certificate for my smtp server. now when I try to use smtp I get self signed certificate error.
is there anyway to disabled certificate check for adnois mail ?
tnx

2 Likes

adonis-mail uses Nodemailer under the hood. Adding

tls: {
  rejectUnauthorized: false
}

to the smtp config should enable self-signed certs according to the Nodemailer docs.

3 Likes