Download the PHP package passasooz/php-email-reader without Composer
On this page you can find all versions of the php package passasooz/php-email-reader. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download passasooz/php-email-reader
More information about passasooz/php-email-reader
Files in passasooz/php-email-reader
Package php-email-reader
Short Description This library provides some functions to manage email out of the box
License MIT
Informations about the package php-email-reader
php-email-reader
A little IMAP reader for collect your e-mail messages in your web application
Getting Started
Configure the array into config/mail.php with your data
Installing
Just paste this on your command line
Configure config/mail.php with your imap data (for example)
Example of usage in your php file
Connect to IMAP
Disconnect from IMAP (require a $connection variable returned by connection to imap)
Get all e-mail
Get unseen e-mail
Get seen e-mail
Get deleted e-mail
To customize type of e-mail what you want list:
- read criteria - https://www.php.net/manual/en/function.imap-search.php
- extends Handler
-
create function in your new Class - for example
- instance new class into a variable (i.e. $customize)
- just call
Enjoy it :)
Built With
- Composer - Dependency Management
Authors
- Francesco Passanante - (https://github.com/passasooz)
License
This project is licensed under the MIT License
Acknowledgments
- Valerio Giacomelli for inspiration
- Me for patience ;)