guanhui07/sendcloud
最新稳定版本:1.0.1
Composer 安装命令:
composer require guanhui07/sendcloud
包简介
SendCloud SDK
README 文档
README
📧 [SendCloud](https://www.sendcloud.net) Mail SDK
Installing
$ composer require guanhui07/sendcloud -vvv
Usage
use Overtrue\SendCloud\SendCloud; $apiUser = 'overtrue_test_xxxx'; $apiKey = 'UWoBGa2sgxyxxxxxxxx'; $client = new SendCloud($apiUser, $apiKey); $result = $client->post('/mail/send', [ 'from' => 'overtrue@domain.sendcloud.org', 'to' => 'demo@easywechat.com', 'subject' => '来自 SendCloud 的第一封邮件!', 'html' => '你太棒了!你已成功的 从 SendCloud 发送了一封测试邮件!', ]); var_dump($result); //{ // "result": true, // "statusCode": 200, // "message": "请求成功", // "info": { // "emailIdList": [ // "1513828329529_91891_27315_500.sc-10_9_13_218-inbounddemo@easywechat.com" // ] // } //}⏎
PHP 扩展包开发
想知道如何从零开始构建 PHP 扩展包?
请关注我的实战课程,我会在此课程中分享一些扩展开发经验 —— 《PHP 扩展包实战教程 - 从入门到发布》
License
MIT
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-10-09