Popularity
2.0
Growing
Activity
0.0
-
33
11
21
Description
This is the replacement for PHP IMAP works with OAUTH2
Programming language: PHP
License: GNU General Public License v3.0 only
Latest version: v0.1.9
php-imap2 alternatives and similar libraries
Based on the "Email" category.
Alternatively, view php-imap2 alternatives based on common mentions on social networks and blogs.
-
PHP IMAP
Manage mailboxes, filter/get/delete emails in PHP (supports IMAP/POP3/NNTP)
Free Global Payroll designed for tech teams
Building a great tech team takes more than a paycheck. Zero payroll costs, get AI-driven insights to retain best talent, and delight them with amazing local benefits. 100% free and compliant.
Promo
try.revelo.com
Do you think we are missing an alternative of php-imap2 or a related project?
README
[PHP IMAP2](docs/logo.png)
PHP IMAP2
Requirements
- PHP >= 7.0
Install
composer require javanile/php-imap2
or
Download latest release
Usage
$mbh = imap2_open($server, $username, $token, OP_XOAUTH2);
if (! $mbh) {
error_log(imap2_last_error());
throw new \RuntimeException('Unable to open the INBOX');
}
Gmail OAuth2
Scope: https://mail.google.com/
Sandbox
- Gmail Demo - https://phpsandbox.io/e/x/zwauf?layout=EditorPreview&defaultPath=%2F&theme=dark&showExplorer=no&openedFiles=
- Outlook Demo - COMING SOON