https://github.com/xialeistudio/x-imap
nodejs imap library
https://github.com/xialeistudio/x-imap
Last synced: 2 months ago
JSON representation
nodejs imap library
- Host: GitHub
- URL: https://github.com/xialeistudio/x-imap
- Owner: xialeistudio
- Created: 2016-11-29T08:35:50.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-11-29T17:37:04.000Z (over 8 years ago)
- Last Synced: 2025-03-12T23:02:42.219Z (3 months ago)
- Language: JavaScript
- Size: 15.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NodeJs IMAP Library
NodeJs IMAP 操作类库
## 测试通过邮箱
+ 新浪邮箱 imap.sina.cn
+ QQ邮箱 imap.qq.com
## 使用方法
```javascript
var IMAP = require('x-imap').IMAP;
var BodyParser = require('x-imap').BodyParser;
```
## 单元测试
1. 在x-imap模块根目录下新建config.json文件,内容如下:
```json
{
"user": "邮箱账号",
"password": "密码",
"host": "imap.qq.com",
"port": 993,
"tls": true
}
```
2. 打开终端,执行:
```bash
npm run test
```