dev-master
9999999-devImap bundle for Symfony2
MIT
The Requires
- php >=5.3.2
- webeith/php-imap *
- symfony/framework-bundle >=2.0.0
by webeith
imap
Imap bundle for Symfony2
``` php $this->getContainer()->get('imap')->getMailBox('mailbox_name');, (*2)
Configuration config.yml example ------------- ``` yml 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/"
Add the following lines to your composer.json
file and then run php composer.phar install
or php composer.phar update
:, (*3)
{ "require": { "webeith/imap-bundle": "dev-master" } }
To start using the bundle, register it in app/AppKernel.php
:, (*4)
public function registerBundles() { $bundles = array( // Other bundles... new Webeith\ImapBundle\WebeithImapBundle(), ); }
Imap bundle for Symfony2
MIT
imap