Configuration

Sensible defaults. Full control when you need it.

  • Storage driver-

    database, file, or a custom implementation.

  • Retention period -How long to keep captured emails (default: 24 hours)

  • Polling interval-Real-time update frequency in milliseconds

  • Attachment limits-Max file size, total size, and allowed MIME types

  • Authorization gate-Custom gate for dashboard access control

  • Route prefix -Change the dashboard URL from /mailbox to anything

// config/mailbox.php
1234567891011121314151617
'store' => [
'driver' => env('MAILBOX_STORE_DRIVER', 'database'),
],
 
'retention' => [
'seconds' => env('MAILBOX_RETENTION', 86400),
],
 
'polling' => [
'enabled' => env('MAILBOX_POLLING_ENABLED', true),
'interval' => env('MAILBOX_POLLING_INTERVAL', 5000),
],
 
'attachments' => [
'enabled' => env('MAILBOX_ATTACHMENTS_ENABLED', true),
'max_size' => 5 * 1024 * 1024, // 5MB
],

Stop sending emails into the void

Install Mailbox and see every email your Laravel app sends

right glow layerright glow layer
code snippetcode snippet

composer require redberry/mailbox-for-laravel