mirror of
https://github.com/xtr-dev/payload-mailing.git
synced 2025-12-10 00:03:23 +00:00
Remove email outbox collection and process job; refactor email templates with rich text support and slug generation
This commit is contained in:
29
.env.example
Normal file
29
.env.example
Normal file
@@ -0,0 +1,29 @@
|
||||
# PayloadCMS Configuration
|
||||
PAYLOAD_SECRET=your-secret-key-here
|
||||
|
||||
# Database Configuration
|
||||
# Leave DATABASE_URI empty to use in-memory MongoDB (recommended for development)
|
||||
# DATABASE_URI=mongodb://localhost:27017/payload-mailing-dev
|
||||
|
||||
# Force in-memory database (optional, enabled by default if DATABASE_URI is not set)
|
||||
USE_MEMORY_DB=true
|
||||
|
||||
# Email Configuration (Development)
|
||||
EMAIL_HOST=localhost
|
||||
EMAIL_PORT=1025
|
||||
EMAIL_USER=test
|
||||
EMAIL_PASS=test
|
||||
EMAIL_FROM=noreply@test.com
|
||||
|
||||
# Development Settings
|
||||
NODE_ENV=development
|
||||
PORT=3000
|
||||
|
||||
# Database Options:
|
||||
# 1. In-memory MongoDB (default) - No installation required, data resets on restart
|
||||
# 2. Local MongoDB - Install MongoDB and set DATABASE_URI
|
||||
# 3. Remote MongoDB - Set DATABASE_URI to remote connection string
|
||||
|
||||
# Optional: Use MailHog for email testing
|
||||
# MailHog runs on localhost:1025 for SMTP and localhost:8025 for web UI
|
||||
# Download from: https://github.com/mailhog/MailHog
|
||||
Reference in New Issue
Block a user