PHPackages                             suffi/mail-reader - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. suffi/mail-reader

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

suffi/mail-reader
=================

Библиотека для чтения писем

1.0.0(8y ago)012MITPHP

Since Mar 14Pushed 8y ago1 watchersCompare

[ Source](https://github.com/dmitry-suffi/mail-reader)[ Packagist](https://packagist.org/packages/suffi/mail-reader)[ RSS](/packages/suffi-mail-reader/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Библиотека для чтения писем
===========================

[](#библиотека-для-чтения-писем)

Установка
---------

[](#установка)

Предпочтительный способ установить это расширение через [composer](http://getcomposer.org/download/).

Необходимо добавить строку

```
"suffi/mail-reader": "*"

```

в раздел `require` файла `composer.json` Вашего приложения.

Использование
-------------

[](#использование)

```
$conn = new \suffi\MailReader\Connection();

$conn->login = '***@xxx.ru';
$conn->password = '******';
$conn->server = 'ssl://outlook.office365.com';
$conn->port = '995';

$conn->connect();

$reader = new \suffi\MailReader\Reader($conn);

$message = $reader->getMessage(1273);

$message->getBody(); //Текст

$message->getHeader('date'); //Заголовки
$message->getHeader('message-id'); //Заголовки
$message->getHeader('subject'); //Заголовки

/** Обход писем за последний день */
foreach ($reader->getMessages() as $message) {
    $curentDate = new DateTime();
    $date = new DateTime($message->getHeader('date'));

    if ($date->diff($curentDate)->d > 0) {
        break;
    }

    $message->getHeader('subject');

}
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2984d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2721e2bebe88679b1fc4abe763d5a9cccee0aa9148b71545c24802ce9ae41ff7?d=identicon)[dmitry-suffi](/maintainers/dmitry-suffi)

---

Top Contributors

[![dmitry-suffi](https://avatars.githubusercontent.com/u/10375400?v=4)](https://github.com/dmitry-suffi "dmitry-suffi (1 commits)")

---

Tags

mailmailreaderpop3

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/suffi-mail-reader/health.svg)

```
[![Health](https://phpackages.com/badges/suffi-mail-reader/health.svg)](https://phpackages.com/packages/suffi-mail-reader)
```

###  Alternatives

[tijsverkoyen/css-to-inline-styles

CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.

5.8k505.3M227](/packages/tijsverkoyen-css-to-inline-styles)[minishlink/web-push

Web Push library for PHP

1.9k12.0M53](/packages/minishlink-web-push)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[spatie/url-signer

Generate a url with an expiration date and signature to prevent unauthorized access

4422.3M16](/packages/spatie-url-signer)[mattketmo/email-checker

Throwaway email detection library

2742.0M5](/packages/mattketmo-email-checker)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
