Looking through MediaWiki wiki and mailing lists I noticed email is not supported out of the box.
Found this needs to be added to LocalSettings.php (https://www.mediawiki.org/wiki/Manual:$wgSMTP):
$wgSMTP = array( 'host' => 'ssl://smtp.gmail.com', 'IDHost' => 'gmail.com', 'port' => 465, 'username' => 'yourEmailAccount@gmail.com', 'password' => 'yourEmailPassword', 'auth' => true );
But it seems there are some php libs that need installing (https://www.mediawiki.org/w/index.php?title=Topic:R7ag43960rvx0lri&topic_showPostId=sv25uc2o9j6bbkql#flow-post-sv25uc2o9j6bbkql): quote:
`running "pear install mail" and possibly "pear install Net_SMTP"`
I'd love to do this but I run my mediawiki in chroot so there will be a challange of chrooting pear too?
- I found it to work out of the box if you have an email server installed, which is the easiest solution anyway, instead of routing all of your traffic to Google, I’d suggest to leave it as-is. Perhaps also add a link to OpenSMTPD for people who don’t already have one? Link Mauve (talk) 14:38, 22 June 2016 (UTC)