mglaman / mail
Console app for reading via IMAP
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/mglaman/mail
Requires
- php: >=5.4.5
- php-imap/php-imap: dev-master
- symfony/console: 2.6
- symfony/yaml: ~2.6
This package is auto-updated.
Last update: 2025-10-13 18:56:29 UTC
README
A Symfonfy console IMAP tool for those of us who are bad at checking email.
Configure
Copy config.yml.example to config.yml. Change the host, port, username, and password.
Commands
Simply running mail will return the number of recent and total emails from your inbox. With any of the commands, sub out [box] with a folder name.
Available commands:
mail check [BOX] Returns number of recent and total emails.
mail list [BOX] Displays overview 10 recent emails
mail view ID [BOX] Views an email
mail rm ID [BOX] Moves email to trash. Supports command separated IDs.
Kudos
- php-imap library so I didn't have to wrap imap_*
- platformsh-cli for reference on making Symfony console application.