Manual:$wgSMTP/Internal network

Jump to navigation Jump to search

This page provides an example for setting the $wgSMTP configuration parameter if you would like to use a network internal SMTP relay accessible in your internal network for sending emails by your wiki.

$wgSMTP = [
    'host' => '',
    'IDHost' => '',
    'port' => 25,
    'username' => null,
    'password' => null,
    'auth' => false

This example assumes that the relay is reached via the IP address and does not need additional authentication.