NetSendo Logo

Configuration

Configure mailboxes, queue workers, and environment variables.

Mailboxes

NetSendo supports multiple mailboxes. You can configure them in the UI under Settings > Mailboxes.

  • SMTP: Generic SMTP connection (Host, Port, User, Pass).
  • Gmail / Google Workspace: Requires App Password.
  • SendGrid / Mailgun: Connect via SMTP relay.

Environment Variables

Key environment variables for docker-compose.yml:

APP_URL=http://localhost:3000
DB_HOST=postgres
DB_PORT=5432
DB_DATABASE=netsendo
DB_USERNAME=postgres
DB_PASSWORD=secret
REDIS_HOST=redis
REDIS_PORT=6379

Queue Worker & Cron

NetSendo uses a background worker to process emails and imports. Ensure the worker container is running in Docker.

How it works

  • Campaigns: Emails are queued in Redis and processed by the worker.
  • Imports: big CSV imports are processed in chunks.
  • Cron: The scheduler runs every minute to check for scheduled campaigns.