bonsaicode/mailgun
Composer 安装命令:
composer require bonsaicode/mailgun
包简介
MailGun API Wrapper to easily send messages using MailGun's API including support for attachments and inline/embedded images.
README 文档
README
MailGun API Wrapper. Provides wrapper to easily send messages using MailGun's API including support for attachments and inline/embedded images.
Dependencies:
You must have a mailgun account.
This class assumes a MAILGUN associative array constant is defined:
const MAILGUN = [
'API_KEY' => 'your mailgun api key',
'BASE_URL' => 'https://api.mailgun.net/v3/',
'DEFAULT_DOMAIN' => 'your domain name' # your default domain to send from which can be overridden when you need to send from other domains
];
Requirements
- PHP 7.1 or higher
Installation
To install the package, run the following command in the console:
$ composer require "bonsaicode/mailgun"
Usage
see test/MailGunTest.php
统计信息
- 总下载量: 19
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: mit
- 更新时间: 2019-08-24