Preconfigure E-Mail values
-
I think it would be beneficial to have a few more features preconfigured upon installation. For example the E-Mail section:
/** * Email Notification Configuration * =============================== * SMTP settings for system alerts and notifications * * Core Settings: * ------------- * - alert : Enable/disable email alerts [true/false] (default: false) * - host : SMTP server address (default: 'smtp.gmail.com') * - port : SMTP port (default: 587 for TLS) * - username : SMTP auth username * - password : SMTP auth password (store ONLY in .env) * - sendTo : Recipient email for alerts * * Common Providers: * ---------------- * Gmail: * - host: smtp.gmail.com * - port: 587 * * Office365: * - host: smtp.office365.com * - port: 587 * * SendGrid: * - host: smtp.sendgrid.net * - port: 587 */ email: { alert: process.env.EMAIL_ALERTS_ENABLED === 'true', host: process.env.EMAIL_HOST || 'smtp.gmail.com', port: parseInt(process.env.EMAIL_PORT) || 587, username: process.env.EMAIL_USERNAME || 'your_username', password: process.env.EMAIL_PASSWORD || 'your_password', sendTo: process.env.EMAIL_SEND_TO || 'sfu.mirotalk@gmail.com', }, -
N nebulon marked this topic as a question on
-
N nebulon has marked this topic as solved on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login