tdhungit/php-jemails

There is no license information available for the latest version (1.0.0) of this package.

Read Email

1.0.0 2019-03-08 08:19 UTC

This package is auto-updated.

Last update: 2024-06-08 21:39:43 UTC


README

Read Email

Install from composer

composer require tdhungit/php-jemails

Config

edit imap mail in src/Config/Config.php

Use

require __DIR__ . '/../vendor/autoload.php';

$emailReader = new PHPJEmails\Libraries\Emails\Email_reader();
$result = $emailReader->byDate('2019-03-06', '2019-03-08');
$emailReader->close();

header("Content-Type: text/plain");
print_r($result);