Extension:SesMailer/zh

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Extension:SesMailer and the translation is 8% complete.
Other languages:
Deutsch • ‎English • ‎Türkçe • ‎español • ‎français • ‎中文 • ‎日本語
MediaWiki扩展手册
OOjs UI icon advanced.svg
SesMailer
发布状态: 测试
实现 钩子
描述 Switches the wiki to use Amazon SES API to send emails
作者 Janos Ronkay (Hangya293talk)
最新版本 1.0 (2016-03-14)
MediaWiki 1.25+
PHP 5.5+
许可协议 GNU通用公眾授權條款2.0或更新版本
下载

  • $wgSesMailerRegion
  • $wgSesMailerKey
  • $wgSesMailerSecret
检查使用和版本矩阵。

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",
    
  • 下载文件,并将其放置在您extensions/文件夹中的SesMailer目录内。
  • 将下列代码放置在您的LocalSettings.php的底部:
    wfLoadExtension( 'SesMailer' );
    
  • Yes 完成 – 在您的wiki上导航至Special:Version,以验证扩展已成功安装。

Configuration parameters

$wgSesMailerRegion = "eu-west-1"; // AWS Region
$wgSesMailerKey = "xxx"; // Access Key ID for IAM user with ses:SendEmail permission
$wgSesMailerSecret = "xxx"; // Secret Access Key

See also