Installation
Add this line to your application's Gemfile:
gem 'email_homepage'
And then execute:
$ bundle
Or install it yourself as:
$ gem install email_homepage
Description
This gem can return email homepege url if you provide a email address. It supports:
Personal Mailbox
google, qq, 163, 126, sohu, sina, aliyun, yahoo, tom, yeah, 21cn, outlook, hotmail, live, sogou, 188, 139, 189, zoho
Enterprise Mailbox
qq, 163, google, outlook, aliyun, sina, zoho, sohu, 189
Usage
EmailHomepage.get("[email protected]") # return "http://mail.qq.com"
EmailHomepage.get("[email protected]") # return "http://mail.163.com"
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/gallifreyer/email-homepage.