lib/email_homepage.rb in email_homepage-0.1.0 vs lib/email_homepage.rb in email_homepage-0.1.1
- old
+ new
@@ -29,11 +29,11 @@
elsif email_address.match /@yeah.net/
return "http://yeah.net"
elsif email_address.match /@21cn.com/
return "http://mail.21cn.com"
elsif (email_address.match /@hotmail.com/) || (email_address.match /@outlook.com/) || (email_address.match /@live.com/)
- return "outlook.office.com"
+ return "http://outlook.office.com"
elsif email_address.match /@sogou.com/
return "http://mail.sogou.com"
elsif email_address.match /@188.com/
return "http://www.188.com"
elsif email_address.match /@139.com/
@@ -44,16 +44,16 @@
return "https://www.zoho.com.cn/mail/"
else
domain_name = email_address.split(/@/).last
host_name = `host #{domain_name} | grep mail | awk 'NR==1{print $7}'`
if host_name.match /qq.com/
- return "http://exmail.qq.com/"
+ return "http://exmail.qq.com/login"
elsif (host_name.match /163.com/) || (host_name.match /netease.com/)
return "http://ym.163.com/"
elsif (host_name.match /google.com/) || (host_name.match /googlemail.com/)
return "https://www.google.com/intl/zh-CN/mail/help/work.html"
elsif (host_name.match /outlook.com/) || (email_address.match /@hotmail.com/) || (email_address.match /@live.com/)
- return "outlook.office.com"
+ return "http://outlook.office.com"
elsif host_name.match /aliyun.com/
return "https://mail.aliyun.com/"
elsif host_name.match /sina.net/
return "http://mail.sina.net/"
elsif host_name.match /zoho.com/