Add SMTP status check
This commit is contained in:
@@ -7,12 +7,13 @@ module.exports = {
|
||||
dbURL: process.env.DATABASE_URL,
|
||||
// JWT
|
||||
jwtSecret: process.env.JWT_SECRET,
|
||||
saltingRounds: process.env.SALTING_ROUNDS || 10,
|
||||
saltingRounds: 10,
|
||||
// NODEMAILER
|
||||
smtpHost: process.env.SMTP_HOST,
|
||||
smtpPort: process.env.SMTP_PORT,
|
||||
smtpUsername: process.env.SMTP_USERNAME,
|
||||
smtpPassword: process.env.SMTP_PASSWORD,
|
||||
smtpSecure: process.env.SMTP_SECURE || true, // use TLS
|
||||
smtpPool: process.env.SMTP_POOL|| true, // Pool connections to server
|
||||
smtpRequireTLS: true, // True to force use of StartTLS
|
||||
smtpSecure: false, // False to force use of StartTLS
|
||||
smtpPool: true, // Pool connections to server
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user