Add SMTP status check

This commit is contained in:
2020-08-29 14:30:27 +02:00
parent a197ae9cc6
commit 5413c7dddf
4 changed files with 32 additions and 6 deletions

View File

@@ -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
};