Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mateodioev/mail.tm
Interactuar con la api de mail.tm
https://github.com/mateodioev/mail.tm
mail-tm
Last synced: 30 days ago
JSON representation
Interactuar con la api de mail.tm
- Host: GitHub
- URL: https://github.com/mateodioev/mail.tm
- Owner: Mateodioev
- Created: 2021-07-26T05:31:23.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-04-21T18:06:22.000Z (over 2 years ago)
- Last Synced: 2023-03-10T01:46:49.627Z (almost 2 years ago)
- Topics: mail-tm
- Language: PHP
- Homepage:
- Size: 20.5 KB
- Stars: 3
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Mail.TM
=======
[![CodeFactor](https://www.codefactor.io/repository/github/mateodioev/mail.tm/badge)](https://www.codefactor.io/repository/github/mateodioev/mail.tm)![](https://i.imgur.com/ob0h4xk.png)
MailTm class allows you to use all HTTP methods. You can create [mail.tm](https://mail.tm) accounts, get messages, delete account, all this using the [mail.tm api](https://api.mail.tm)
Create a new account
--------```php
$MailTm::CreateAccount();```
Get JWT token
--------```php
$MailTm::GetToken('mail', 'password');```
Get a specific message
--------```php
$MailTm::GetMessageId('msgID', 'jwtToken');```
Delete the account created
--------```php
$MailTm::Delete('jwtToken', 'Account Id');```
Installation
------------### Install source from GitHub
To install the source code:$ git clone https://github.com/Mateodioev/mail.tm.git
And include it in your scripts:
require_once "mailtm.php";
$MailTm = new MailTm;[the repository]: https://github.com/Mateodioev/mail.tm