← back to Cypress Awards
backend/smtp_config.example.js
45 lines
// SMTP Configuration Template
// Copy this file to smtp_config.js and fill in your credentials
module.exports = {
// Set to true to enable actual email sending
enabled: false,
// SMTP Configuration
// Option 1: Gmail (requires app-specific password)
// service: 'gmail',
// auth: {
// user: 'your-email@gmail.com',
// pass: 'your-app-specific-password'
// }
// Option 2: SendGrid
// host: 'smtp.sendgrid.net',
// port: 587,
// auth: {
// user: 'apikey',
// pass: 'your-sendgrid-api-key'
// }
// Option 3: Mailgun
// host: 'smtp.mailgun.org',
// port: 587,
// auth: {
// user: 'postmaster@your-domain.mailgun.org',
// pass: 'your-mailgun-password'
// }
// Option 4: Custom SMTP (e.g., hosting provider)
// host: 'smtp.example.com',
// port: 587,
// secure: false, // true for 465, false for other ports
// auth: {
// user: 'your-username',
// pass: 'your-password'
// }
// Email settings
from: 'noreply@cypresawards.com',
to: 'steve@designerwallcoverings.com'
};