Manual:$wgSMTP/Host Europe

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

STARTTLS
$wgPasswordSender = "wiki@beispiel.de"; // name of the email account
$wgSMTP = [
    'host' => 'wp*******.mailout.server-he.de', // outbox server of the email account
    'IDHost' => 'wiki.beispiel.de', // sub(domain) of your wiki
    'port' => 587,
    'username' => 'wp*******-*********', // user of the email account
    'password' => '****************', // pass of the email account
    'auth' => true
];
SSL/TLS
$wgPasswordSender = "wiki@beispiel.de"; // name of the email account
$wgSMTP = [
    'host' => 'ssl://wp*******.mailout.server-he.de', // outbox server of the email account
    'IDHost' => 'wiki.beispiel.de', // sub(domain) of your wiki
    'port' => 465,
    'username' => 'wp*******-*********', // user of the email account
    'password' => '****************', // pass of the email account
    'auth' => true
];
For this to work you must specify the email address defined with $wgPasswordSender at "Webhosting" → "Scripts & databases" → "Script settings" → "Default e-mail address" → "Sender e-mail address" in your hosting panel. This assumes that you created the mailbox first.