webeith/imap-bundle

Imap bundle for Symfony2

Installs: 54 918

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 2

Forks: 5

Open Issues: 1

Type:symfony-bundle

dev-master 2014-07-09 21:48 UTC

This package is not auto-updated.

Last update: 2024-12-17 04:01:28 UTC


README

License Total Downloads

Usage Example

$this->getContainer()->get('imap')->getMailBox('mailbox_name');

Configuration config.yml example

webeith_imap:
    mailboxes:
        hotmail_user
            login: "example@hotmail.com"
            password: "password"
            port: 995
            connection_string: "{imap.gmail.com:993/imap/ssl}INBOX"
            encoding: "utf-8"
            attachments_dir: "/tmp/"
        gmail_user_inbox:
            login: "example@gmail.com"
            password: "password"
            connection_string: "{imap.gmail.com:993/imap/ssl}INBOX"
            encoding: "utf-8"
            attachments_dir: "/tmp/"

Installation

Install via Composer

Add the following lines to your composer.json file and then run php composer.phar install or php composer.phar update:

{
    "require": {
        "webeith/imap-bundle": "dev-master"
    }
}

Register the bundle

To start using the bundle, register it in app/AppKernel.php:

public function registerBundles()
{
    $bundles = array(
        // Other bundles...
        new Webeith\ImapBundle\WebeithImapBundle(),
    );
}