Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 

README.md

MahanaMailinatorAPI

Software License

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);

About

Php Mailinator API library

Resources

License

Releases

No releases published

Languages

You can’t perform that action at this time.