0.0.1 • Published 7 years ago

x-imap v0.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

NodeJs IMAP Library

NodeJs IMAP 操作类库

测试通过邮箱

  • 新浪邮箱 imap.sina.cn
  • QQ邮箱 imap.qq.com

使用方法

var IMAP = require('x-imap').IMAP;
var BodyParser = require('x-imap').BodyParser;

单元测试

  1. 在x-imap模块根目录下新建config.json文件,内容如下:
{
  "user": "邮箱账号",
  "password": "密码",
  "host": "imap.qq.com",
  "port": 993,
  "tls": true
}
  1. 打开终端,执行:
npm run test