qbilal/yii2-imap

yii2 extension to read and process mails from IMAP and PHP

Installs: 17

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:yii2-extension

dev-master 2019-08-06 12:30 UTC

This package is auto-updated.

Last update: 2024-10-06 23:53:05 UTC


README

This library can be used to read mails from IMAP server using PHP and Yii2.

Installation by composer

{
    "require": {
       "qbilal/yii2-imap": "dev-master"
    }
}

Or

$ composer require qbilal/yii2-imap "dev-master"

Config example

'imap' => [
    'class' => '',
    'connection' => [
        'imapPath' => '',
        'imapLogin' => '',
        'imapPassword' => '',
        'serverEncoding' => 'utf-8',
        'searchEncoding' => 'US-ASCII',//MIME character set to use when searching strings. Not mandatory
        'attachmentsDir' => '/tmp',
        'decodeMimeStr' => false
    ]
]