From 7533d12a777e55d53f3d97b30690145fcb5ee8a8 Mon Sep 17 00:00:00 2001 From: Conrad Schulz Date: Sat, 9 Jan 2021 17:18:37 +0100 Subject: [PATCH] added SMTP settings for mail --- example.LocalSettings.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/example.LocalSettings.php b/example.LocalSettings.php index b1eef4e..3be32a1 100644 --- a/example.LocalSettings.php +++ b/example.LocalSettings.php @@ -43,6 +43,15 @@ $wgLogos = [ '1x' => "$wgResourceBasePath/resources/assets/Wiki_Logo.png" ]; $wgEnableEmail = true; $wgEnableUserEmail = true; # UPO +$wgSMTP = [ + 'host' => 'ssl://smtp.gmail.com', // outbox server of the email account + 'IDHost' => 'gmail.com', + 'port' => 465, + 'username' => 'rd13soft@gmail.com', // user of the email account + 'password' => 'podkvrdmlvyutlps', // app password of the email account + 'auth' => true +]; + $wgEmergencyContact = "RD13Soft@gmail.com"; $wgPasswordSender = "RD13Soft@gmail.com";