PHP Classes
elePHPant
Icontem

D3 PHP POP3 Receive Email: Retrieve email messages from POP3 mailbox with YII

Recommend this page to a friend!
  Info   View files Documentation   View files View files (62)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2019-03-24 (17 days ago) RSS 2.0 feedNot yet rated by the usersTotal: 67 This week: 15All time: 9,374 This week: 32Up
Version License PHP version Categories
d3pop3 1.0.0Freeware7.1Email, Networking, PHP 5, Console
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
PHP Programming Innovation award nominee
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
Name: Uldis Nelsons <contact>
Classes: 4 packages by
Country: Latvia Latvia
Innovation award
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

  Files folder image Files  
File Role Description
Files folder imagecommand (1 file)
Files folder imagecomponents (8 files)
Files folder imagedictionaries (1 file)
Files folder imagegii (7 files)
Files folder imagemessages (1 directory)
Files folder imagemigrations (16 files)
Files folder imagemodels (14 files, 1 directory)
Files folder imagewidgets (2 files)
Accessible without login Plain text file composer.json Data Auxiliary data
Plain text file d3pop3.php Class Class source
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file testfile.html Data Auxiliary data
Accessible without login Plain text file translation.php Aux. Auxiliary script

 Version Control Unique User Downloads Download Rankings  
 100%
Total:67
This week:15
All time:9,374
This week:32Up