PHPackages                             mezon/pop3-client - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. mezon/pop3-client

ActiveLibrary[HTTP &amp; Networking](/categories/http)

mezon/pop3-client
=================

Simple POP3 client

1.0.4(4y ago)85562MITPHPPHP &gt;=7.2.0CI failing

Since May 8Pushed 4y ago3 watchersCompare

[ Source](https://github.com/alexdodonov/mezon-pop3-client)[ Packagist](https://packagist.org/packages/mezon/pop3-client)[ Docs](https://github.com/alexdodonov/mezon-pop3-client)[ RSS](/packages/mezon-pop3-client/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (2)Versions (6)Used By (0)

Mezon POP3 Client
=================

[](#mezon-pop3-client)

[![Build Status](https://camo.githubusercontent.com/6ebdc8cf441a1576aa7eeab61edcc35cc8965cd3cf6a2a67e13cd43fffe6e4bf/68747470733a2f2f7472617669732d63692e6f72672f616c6578646f646f6e6f762f6d657a6f6e2d706f70332d636c69656e742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/alexdodonov/mezon-pop3-client) [![codecov](https://camo.githubusercontent.com/dcdbbdd287676fc083f38883a338ed5f9d6e3813765b220a206774ef10f34a2a/68747470733a2f2f636f6465636f762e696f2f67682f616c6578646f646f6e6f762f6d657a6f6e2d706f70332d636c69656e742f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/alexdodonov/mezon-pop3-client) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/2706c59b51d930e03a38d3c5ef2c737b67efd510364daf0fcfa7cff5b5e8502f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f616c6578646f646f6e6f762f6d657a6f6e2d706f70332d636c69656e742f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/alexdodonov/mezon-pop3-client/?branch=master)

Installation
------------

[](#installation)

Just type

```
composer require mezon/pop3-client

```

Usage
-----

[](#usage)

Firts of all you need to connect

```
$client = new \Mezon\Pop3\Client('ssl://your-email-server', 'login', 'password');
```

Or in this way:

```
$client = new \Mezon\Pop3\Client();

// and somewere further
$client->connect('ssl://your-email-server', 'login', 'password');
```

And then you can fetch necessary information from server. Such as:

```
client->getCount(); // getting count of emails on the server
```

Or get headers of the message by it's id, get message's subject or even delete it:

```
for($i=0; $igetCount(); $i++) {
	$headers = $client->getMessageHeaders($i);
	$subject = $client->getMessageSubject($i);

	$client->deleteMessage($i);
}
```

And after all things done you should close connection:

```
$client->quit();
```

Utility functions
-----------------

[](#utility-functions)

You can also use more high level functions.

Such as deleting email by it's subject:

```
$client->deleteMessagesWithSubject('Re: some subject');
```

Or check if the email with the specified subject exists:

```
$client->messageWithSubjectExists('Re: some subject');// true or false will be returned
```

Or parse header wich were fetched by the getMessageHeaders(int $i): string and fetch Message-ID field:

```
$messageId = \Mezon\Pop3\Client::getMessageId($headers);
```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90% 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

Every ~137 days

Total

5

Last Release

1649d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/14943896?v=4)[alexdodonov](/maintainers/alexdodonov)[@alexdodonov](https://github.com/alexdodonov)

---

Top Contributors

[![alexdodonov](https://avatars.githubusercontent.com/u/14943896?v=4)](https://github.com/alexdodonov "alexdodonov (18 commits)")[![peter279k](https://avatars.githubusercontent.com/u/9021747?v=4)](https://github.com/peter279k "peter279k (2 commits)")

---

Tags

pop3pop3-clientpop3-librarypop3-protocol

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/mezon-pop3-client/health.svg)

```
[![Health](https://phpackages.com/badges/mezon-pop3-client/health.svg)](https://phpackages.com/packages/mezon-pop3-client)
```

###  Alternatives

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M319](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[nyholm/psr7

A fast PHP7 implementation of PSR-7

1.3k235.4M2.4k](/packages/nyholm-psr7)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78126.4M414](/packages/react-http)

PHPackages © 2026

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