// Jump to the logon page of the specified email address
$ (". Btn_actemail"). Click (function (){
VaR uurl = $ (". hide_email"). Val ();
Uurl = gotoemail (uurl );
If (uurl! = ""){
$ (". Toopen"). ATTR ("href", "http: //" + uurl );
$ (". Toopen") [0]. Click ();
} Else {
Alert ("Sorry! The corresponding email logon address is not found. Please log on to your mailbox to view the email! ");
}
});
// Function: Jump to the corresponding email homepage Based on the email entered by the user
Function gotoemail ($ mail ){
$ T = $ mail. Split ('@') [1];
$ T = $ T. tolowercase ();
If ($ T = '2014. com '){
Return 'mail .163.com ';
} Else if ($ T = 'vip .163.com '){
Return 'vip .163.com ';
} Else if ($ T = '2014. com '){
Return 'mail .126.com ';
} Else if ($ T = 'qq. com' | $ T = 'vip .qq.com '| $ T = 'foxmail. com '){
Return 'mail .qq.com ';
} Else if ($ T = 'gmail. com '){
Return 'mail .google.com ';
} Else if ($ T = 'sohu. com '){
Return 'mail .sohu.com ';
} Else if ($ T = 'Tom. com '){
Return 'mail .tom.com ';
} Else if ($ T = 'vip .sina.com '){
Return 'vip .sina.com ';
} Else if ($ T = 'sina .com.cn '| $ T = 'sina. com '){
Return 'mail .sina.com.cn ';
} Else if ($ T = 'Tom. com '){
Return 'mail .tom.com ';
} Else if ($ T = 'yahoo .com.cn '| $ T = 'yahoo. cn '){
Return 'mail .cn.yahoo.com ';
} Else if ($ T = 'Tom. com '){
Return 'mail .tom.com ';
} Else if ($ T = 'Yeah. net '){
Return 'www .yeah.net ';
} Else if ($ T = '21cn. com '){
Return 'mail .21cn.com ';
} Else if ($ T = 'hotmail. com '){
Return 'www .hotmail.com ';
} Else if ($ T = 'sogou. com '){
Return 'mail .sogou.com ';
} Else if ($ T = '2014. com '){
Return 'www .188.com ';
} Else if ($ T = '2014. com '){
Return 'mail .10086.cn ';
} Else if ($ T = '2014. cn '){
Return 'webmail15 .189.cn/webmail ';
} Else if ($ T = 'Wo .com.cn '){
Return 'mail .wo.com.cn/smsmail ';
} Else if ($ T = '2014. com '){
Return 'mail .10086.cn ';
} Else {
Return '';
}
};