jrmadsen67/mahana-mailinator-api
Composer 安装命令:
composer require jrmadsen67/mahana-mailinator-api
包简介
PHP wrapper for the Mailinator.com API
README 文档
README
Php Mailinator API library
Token
Create a Mailinator account, login, and find your token at https://www.mailinator.com/settings.jsp
Requirements
You need to have the cURL-extension installed on your server. PHP 5.4 will suffice.
Installation
composer require jrmadsen67/mahana-mailinator-api
Usage
$token = 'whateveryourtokenisfromabove'; $mahanaMailinator = new jrmadsen67\MahanaMailinatorAPI\MahanaMailinatorAPI($token); //Get messages in inbox// $inbox = 'myinbox'; $messages = $mahanaMailinator->fetchInbox($inbox); //Get a message// $message = $mahanaMailinator->fetchMail($msgId); //Delete a message// $status = $mahanaMailinator->deleteMail($msgId);
统计信息
- 总下载量: 7.97k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-10-15