caldav-email-reminders/.env.example
2025-05-01 17:20:47 -05:00

32 lines
No EOL
948 B
Text

# CalDAV config
CALDAV_BASE_URL=https://your.caldav.server/remote.php/dav/calendars/username/
CALDAV_PRINCIPAL=https://your.caldav.server/remote.php/dav/principals/users/username/
CALDAV_USERNAME=your-username
CALDAV_PASSWORD=your-password
# Optional: comma-separated list of calendar URLs to override discovery
CALDAV_CALENDARS=
# Database
DB_PATH=/data/sync_state.db
FETCH_WINDOW_DAYS=90
RETENTION_DAYS=30
# SMTP / Email
SMTP_HOST=smtp.example.com
SMTP_PORT=465
SMTP_USERNAME=user@example.com
SMTP_PASSWORD=your-smtp-password
SMTP_USE_TLS=true # For SMTPS (implicit SSL on connect)
SMTP_USE_STARTTLS=false # For opportunistic upgrade after plain connect
EMAIL_FROM=reminder@example.com
EMAIL_TO=your@email.com
EMAIL_SUBJECT_PREFIX=Calendar Reminder:
# Optional override intervals
SYNC_INTERVAL=300 # Seconds between syncs (default 300 = 5 min)
DISPATCH_INTERVAL=60 # Seconds between checks for reminders (default 60)