ole1986 / mailreceiver
MailReceiver is used to fetch mails from IMAP / POP3 accounts while filtering the result
1.0.3
2018-01-07 13:03 UTC
Requires
- php: ^5.4 || ^7.0
This package is not auto-updated.
Last update: 2025-03-26 11:08:58 UTC
README
Version: 1.0.3 | License: MIT | Author: ole1986
This class is used to receive and filter emails from either an IMAP or POP3 account using the PHP extension "php_imap"
Example
new Ole1986\MailReceiver("{hostname:143}INBOX", "username", "password");
// add '/novalidate-cert' to the hostname to skip certificate validation
// fetch unread emails containing subject "Mail queue"
$me->Unread()->Subject("Mail queue")->FetchAll();