2017 © Pedro Peláez
 

library mailinator_php

PHP wrapper for the Mailinator.com API

image

oyepez003/mailinator_php

PHP wrapper for the Mailinator.com API

  • Monday, June 6, 2016
  • by oyepez003
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1,009 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 8 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

mailinator_php

Software License Monthly downloadsDaily downloadsTotal downloads, (*1)

PHP wrapper for the Mailinator.com API, (*2)

Token

Create a Mailinator account, login, and find your token at https://www.mailinator.com/settings.jsp, (*3)

Requirements

You need to have the cURL-extension installed on your server. PHP 5.2 will suffice., (*4)

Usage

``` php require_once 'src/Mailinator/Mailinator.php'; $mailinator = new Mailinator('my_token');, (*5)

//Get messages in inbox// try { print_r($mailinator->inbox('randominbox')); } catch(Exception $e) { // Process the error echo "Something went wrong: " . $e->getMessage(); }, (*6)

//Get a message// try { print_r($mailinator->message('mail-id')); } catch(Exception $e) { // Process the error echo "Something went wrong: " . $e->getMessage(); }, (*7)

//Delete a message// try { print_r($mailinator->delete('mail-id')); } catch(Exception $e) { // Process the error echo "Something went wrong: " . $e->getMessage(); } ```, (*8)

License

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

The Versions

06/06 2016

dev-master

9999999-dev

PHP wrapper for the Mailinator.com API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

by Pieter De Clercq
by Muntean Doru

06/06 2016

v1.0.3

1.0.3.0

PHP wrapper for the Mailinator.com API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

by Pieter De Clercq
by Muntean Doru

13/05 2016

v1.0.2

1.0.2.0

PHP wrapper for the Mailinator.com API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

by Pieter De Clercq
by Muntean Doru

19/11 2015

v1.0.0

1.0.0.0

PHP wrapper for the Mailinator.com API

  Sources   Download

MIT

The Requires

  • php >=5.2.1

 

by Pieter De Clercq
by Muntean Doru