Initial commit
This commit is contained in:
@@ -0,0 +1,63 @@
|
||||
# Development Environment Configuration
|
||||
NODE_ENV=development
|
||||
|
||||
# Gmail Configuration (for development/testing)
|
||||
EMAIL_USER=your-email@gmail.com
|
||||
EMAIL_PASS=your-app-password
|
||||
|
||||
# Application Configuration
|
||||
DELAY_MINUTES=1 # Shorter delay for testing
|
||||
BATCH_SIZE=5 # Smaller batches for testing
|
||||
|
||||
# Logging & Debug
|
||||
LOG_LEVEL=debug
|
||||
DEBUG=true # Enable comprehensive debug logging throughout the application
|
||||
|
||||
# Email Settings
|
||||
EMAIL_TEST_MODE=true # When true, adds [TEST] to subject line
|
||||
EMAIL_TEST_RECIPIENT=your-test-email@gmail.com # Single test recipient (for backward compatibility)
|
||||
|
||||
# Multi-Recipient Testing (NEW)
|
||||
# Use this to test different campaigns with different recipients
|
||||
# Recipients will be used in round-robin fashion
|
||||
EMAIL_TEST_RECIPIENTS=test1@example.com,test2@example.com,test3@example.com,test4@example.com
|
||||
|
||||
# Campaign Settings
|
||||
CAMPAIGN_TEST_MODE=true
|
||||
CAMPAIGN_TEST_DATA=tests/test-campaigns.json
|
||||
|
||||
# Test Limiting
|
||||
EMAIL_TEST_LIMIT=4 # Limit number of emails in test mode
|
||||
|
||||
# Attachment Settings
|
||||
ATTACHMENT_ENABLED=true
|
||||
ATTACHMENT_FILES= # Comma-separated list of files from attachments folder
|
||||
|
||||
# GIF Settings
|
||||
GIF_ENABLED=true
|
||||
GIF_URL=https://media.giphy.com/media/3o7abKhOpu0NwenH3O/giphy.gif # Professional handshake GIF
|
||||
GIF_ALT=Professional handshake
|
||||
|
||||
# Rate Limiting Settings
|
||||
RATE_LIMITING_ENABLED=true
|
||||
MAX_EMAILS_PER_HOUR=15
|
||||
PAUSE_EVERY_N_EMAILS=50
|
||||
PAUSE_DURATION_MINUTES=30
|
||||
|
||||
# Error Handling Settings
|
||||
ERROR_HANDLING_ENABLED=true
|
||||
MAX_RETRIES=3
|
||||
RETRY_BASE_DELAY=60 # seconds
|
||||
LOG_FAILURES=true
|
||||
|
||||
# Tracking Settings
|
||||
TRACKING_ENABLED=false
|
||||
TRACKING_PORT=3000
|
||||
TRACKING_DOMAIN=http://localhost:3000
|
||||
|
||||
# SMTP Settings (Optional - uses Gmail by default)
|
||||
# SMTP_HOST=smtp.gmail.com
|
||||
# SMTP_PORT=587
|
||||
# SMTP_SECURE=false
|
||||
# SMTP_USER=your-email@gmail.com
|
||||
# SMTP_PASS=your-app-password
|
||||
Reference in New Issue
Block a user