Last Updated | | Ratings | | Unique User Downloads | | Download Rankings |
2019-03-24 (17 days ago)  | | Not yet rated by the users | | Total: 67 This week: 15 | | All time: 9,374 This week: 32 |
|
Description | | Author |
This package can retrieve email messages from POP3 mailbox with YII.
It can retrieve and display in a terminal console email messages retrieved from one or more mailboxes using the POP3 protocol.
The POP3 server, user names and passwords are retrieved from separate configuration files. Innovation Award
 March 2019
Nominee
Vote |
Many users can access the email they receive using applications that implement the POP3 protocol.
This package can be used to retrieve and show email messages from a terminal console using a POP3 component and the YII framework.
Manuel Lemos |
| |
 |
|
Innovation award
 Nominee: 2x
Winner: 1x |
|
Details
d3pop3
Features
- read emails from diferent pop3 and attach to model records
Installation
php composer.phar require d3yii2/d3pop3 dev-master
* add to config/console.php
'modules' => [
'D3Pop3' => [
'class' => 'd3yii2\d3pop3\d3pop3',
'ConfigEmailContainerData' => [
[
'model' => 'app\models\test',
'host' => 'pop.gmail.com',
'user' => '[...user..]@gmail.com',
'password' => '.........',
'ssl' => 'SSL',
],
],
'EmailContainers' => [
'd3yii2\d3pop3\components\ConfigEmailContainer',
]
],
],
- add to config/console.php under modules d3yii2/d3files with identical setings as in config.web.php
- migration configuration. Add to console parameters migration path
`
php
'yii.migrations' => [
'@vendor/d3yii2/d3pop3/migrations',
],
`
- do migration
`
bash
yii migrate
`
- For reading emails add yii command to console config
'controllerMap' => [
'd3pop3' => 'd3yii2\d3pop3\command\D3Pop3Controller',
]
- create to d3yii2/d3files defined upload directory subdirectory D3pop3Email
Usage
By Config
In configuration under 'ConfigEmailContainerData' set:
* POP3 connection data,
* model with namespace for attaching emails
* model field name, where search email to field value for ataching email
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.