MediaWiki extensions manual
SesMailer
Release status: unmaintained
Implementation Hook
Description Switches the wiki to use Amazon SES API to send emails
Author(s) Janos Ronkay (Hangya293talk)
Latest version 1.0 (2016-03-14)
MediaWiki 1.25+
PHP 5.5+
License GNU General Public License 2.0 or later
Download

GitHub:

Note:
No localisation updates are
provided by translatewiki.net .

Parameters
  • $wgSesMailerRegion
  • $wgSesMailerKey
  • $wgSesMailerSecret
Hooks used
  • AlternateUserMailer

The SesMailer extension allows MediaWiki to send emails through Amazon SES API service.

Installation

  • Add AWS SDK with composer by adding the following to the require section of your "composer.local.json" file:
    "aws/aws-sdk-php": "~3",
    
  • Download and place the file(s) in a directory called SesMailer in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'SesMailer' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration parameters

$wgSesMailerRegion = "eu-west-1"; // <translate nowrap><!--T:8--> AWS Region</translate>
$wgSesMailerKey = "xxx"; // <translate nowrap><!--T:9--> Access Key ID for IAM user with ses:SendEmail permission</translate>
$wgSesMailerSecret = "xxx"; // <translate nowrap><!--T:10--> Secret Access Key</translate>

See also

This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.