Skip to main content

Campaigns

A campaign combines an audience (segment), message (template), and schedule into one sendable unit. Every execution creates a run with delivery stats you can audit later. In the app: Campaigns

Campaign anatomy

A campaign is incomplete until segment, template, and schedule are all configured.

Schedule types

Scheduled and recurring campaigns require Basic plan or higher (allow_automation).

Schedule configuration

  • Scheduled once: set scheduled_at as ISO 8601 datetime
  • Recurring: set recurrence_interval + recurrence_unit (day, week, month)
Automation runs via background cron — no server setup on your side.

Send a campaign

Manual send

  1. Open the campaign → confirm segment + template are set
  2. Click Send now
  3. Optionally pick specific sending accounts
  4. Mailofly creates a campaign run and queues mail_logs rows
  5. Watch progress in Mail logs or Runs tab

View runs

Each send creates a run at /{org}/campaigns/{id}/runs:

Daily quota & deferral

If today’s send volume exceeds an account’s daily limit, excess recipients are marked deferred and send the next calendar day. Tips for large blasts:
  • Attach multiple sending accounts
  • Set conservative per-account daily limits during warmup
  • Monitor Mail logs for deferred rows

API

Full reference: API: Campaigns