Skip to content

Settings

Go to Settings → Mailpit in the Control Panel, or create a config/mailpit.php file:

<?php
use craft\helpers\App;
return [
'host' => App::env('MAILPIT_HOST'),
'type' => App::env('MAILPIT_TYPE'),
];
Setting Config key Description
Host Address host The URL of the Mailpit web interface, e.g. https://mailpit.test.
Display Location type page shows Mailpit in the navigation (default), utility in the utilities.