php email-reader
EmailReader (romanitalian.github.io)
romanitalian/email-reader
EmailReader (romanitalian.github.io)
- Saturday, November 19, 2016
- by romanitalian
- Repository
- 1 Watchers
- 0 Stars
- 0 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
EmailReader
<?php
require_once 'autoload.php';
$Auth = new Auth();
$Auth->user = 'your_email@yandex.ru';
$Auth->pass = '123412341';
$Auth->server = array('inbox' => '{imap.yandex.ru:993/imap/ssl}INBOX');
// Example as your custom wrapper:
$Example = new Example($Auth);
$unseen['Using Example'] = $Example->getUnsen();
$inboxAll['Using Example'] = $Example->getInboxAll();
// or use this way:
$unseen['Using native Reader'] = Email\Reader::getInstance()->setAuth($Auth)->loadAndParseInbox()->content;
$inboxAll['Using native Reader'] = Email\Reader::getInstance()->setAuth($Auth)->loadAndParseInboxAll()->content;
var_dump($unseen);
var_dump($inboxAll);
dev-master
9999999-dev
EmailReader (romanitalian.github.io)
Sources
Download
Apache 2.0
by
romanitalian