Jump to content

Manual:$wgSMTP/Hetzner

From mediawiki.org

This page provides an example for setting the $wgSMTP configuration parameter if you would like to use an email account created in your Hetzner hosting package for sending emails by your wiki.

STARTTLS
$wgSMTP = [
    'host' => 'mail.your-server.de', // outbox server of the email account
    'IDHost' => 'wiki.beispiel.de', // sub(domain) of your wiki
    'port' => 587,
    'username' => 'wiki@beispiel.de', // user of the email account
    'password' => '****************', // pass of the email account
    'auth' => true
];
SSL/TLS
$wgSMTP = [
    'host' => 'ssl://mail.your-server.de', // outbox server of the email account
    'IDHost' => 'wiki.beispiel.de', // sub(domain) of your wiki
    'port' => 465,
    'username' => 'wiki@beispiel.de', // user of the email account
    'password' => '****************', // pass of the email account
    'auth' => true
];