ole1986 / mailreceiver
MailReceiver 用于从 IMAP / POP3 账户获取邮件,同时过滤结果
1.0.3
2018-01-07 13:03 UTC
Requires
- php: ^5.4 || ^7.0
This package is not auto-updated.
Last update: 2024-09-25 09:00:38 UTC
README
版本:1.0.3 | 许可证:MIT | 作者:ole1986
此类用于接收和过滤来自 IMAP 或 POP3 账户的电子邮件,使用 PHP 扩展 "php_imap" 实现
示例
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();