docs: email documentation example for SMTP setup (#5693)
The SMTP code example had a typo and was using the wrong environment variable to set the port for the email plugin
This commit is contained in:
@@ -50,7 +50,7 @@ payload.init({
|
||||
user: process.env.SMTP_USER,
|
||||
pass: process.env.SMTP_PASS,
|
||||
},
|
||||
port: Number(process.env.SMTP_HOST),
|
||||
port: Number(process.env.SMTP_PORT),
|
||||
secure: Number(process.env.SMTP_PORT) === 465, // true for port 465, false (the default) for 587 and others
|
||||
requireTLS: true,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user