PHP Classes
elePHPant
Icontem

File: Examples/get_mail.php

Recommend this page to a friend!
  Classes of Christian Vigh  >  ApiLayer API Encapsulation  >  Examples/get_mail.php  >  Download  
File: Examples/get_mail.php
Role: Example script
Content type: text/plain
Description: Example script to demonstrate the use of the MailboxLayer api
Class: ApiLayer API Encapsulation
Send requests to APILayer REST APIs
Author: By
Last change:
Date: 3 years ago
Size: 309 bytes
 

 

Contents

Class file image Download
<?php
   
require ( '../Sources/MailboxLayer.php' ) ;

   
$my_access_key = "YOUR_ACCESS_KEY" ;
   
$use_https = false ;

   
$mail = new MailboxLayer ( $my_access_key, $use_https ) ;
   
$mail -> CatchAll = true ;
   
$mail_data = $mail -> GetEmail ( "christian.vigh@orange.fr" ) ;
   
print_r ( $mail_data ) ;