Extension:SesMailer/zh
此扩展目前不再活跃维护! 尽管它可能仍然工作,但任何错误报告或功能请求将很可能被忽略。 |
![]() 發佈狀態: 未維護 |
|
---|---|
实现 | 钩子 |
描述 | Switches the wiki to use Amazon SES API to send emails |
作者 | Janos Ronkay (Hangya293讨论) |
最新版本 | 1.0 (2016-03-14) |
MediaWiki | 1.25+ |
PHP | 5.5+ |
许可协议 | GNU通用公眾授權條款2.0或更新版本 |
下載 | |
|
|
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' );
完成 – 在您的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
- 手册:$wgSMTP - Using the
$wgSMTP
configuration parameter with AWS SES. - Mediawiki AWS SES Mailer