MediaWiki-Docker/Configuration recipes/Mail handling

Mail handling edit

You can capture outgoing email with MailHog. The web interface for the mail server is accessible at http://localhost:8025/

docker-compose.override.yml
version: '3.7'
services:
  mail:
    image: mailhog/mailhog
    ports:
    # expose the HTTP service to the host
    - "8025:8025"
LocalSettings.php
$wgSMTP = [
    'host'     => 'mail',
    'IDHost'   => 'mail',
    'port'     => '1025',
    'auth'     => false,
];