Adds an SMTP-based notification (server/mailer.js) that fires whenever a visitor registers or downloads an ROI report, configured via NOTIFY_EMAIL/SMTP_* env vars. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
24 lines
664 B
Bash
24 lines
664 B
Bash
# DigitalOcean managed MySQL connection
|
|
DB_HOST=
|
|
DB_PORT=25060
|
|
DB_USER=
|
|
DB_PASSWORD=
|
|
DB_NAME=defaultdb
|
|
# Optional: path to the downloaded cluster CA cert for full TLS verification.
|
|
# Leave empty to just encrypt the connection (matches sslmode=REQUIRED).
|
|
DB_CA_PATH=
|
|
|
|
# Comma-separated list of origins allowed to call this API (your static site's domain).
|
|
ALLOWED_ORIGIN=https://toolkit.blackdice.ai
|
|
|
|
PORT=8080
|
|
|
|
# SMTP settings used to notify the team whenever a visitor submits data
|
|
# (registration or ROI report download). Leave blank to disable notifications.
|
|
SMTP_HOST=
|
|
SMTP_PORT=587
|
|
SMTP_USER=
|
|
SMTP_PASSWORD=
|
|
SMTP_FROM=
|
|
NOTIFY_EMAIL=mark.mullings@blackdice.ai
|