Skip to content

javanile/php-imap2

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
September 15, 2022 18:27
October 25, 2022 17:28
src
October 25, 2022 10:33
October 25, 2022 10:23
November 15, 2022 14:24
September 5, 2022 16:41
October 25, 2022 10:46
January 11, 2023 16:37
October 25, 2022 10:23
September 11, 2023 18:03
October 27, 2022 15:39
January 11, 2023 16:39
August 28, 2022 12:59

⭐ Give me a star, please! ⭐


PHP IMAP2

PHP IMAP2

Linter

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

Contributors

Other links

Reference

Microsoft Outlook

IMAP & OAUTH