silverboyir/silverphpmail
Composer 安装命令:
composer require silverboyir/silverphpmail
包简介
Fetch Email From IMAP - POP3 Server
README 文档
README
Fetch Email From IMAP - POP3 Server
Installation
php composer.phar require silverboyir/silverphpmail
Usage
Pass the config for make connection to the server and get new or all messages by calling getNewMessages() method
SilverPHPMailFactory::getMailReader($config)->getNewMessages($lastMessageId)
this will return an iterator of last emails
Config
| property | type | default | Description |
|---|---|---|---|
connection |
string | POP3 | IMAP or POP3 |
server |
string | null | IMAP or POP3 server address |
port |
int | 0 | port of IMAP or POP3 server |
secure_mode |
string | '' | pass SSL for secure connection |
validate_cert |
boolean | false | |
folder |
string | 'INBOX' | |
username |
string | '' | |
password |
string | '' |
TODO
- writing test
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-09-16