Skip to content

Commit

Permalink
feat: add TLS configuration to MailService for handling unauthorized …
Browse files Browse the repository at this point in the history
…certificates
  • Loading branch information
simlarsen committed Feb 20, 2025
1 parent a6d3047 commit f4415da
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions App/FeatureSet/Notification/Services/MailService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,9 @@ export default class MailService {
host: emailServer.host.toString(),
port: emailServer.port.toNumber(),
secure: emailServer.secure,
tls: {
rejectUnauthorized: false,
},
auth:
emailServer.username && emailServer.password
? {
Expand Down

0 comments on commit f4415da

Please sign in to comment.