最近写了一个获取邮箱联系人的gem包,由于contacts这个gem只能获取国外邮箱的联系人,国内的没有,因此新增了国内的几个大的邮件服务商,支持126,163,yeah,sina,sohu等邮箱联系人导入
安装:
gem install contacts_cn
使用:
Contacts.new(:sina,username,password)
Contacts.new(:net_ease,username,password) #网易
Contacts.new(:sohu,username,password)
Contacts::Sina.new(username,password)
username需要加上域名
安装:
gem install contacts_cn
使用:
Contacts.new(:sina,username,password)
Contacts.new(:net_ease,username,password) #网易
Contacts.new(:sohu,username,password)
Contacts::Sina.new(username,password)
username需要加上域名