dbeurive/imapconfig

This package contains IMAP configurations for various email providers.

1.0.0 2016-07-04 09:42 UTC

This package is not auto-updated.

Last update: 2025-01-13 14:29:48 UTC


README

This package contains IMAP configurations for a list of email service providers. This list contains the following providers:

  • AOL
  • Gmail
  • Gmx
  • LaPoste
  • NetCourrier
  • NewManity
  • OpenMailbox
  • Outlook
  • Yahoo

See https://support.mozilla.org/fr/kb/parametres-configuration-principaux-fournisseurs-adresses

Installation

From the command line:

composer require dbeurive/imapconfig

Or, within your file composer.json:

"require": {
    "dbeurive/imapconfig": "*"
}

Usage

Connecting to Gamil:

use dbeurive\imapconfig\Gmail;

$user       = 'YourGmailUser';
$password   = 'YourGmailPassword';
$imapConf   = new Gmail();
$imapStream = $imapConf->getImapStream($user, $password);

Or

use dbeurive\imapconfig\Gmail;

$user       = 'YourGmailUser';
$password   = 'YourGmailPassword';
$imapConf   = new Gmail();
$imapStream = imap_open($imapConf->mailbox(), $user, $password);

Classes

API Overview

Getting the configuration parameters

Connecting to the IMAP server

API

See the file Imap.php for details.