Jump to content

MediaWiki-Docker/Configuration recipes/Mail handling

From mediawiki.org

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
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,
];