hboers / mailinator-laravel by hboers
forked from thepieterdc/mailinator-php

laravel package for https://github.com/thepieterdc/mailinator_php
15
0
2
Package Data
Maintainer Username: hboers
Maintainer Contact: me@hboers.com (hboers)
Package Create Date: 2015-05-09
Package Last Update: 2015-05-09
Language: PHP
License: MIT
Last Refreshed: 2024-11-26 15:17:12
Package Statistics
Total Downloads: 15
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

mailinator-laravel

A laravel package for mailinator_php.

Software License

PHP wrapper for the Mailinator.com API

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.2 will suffice.

Usage

require 'Mailinator.php';
$mailinator = new Mailinator('my_token');

//Get messages in inbox//
print_r($mailinator->fetchInbox('randominbox'));

//Get the id by running fetchInbox() first//
print_r($mailinator->fetchMail('mail-id'));

License

The MIT License (MIT). Please see License File for more information.