In recent, get easy answer ask to AI.

Example google Bard answered follow to set LocalSettings.php.
(Asking Gmail SMTP to use)
[code]$wgSMTP = [
    'host' => 'smtp.gmail.com',
    'port' => 465,
    'username' => 'username@gmail.com',
    'password' => 'password',
    'auth' => true,
    'secure' => true,
    'tls' => true,
];
(The answer is more explain)

[/code]
--
安冨 伸浩 (マイサイト管理人)