Contensio logo

Email Campaigns

Email campaigns for Contensio - compose newsletters, reusable templates, scheduled sending, open and click tracking.

About this plugin

Email Campaigns

Compose and send email newsletters to your Contensio Newsletter subscribers.

Features

  • Visual campaign composer with HTML editor
  • Reusable email templates
  • Send test email before sending to the full list
  • Schedule campaigns for a future date/time
  • Queued delivery (Laravel queue) so large lists don't time out
  • Open tracking via 1x1 pixel
  • Click tracking via URL rewriting
  • Per-campaign stats (sent, opens, clicks, unique opens, unique clicks)
  • Automatic unsubscribe link using the Newsletter plugin's token system
  • Works with any Laravel mail driver: SMTP, Mailgun, Amazon SES, Postmark, etc.

Requirements

  • Contensio CMS ^2.0
  • contensio/plugin-newsletter ^1.0 (for the subscriber list)
  • A configured mail driver (see config/mail.php)
  • A queue worker running (php artisan queue:work) for sending campaigns

Installation

Install from the plugin directory or via Composer:

composer require contensio/plugin-email-campaigns

Enable the plugin from the admin Plugins page. The CMS will run the migrations automatically.

Usage

  1. Install and enable the Newsletter plugin if you haven't already.
  2. Go to Tools -> Email Campaigns in the admin.
  3. Create a campaign: subject, preheader, from name/email, content.
  4. Optionally save as a template for later reuse.
  5. Send a test to yourself.
  6. Send to your list or schedule a future send.
  7. Watch opens and clicks roll in on the campaign's stats page.

Scheduled sending

Campaigns with a scheduled_at date are dispatched by the artisan command:

php artisan contensio-email-campaigns:send-scheduled

Add this to your server's scheduler (e.g. Laravel's app/Console/Kernel.php):

$schedule->command('contensio-email-campaigns:send-scheduled')->everyMinute();

License

AGPL-3.0-or-later. See the LICENSE file.