Provides a Mailpit integration for Craft CMS.

Features

  • Display the Mailpit web interface in a dedicated Control Panel section or as Utility.
  • Unread message count badge in the sidebar navigation or utility icon.
  • Simple configuration with support for environment variables.

Requirements

  • Craft CMS 5.8.0 or later.
  • PHP 8.2 or later.

Installation

Install this plugin from the Plugin Store or via Composer.

Plugin Store

Go to the “Plugin Store” in your project’s Control Panel, search for “Mailpit” and click on the “Install” button in its modal window.

Composer

composer require somehow-digital/craft-mailpit
./craft plugin/install mailpit

Configuration

You can configure the plugin in the Control Panel under SettingsMailpit, or by creating a config/mailpit.php file:

<?php

return [
  'host' => App::env('MAILPIT_HOST'),
  'type' => App::env('MAILPIT_TYPE'), // 'page' or 'utility'
];
Installation Instructions

To install this plugin, copy the command above to your terminal.

Reviews

This plugin doesn't have any reviews.

Active Installs
1
Version
v1.0.1
License
MIT
Compatibility
Craft 5
Last release
March 15, 2026
Activity (30 days)
0
Closed Issues
1
Open Issues
1
Merged PRs
0
Open PRs