jegex/sendmail

Modern self-hosted email marketing core: campaigns, subscribers, tags, templates and multi-provider email sending for Laravel.

Maintainers

Package info

github.com/jegex/sendmail

pkg:composer/jegex/sendmail

Transparency log

Fund package maintenance!

Jegex

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2026-08-10 19:33 UTC

This package is auto-updated.

Last update: 2026-08-10 20:11:47 UTC


README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Sendmail is a modern, self-hosted email marketing core for Laravel. It provides campaigns, subscribers, tags, templates and multi-provider email sending as a headless package that you embed into your own application.

  • Headless — no UI to fight; you build the interface
  • Multi-provider — AWS SES, Mailgun, Mailjet, Postmark, Sendgrid, SMTP and Postal
  • Multi-tenant — every record scoped to a workspace
  • Tracking — deliveries, opens and clicks via provider webhooks
  • REST API — manage campaigns, subscribers, tags and templates

Installation

composer require jegex/sendmail

Publish and run the migrations:

php artisan vendor:publish --tag="sendmail-migrations"
php artisan migrate

Optionally publish the config file:

php artisan vendor:publish --tag="sendmail-config"

Quick Setup

Register the routes in your application:

// routes/api.php
Route::middleware(['auth:sanctum'])->group(function () {
    Sendmail::apiRoutes();
});

Sendmail::publicApiRoutes();

// routes/web.php
Sendmail::publicWebRoutes();

Register a workspace resolver in a service provider:

public function boot(): void
{
    Sendmail::setCurrentWorkspaceIdResolver(fn () => 1);
}

Documentation

The full documentation is available in the docs directory, covering:

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.