Skip to content

Commit

Permalink
Add mailer secure setting
Browse files Browse the repository at this point in the history
  • Loading branch information
pingiun committed May 5, 2024
1 parent dfaa70a commit f530cbe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/config/plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ module.exports = ({ env }) => ({
provider: "nodemailer",
providerOptions: {
host: env("SMTP_HOST", "mail.zxcs.nl"),
port: env("SMTP_PORT", 465),
port: env("SMTP_PORT", 587),
auth: {
user: env("SMTP_USERNAME"),
pass: env("SMTP_PASSWORD"),
},
secure: env("SMTP_TLS", "1") != "0",
},
settings: {
defaultFrom: "[email protected]",
Expand Down

0 comments on commit f530cbe

Please sign in to comment.