The SesMailer extension uses the AlternateUserMailer hook to send emails with Amazon SES API, instead of php mail() or PEAR SMTP classes.
- Add AWS SDK with composer
- Copy SesMailer folder into
extensions
folder of your MediaWiki instance - To enable the extension and set your credentials, add the following lines to your
LocalSettings.php
:
wfLoadExtension("SesMailer");
$wgSesMailerRegion = "eu-west-1"; // AWS Region
$wgSesMailerKey = "xxx"; // Access Key ID for IAM user with ses:SendEmail permission
$wgSesMailerSecret = "xxx"; // Secret Access Key
A similar plugin for Question2Answer: qa-mail-ses