首页 | 邮件资讯 | 技术教程 | 解决方案 | 产品评测 | 邮件人才 | 邮件博客 | 邮件系统论坛 | 软件下载 | 邮件周刊 | 热点专题 | 工具
网络技术 | 操作系统 | 邮件系统 | 客户端 | 电子邮箱 | 反垃圾邮件 | 邮件安全 | 邮件营销 | 移动电邮 | 邮件软件下载 | 电子书下载

电子邮箱

个人邮箱 | 企业邮箱 | Gmail | Windows Live Hotmail | Yahoo |
首页 > 电子邮箱 > 企业邮箱 > 企业邮箱登录代码集锦(尚易企业邮箱、新浪企业邮箱、搜狐企业邮箱) > 正文

企业邮箱登录代码集锦(尚易企业邮箱、新浪企业邮箱、搜狐企业邮箱)

出处:5DMail.Net收集整理 作者:5DMail.Net收集整理 时间:2008-8-10 16:22:55

一、尚易企业邮箱登录代码(顺序一次为:网通C2服务器Webmail用户、Webmail管理员登录代码;电信Webmail用户、Webmail管理员登录代码):

1、尚易网通C2服务器用户Webmail用户登录代码如下
style type="text/css">
<!--
.border {
border: 1px solid #999999;
}
input {
font-family: "Arial";
font-size: 9pt;
color: #333333;
background-color: #F5F5F5;
border: 1px solid #666666;
}
select {
font-family: "Arial";
font-size: 9pt;
color: #333333;
background-color: #F5F5F5;
border: 1px solid #666666;
}
option{
font-family: "Arial";
font-size: 9pt;
color: #333333;
background-color: #F5F5F5;
border: 1px solid #666666;
}
TD {
FONT-FAMILY: "宋体"; FONT-SIZE: 9pt
}
BODY {
FONT-FAMILY: "宋体"; FONT-SIZE: 9pt
}
-->
</style>
<META content="MSHTML 6.00.2900.2180" name=GENERATOR>
<script language="JavaScript">
function getCookieVal (offset) {
var endstr = document.cookie.indexOf (";", offset);
if (endstr == -1)
endstr = document.cookie.length;
return unescape(document.cookie.substring(offset, endstr));
}

function GetCookie (name) {
var arg = name + "=";
var alen = arg.length;
var clen = document.cookie.length;
var i = 0;
while (i < clen) {
var j = i + alen;
if (document.cookie.substring(i, j) == arg)
return getCookieVal (j);
i = document.cookie.indexOf(" ", i) + 1;
if (i == 0) break;
}
return null;
}

function SetCookie (name, value) {
var argv = SetCookie.arguments;
var argc = SetCookie.arguments.length;
var expires = (argc > 2) ? argv[2] : null;
var path = (argc > 3) ? argv[3] : null;
var domain = (argc > 4) ? argv[4] : null;
var secure = (argc > 5) ? argv[5] : false;
document.cookie = name + "=" + escape (value) +
((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
((path == null) ? "" : ("; path=" + path)) +
((domain == null) ? "" : ("; domain=" + domain)) +
((secure == true) ? "; secure" : "");
}

function check_ssl(){
if (document.form2.usessl.checked == true){
document.form2.usessl.value = 1;
}else{
document.form2.usessl.value = 0;
}
}

function ssl(){
if (document.form2.usessl.checked == true){
SetCookie('ssl', 1, exp);
}else{
SetCookie('ssl', 0, exp);
}
}

var expDays = 30;
var exp = new Date();
exp.setTime(exp.getTime() + (expDays*24*60*60*1000));


</script>
<SCRIPT language=JavaScript>
function merge() {
with (document.form3) {
account.value = temp_account.value + "@" + domain.value;
}
}
</SCRIPT>

</HEAD>
<BODY leftMargin=0 topMargin=0 marginheight="0" marginwidth="0"><center>
<TABLE style="FONT-FAMILY: Times New Roman" cellSpacing=0 cellPadding=0 width=603 border=0>
<TBODY>
<TR>
<TD colSpan=3 bgcolor="#ED5A0C">&nbsp;</TD>
</TR>
<TR>
<TD>&nbsp;</TD>
<TD class=text12>&nbsp;</TD>
<TD class=text12><a href="http://help.corpease.net/service_6_help.htm"></a></TD>
</TR>
<TR>
<TD width=17>&nbsp;&nbsp;&nbsp;</TD>
<TD class=text12 width=515> <P> <strong>企业邮箱用户<br>
<font face="Arial, Helvetica, sans-serif">Enterprise Email Users</font></strong>
<FORM name=form2 action=http://mail.c2.corpease.net/cgi/login method=post>
<input type="hidden" name="verifycookie" />
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="105">用户名<br> <font face="Arial, Helvetica, sans-serif">User
Name</font></td>
<td width="19">&nbsp;</td>
<td width="44">&nbsp;</td>
<td width="198">密码<br>
<font face="Arial, Helvetica, sans-serif">Password</font></td>
</tr>
<tr>
<td><input class=normal-font maxlength=100 size=30 name=user style="width: 100px"></td>
<td><font face=Arial color=black> </font></td>
<td><font face=Arial color=black>
<input maxlength=100 name=domain style="width: 100px" value="企业邮箱域名" type="hidden">
</font></td>
<td><INPUT class=normal-font type=password maxLength=100 size=30 name=pass style="width: 100px"></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td width="157">语言<br> <font face="Arial, Helvetica, sans-serif">Language</font></td>
<td width="149"> 风格<br> <font face="Arial, Helvetica, sans-serif">Style</font></td>
<td width="59" valign="bottom">SSL</td>
<td width="59">&nbsp;</td>
</tr>
<tr>
<td><select id="language" name="language" style="width: 120px" onChange="SetCookie('lang1', this.value, exp);">
<option value="-1">Default</option>
<option value="0" selected>Simplified Chinese</option>
<option value="1">English</option>
<option value="2">Traditional Chinese</option>
</select></td>
<td><select name="style" style="width: 120px" onChange="SetCookie('style', this.value, exp);">
<option value="-1" selected>Default</option>
<option value="0" selected>Simple</option>
<option value="1" selected>CorpEase</option>
</select></td>
<td><input type="checkbox" name="usessl" value="0" border="0" onClick="ssl();"></td>
<td><input name="submit" type=submit value=Login onClick="check_ssl();"></td>
</tr>
</table>
</FORM></P>
<br> <br> <P><BR>

<P></P></TD>
<TD class=text12 width=80></TD>
</TR>
<TR>
<TD height=15 colSpan=3 bgcolor="#ED5A0C">&nbsp;</TD>
</TR>
</TBODY>
</TABLE>
<script language="JavaScript">

switch (GetCookie('lang1')){
case "-1":
document.form2.language[0].selected = true;
break;
case "0":
document.form2.language[1].selected = true;
break;
case "1":
document.form2.language[2].selected = true;
break;
case "2":
document.form2.language[3].selected = true;
break;
default: document.form2.language[0].selected = true;
}

switch (GetCookie('style')){
case "-1":
document.form2.style[0].selected = true;
break;
case "0":
document.form2.style[1].selected = true;
break;
case "1":
document.form2.style[2].selected = true;
break;
case "2":
document.form2.style[3].selected = true;
break;
case "3":
document.form2.style[4].selected = true;
break;
default: document.form2.style[0].selected = true;
}

switch (GetCookie('lang2')){
case "0":
document.form3.styleidx[0].selected = true;
break;
case "1":
document.form3.styleidx[1].selected = true;
break;
}

switch (GetCookie('ssl')){
case "0":
document.form2.usessl.checked = false;
break;
case "1":
document.form2.usessl.checked = true;
break;
default: document.form2.usessl.checked = false;
}
</script>

备注:在实际网页制作过程中要把上述代码中的如下代码: <input name=domain style="width: 100px" value="企业邮箱域名" maxlength=100 type="hidden">中的"企业邮箱域名"改为贵司的企业邮箱域名,如果贵司的企业邮箱域名为 mycompany.com.cn 哪么这一代码应该更改为:<input name=domain style="width: 100px" value="mycompany.com.cn" maxlength=100 type="hidden">

2、尚易网通C2服务器用户Webmail管理员登录代码如下:

<style type="text/css">
<!--
.border {
border: 1px solid #999999;
}
input {
font-family: "Arial";
font-size: 9pt;
color: #333333;
background-color: #F5F5F5;
border: 1px solid #666666;
}
select {
font-family: "Arial";
font-size: 9pt;
color: #333333;
background-color: #F5F5F5;
border: 1px solid #666666;
}
option{
font-family: "Arial";
font-size: 9pt;
color: #333333;
background-color: #F5F5F5;
border: 1px solid #666666;
}
TD {
FONT-FAMILY: "宋体"; FONT-SIZE: 9pt
}
BODY {
FONT-FAMILY: "宋体"; FONT-SIZE: 9pt
}
-->
</style>
<META content="MSHTML 6.00.2900.2180" name=GENERATOR>
<script language="JavaScript">
function getCookieVal (offset) {
var endstr = document.cookie.indexOf (";", offset);
if (endstr == -1)
endstr = document.cookie.length;
return unescape(document.cookie.substring(offset, endstr));
}

function GetCookie (name) {
var arg = name + "=";
var alen = arg.length;
var clen = document.cookie.length;
var i = 0;
while (i < clen) {
var j = i + alen;
if (document.cookie.substring(i, j) == arg)
return getCookieVal (j);
i = document.cookie.indexOf(" ", i) + 1;
if (i == 0) break;
}
return null;
}

function SetCookie (name, value) {
var argv = SetCookie.arguments;
var argc = SetCookie.arguments.length;
var expires = (argc > 2) ? argv[2] : null;
var path = (argc > 3) ? argv[3] : null;
var domain = (argc > 4) ? argv[4] : null;
var secure = (argc > 5) ? argv[5] : false;
document.cookie = name + "=" + escape (value) +
((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
((path == null) ? "" : ("; path=" + path)) +
((domain == null) ? "" : ("; domain=" + domain)) +
((secure == true) ? "; secure" : "");
}

function check_ssl(){
if (document.form2.usessl.checked == true){
document.form2.usessl.value = 1;
}else{
document.form2.usessl.value = 0;
}
}

function ssl(){
if (document.form2.usessl.checked == true){
SetCookie('ssl', 1, exp);
}else{
SetCookie('ssl', 0, exp);
}
}

var expDays = 30;
var exp = new Date();
exp.setTime(exp.getTime() + (expDays*24*60*60*1000));


</script>
<SCRIPT language=JavaScript>
function merge() {
with (document.form3) {
account.value = temp_account.value + "@" + domain.value;
}
}
</SCRIPT>

</HEAD>
<BODY leftMargin=0 topMargin=0 marginheight="0" marginwidth="0"><center>
<TABLE style="FONT-FAMILY: Times New Roman" cellSpacing=0 cellPadding=0 width=603 border=0>
<TBODY>
<TR>
<TD colSpan=3 bgcolor="#ED5A0C">&nbsp;</TD>
</TR>
<TR>
<TD>&nbsp;</TD>
<TD class=text12>&nbsp;</TD>
<TD class=text12>&nbsp;</TD>
</TR>
<TR>
<TD width=17>&nbsp;&nbsp;&nbsp;</TD>
<TD class=text12 width=515> <P><strong>企业邮箱管理员<br>
</strong><font face="Arial, Helvetica, sans-serif"><strong>Enterprise
Email Administrators</strong></font>

<FORM name=form3
action=http://mail.c2.corpease.net:9900/siteadmin/servlet/siteadmin/pub/Login
method=post onSubmit="merge();">
<input type="hidden" name="account">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="105">用户名<br> <font face="Arial, Helvetica, sans-serif">User
Name</font></td>
<td width="19">&nbsp;</td>
<td width="44">&nbsp;</td>
<td width="189">密码<br>
<font face="Arial, Helvetica, sans-serif">Password</font></td>
</tr>
<tr>
<td><input class=normal-font maxlength=100 size=30 name=temp_account style="width: 100px"></td>
<td><FONT face=Arial color=black></FONT></td>
<td><INPUT maxLength=100 name=domain style="width: 100px" value="企业邮箱域名" type="hidden"></td>
<td><INPUT class=normal-font type=password maxLength=100 size=10 name=passwd style="width: 100px"></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td width="168">语言<br>
<font face="Arial, Helvetica, sans-serif">Language</font></td>
<td width="190">&nbsp;</td>
</tr>
<tr>
<td><select name="locale" style="width: 120px" onChange="SetCookie('lang2', this.value, exp);">
<option value="zh_CN" selected>Simplified Chinese</option>
<option value="en_US">English</option>
<option value="zh_TW">Traditional Chinese</option>
</select></td>
<td><INPUT name="submit2" type=submit value="Admin Login"></td>
</tr>
</table>
</FORM></P>
<P></P></TD>
<TD class=text12 width=80></TD>
</TR>
<TR>
<TD height=15 colSpan=3 bgcolor="#ED5A0C">&nbsp;</TD>
</TR>
</TBODY>
</TABLE>
<script language="JavaScript">

switch (GetCookie('lang1')){
case "-1":
document.form2.language[0].selected = true;
break;
case "0":
break;
case "1":
document.form2.language[2].selected = true;
break;
case "2":
break;
}

switch (GetCookie('style')){
case "-1":
document.form2.style[0].selected = true;
break;
case "0":
document.form2.style[1].selected = true;
break;
case "1":
document.form2.style[2].selected = true;
break;
case "2":
document.form2.style[3].selected = true;
break;
case "3":
document.form2.style[4].selected = true;
break;
}

switch (GetCookie('lang2')){
case "0":
document.form3.styleidx[0].selected = true;
break;
case "1":
document.form3.styleidx[1].selected = true;
break;
}
</script>


备注:在实际网页制作过程中要把上述代码中的如下代码:<INPUT maxLength=100 name=domain style="width: 100px" value="企业邮箱域名" type="hidden">中的企业邮箱域名请替换为贵司的域名,如 mycompany.com.cn ,替换后的代码应为:<INPUT maxLength=100 name=domain style="width: 100px" value="mycompany.com.cn" type="hidden">

3、尚易电信服务器用户Webmail用户登录代码如下:

<style type="text/css">
<!--
.border {
border: 1px solid #999999;
}
input {
font-family: "Arial";
font-size: 9pt;
color: #333333;
background-color: #F5F5F5;
border: 1px solid #666666;
}
select {
font-family: "Arial";
font-size: 9pt;
color: #333333;
background-color: #F5F5F5;
border: 1px solid #666666;
}
option{
font-family: "Arial";
font-size: 9pt;
color: #333333;
background-color: #F5F5F5;
border: 1px solid #666666;
}
TD {
FONT-FAMILY: "宋体"; FONT-SIZE: 9pt
}
BODY {
FONT-FAMILY: "宋体"; FONT-SIZE: 9pt
}
-->
</style>
<META content="MSHTML 6.00.2900.2180" name=GENERATOR>
<script language="JavaScript">
function getCookieVal (offset) {
var endstr = document.cookie.indexOf (";", offset);
if (endstr == -1)
endstr = document.cookie.length;
return unescape(document.cookie.substring(offset, endstr));
}

function GetCookie (name) {
var arg = name + "=";
var alen = arg.length;
var clen = document.cookie.length;
var i = 0;
while (i < clen) {
var j = i + alen;
if (document.cookie.substring(i, j) == arg)
return getCookieVal (j);
i = document.cookie.indexOf(" ", i) + 1;
if (i == 0) break;
}
return null;
}

function SetCookie (name, value) {
var argv = SetCookie.arguments;
var argc = SetCookie.arguments.length;
var expires = (argc > 2) ? argv[2] : null;
var path = (argc > 3) ? argv[3] : null;
var domain = (argc > 4) ? argv[4] : null;
var secure = (argc > 5) ? argv[5] : false;
document.cookie = name + "=" + escape (value) +
((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
((path == null) ? "" : ("; path=" + path)) +
((domain == null) ? "" : ("; domain=" + domain)) +
((secure == true) ? "; secure" : "");
}

function check_ssl(){
if (document.form2.usessl.checked == true){
document.form2.usessl.value = 1;
}else{
document.form2.usessl.value = 0;
}
}

function ssl(){
if (document.form2.usessl.checked == true){
SetCookie('ssl', 1, exp);
}else{
SetCookie('ssl', 0, exp);
}
}

var expDays = 30;
var exp = new Date();
exp.setTime(exp.getTime() + (expDays*24*60*60*1000));


</script>
<SCRIPT language=JavaScript>
function merge() {
with (document.form3) {
account.value = temp_account.value + "@" + domain.value;
}
}
</SCRIPT>

</HEAD>
<BODY leftMargin=0 topMargin=0 marginheight="0" marginwidth="0"><center>
<TABLE style="FONT-FAMILY: Times New Roman" cellSpacing=0 cellPadding=0 width=603 border=0>
<TBODY>
<TR>
<TD colSpan=3 bgcolor="#ED5A0C">&nbsp;</TD>
</TR>
<TR>
<TD>&nbsp;</TD>
<TD class=text12>&nbsp;</TD>
<TD class=text12><a href="http://help.corpease.net/service_6_help.htm"></a></TD>
</TR>
<TR>
<TD width=17>&nbsp;&nbsp;&nbsp;</TD>
<TD class=text12 width=515> <P> <strong>企业邮箱用户<br>
<font face="Arial, Helvetica, sans-serif">Enterprise Email Users</font></strong>
<FORM name=form2 action=http://mail.corpease.net/cgi/login method=post>
<input type="hidden" name="verifycookie" />
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="105">用户名<br> <font face="Arial, Helvetica, sans-serif">User
Name</font></td>
<td width="19">&nbsp;</td>
<td width="44">&nbsp;</td>
<td width="198">密码<br>
<font face="Arial, Helvetica, sans-serif">Password</font></td>
</tr>
<tr>
<td><input class=normal-font maxlength=100 size=30 name=user style="width: 100px"></td>
<td><font face=Arial color=black> </font></td>
<td><font face=Arial color=black>
<input maxlength=100 name=domain style="width: 100px" value="企业邮箱域名" type="hidden">
</font></td>
<td><INPUT class=normal-font type=password maxLength=100 size=30 name=pass style="width: 100px"></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td width="157">语言<br> <font face="Arial, Helvetica, sans-serif">Language</font></td>
<td width="149"> 风格<br> <font face="Arial, Helvetica, sans-serif">Style</font></td>
<td width="59" valign="bottom">SSL</td>
<td width="59">&nbsp;</td>
</tr>
<tr>
<td><select id="language" name="language" style="width: 120px" onChange="SetCookie('lang1', this.value, exp);">
<option value="-1">Default</option>
<option value="0" selected>Simplified Chinese</option>
<option value="1">English</option>
<option value="2">Traditional Chinese</option>
</select></td>
<td><select name="style" style="width: 120px" onChange="SetCookie('style', this.value, exp);">
<option value="-1" selected>Default</option>
<option value="0" selected>Simple</option>
<option value="1" selected>CorpEase</option>
</select></td>
<td><input type="checkbox" name="usessl" value="0" border="0" onClick="ssl();"></td>
<td><input name="submit" type=submit value=Login onClick="check_ssl();"></td>
</tr>
</table>
</FORM></P>
<br> <br> <P><BR>

<P></P></TD>
<TD class=text12 width=80></TD>
</TR>
<TR>
<TD height=15 colSpan=3 bgcolor="#ED5A0C">&nbsp;</TD>
</TR>
</TBODY>
</TABLE>
<script language="JavaScript">

switch (GetCookie('lang1')){
case "-1":
document.form2.language[0].selected = true;
break;
case "0":
document.form2.language[1].selected = true;
break;
case "1":
document.form2.language[2].selected = true;
break;
case "2":
document.form2.language[3].selected = true;
break;
default: document.form2.language[0].selected = true;
}

switch (GetCookie('style')){
case "-1":
document.form2.style[0].selected = true;
break;
case "0":
document.form2.style[1].selected = true;
break;
case "1":
document.form2.style[2].selected = true;
break;
case "2":
document.form2.style[3].selected = true;
break;
case "3":
document.form2.style[4].selected = true;
break;
default: document.form2.style[0].selected = true;
}

switch (GetCookie('lang2')){
case "0":
document.form3.styleidx[0].selected = true;
break;
case "1":
document.form3.styleidx[1].selected = true;
break;
}

switch (GetCookie('ssl')){
case "0":
document.form2.usessl.checked = false;
break;
case "1":
document.form2.usessl.checked = true;
break;
default: document.form2.usessl.checked = false;
}
</script>

备注:在实际网页制作过程中要把上述代码中的如下代码: <input name=domain style="width: 100px" value="企业邮箱域名" maxlength=100 type="hidden">中的"企业邮箱域名"改为贵司的企业邮箱域名,如果贵司的企业邮箱域名为 mycompany.com.cn 哪么这一代码应该更改为:
<input name=domain style="width: 100px" value="mycompany.com.cn" maxlength=100 type="hidden">

4、尚易电信服务器用户Webmail管理员登录代码如下:

<style type="text/css">
<!--
.border {
border: 1px solid #999999;
}
input {
font-family: "Arial";
font-size: 9pt;
color: #333333;
background-color: #F5F5F5;
border: 1px solid #666666;
}
select {
font-family: "Arial";
font-size: 9pt;
color: #333333;
background-color: #F5F5F5;
border: 1px solid #666666;
}
option{
font-family: "Arial";
font-size: 9pt;
color: #333333;
background-color: #F5F5F5;
border: 1px solid #666666;
}
TD {
FONT-FAMILY: "宋体"; FONT-SIZE: 9pt
}
BODY {
FONT-FAMILY: "宋体"; FONT-SIZE: 9pt
}
-->
</style>
<META content="MSHTML 6.00.2900.2180" name=GENERATOR>
<script language="JavaScript">
function getCookieVal (offset) {
var endstr = document.cookie.indexOf (";", offset);
if (endstr == -1)
endstr = document.cookie.length;
return unescape(document.cookie.substring(offset, endstr));
}

function GetCookie (name) {
var arg = name + "=";
var alen = arg.length;
var clen = document.cookie.length;
var i = 0;
while (i < clen) {
var j = i + alen;
if (document.cookie.substring(i, j) == arg)
return getCookieVal (j);
i = document.cookie.indexOf(" ", i) + 1;
if (i == 0) break;
}
return null;
}

function SetCookie (name, value) {
var argv = SetCookie.arguments;
var argc = SetCookie.arguments.length;
var expires = (argc > 2) ? argv[2] : null;
var path = (argc > 3) ? argv[3] : null;
var domain = (argc > 4) ? argv[4] : null;
var secure = (argc > 5) ? argv[5] : false;
document.cookie = name + "=" + escape (value) +
((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
((path == null) ? "" : ("; path=" + path)) +
((domain == null) ? "" : ("; domain=" + domain)) +
((secure == true) ? "; secure" : "");
}

function check_ssl(){
if (document.form2.usessl.checked == true){
document.form2.usessl.value = 1;
}else{
document.form2.usessl.value = 0;
}
}

function ssl(){
if (document.form2.usessl.checked == true){
SetCookie('ssl', 1, exp);
}else{
SetCookie('ssl', 0, exp);
}
}

var expDays = 30;
var exp = new Date();
exp.setTime(exp.getTime() + (expDays*24*60*60*1000));


</script>
<SCRIPT language=JavaScript>
function merge() {
with (document.form3) {
account.value = temp_account.value + "@" + domain.value;
}
}
</SCRIPT>

</HEAD>
<BODY leftMargin=0 topMargin=0 marginheight="0" marginwidth="0"><center>
<TABLE style="FONT-FAMILY: Times New Roman" cellSpacing=0 cellPadding=0 width=603 border=0>
<TBODY>
<TR>
<TD colSpan=3 bgcolor="#ED5A0C">&nbsp;</TD>
</TR>
<TR>
<TD>&nbsp;</TD>
<TD class=text12>&nbsp;</TD>
<TD class=text12>&nbsp;</TD>
</TR>
<TR>
<TD width=17>&nbsp;&nbsp;&nbsp;</TD>
<TD class=text12 width=515> <P><strong>企业邮箱管理员<br>
</strong><font face="Arial, Helvetica, sans-serif"><strong>Enterprise
Email Administrators</strong></font>

<FORM name=form3
action=http://mail.corpease.net:9900/siteadmin/servlet/siteadmin/pub/Login
method=post onSubmit="merge();">
<input type="hidden" name="account">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="105">用户名<br> <font face="Arial, Helvetica, sans-serif">User
Name</font></td>
<td width="19">&nbsp;</td>
<td width="44">&nbsp;</td>
<td width="189">密码<br>
<font face="Arial, Helvetica, sans-serif">Password</font></td>
</tr>
<tr>
<td><input class=normal-font maxlength=100 size=30 name=temp_account style="width: 100px"></td>
<td><FONT face=Arial color=black></FONT></td>
<td><INPUT maxLength=100 name=domain style="width: 100px" value="企业邮箱域名" type="hidden"></td>
<td><INPUT class=normal-font type=password maxLength=100 size=10 name=passwd style="width: 100px"></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td width="168">语言<br>
<font face="Arial, Helvetica, sans-serif">Language</font></td>
<td width="190">&nbsp;</td>
</tr>
<tr>
<td><select name="locale" style="width: 120px" onChange="SetCookie('lang2', this.value, exp);">
<option value="zh_CN" selected>Simplified Chinese</option>
<option value="en_US">English</option>
<option value="zh_TW">Traditional Chinese</option>
</select></td>
<td><INPUT name="submit2" type=submit value="Admin Login"></td>
</tr>
</table>
</FORM></P>
<P></P></TD>
<TD class=text12 width=80></TD>
</TR>
<TR>
<TD height=15 colSpan=3 bgcolor="#ED5A0C">&nbsp;</TD>
</TR>
</TBODY>
</TABLE>
<script language="JavaScript">

switch (GetCookie('lang1')){
case "-1":
document.form2.language[0].selected = true;
break;
case "0":
break;
case "1":
document.form2.language[2].selected = true;
break;
case "2":
break;
}

switch (GetCookie('style')){
case "-1":
document.form2.style[0].selected = true;
break;
case "0":
document.form2.style[1].selected = true;
break;
case "1":
document.form2.style[2].selected = true;
break;
case "2":
document.form2.style[3].selected = true;
break;
case "3":
document.form2.style[4].selected = true;
break;
}

switch (GetCookie('lang2')){
case "0":
document.form3.styleidx[0].selected = true;
break;
case "1":
document.form3.styleidx[1].selected = true;
break;
}
</script>


备注:在实际网页制作过程中要把上述代码中的如下代码:<INPUT maxLength=100 name=domain style="width: 100px" value="企业邮箱域名" type="hidden">中的企业邮箱域名请替换为贵司的域名,如 mycompany.com.cn ,替换后的代码应为:
<INPUT maxLength=100 name=domain style="width: 100px" value="mycompany.com.cn" type="hidden">

二、新浪企业邮箱登录代码(顺序依次为:中文页面登录代码、英文页面登录代码):

1、新浪企业邮箱中文页面登录代码:

<!-- mail.sina.net login form begin -->
<script language=javascript>


if(!Array.prototype.toSource) {
 function array_tosource(){
  st = "";
  for(var i=0;i<this.length;i++) {
   tEl = this[i];
   switch(typeof tEl){
    case "string":
     st+="\"" + tEl.replace(/"/g,"\\\"") + "\"";
     break;
    case "object":
     st+=tEl.toSource();
     break;   
     default:
      st+=tEl
   }
   if(i<this.length-1)st+=","
  }
  return "[" + st + "]"
 }
 Array.prototype.toSource = array_tosource;
}

if(!Array.prototype.shift) {
 function array_shift() {
  firstElement = this[0];
  this.reverse();
  this.length = Math.max(this.length-1,0);
  this.reverse();
  return firstElement;
 }

 Array.prototype.shift = array_shift;
}

if(!Array.prototype.unshift) {
 function array_unshift() {
  this.reverse();
  for(var i=arguments.length-1;i>=0;i--){
   this[this.length]=arguments[i]
  }
  this.reverse();
  return this.length
 }
 Array.prototype.unshift = array_unshift;
}

if(Array.prototype.push && ([0].push(true)==true))Array.prototype.push = null;
if(Array.prototype.splice && typeof([0].splice(0))=="number")Array.prototype.splice = null;

if(!Array.prototype.push) {

 function array_push() {
  for(i=0;i<arguments.length;i++){
   this[this.length]=arguments[i]
  };
  return this.length;
 }
 Array.prototype.push = array_push;

}

if(!Array.prototype.pop) {

 function array_pop(){
     lastElement = this[this.length-1];
  this.length = Math.max(this.length-1,0);
     return lastElement;
 }

 Array.prototype.pop = array_pop;

}

if(!Array.prototype.splice) {

 function array_splice(ind){
  if(ind==null) return ind;
  if(ind<0) ind = this.length + ind;
  if(ind > this.length) {
   if(arguments.length>2) ind = this.length;
   else return [];
  }
  cnt = arguments[1] ? arguments[1] : this.length-ind;

  firstArray = [];
  secondArray = [];
  thirdArray = [];

  for(var i=0;i<this.length;i++){
   tEl = this[i];
   if(i<ind) firstArray.push(tEl);
   else if(i<ind+cnt) secondArray.push(tEl);
   else thirdArray.push(tEl);
  }

  this.length = firstArray.length;
  for(i=2;i<arguments.length;i++){
   this.push(arguments[i]);
  }
  this.concat(thirdArray);
  return secondArray;
 }

 Array.prototype.splice = array_splice;

}


function trim(str)
{
 while(str.charAt(0)==" ")
 {
  str=str.substr(1);
 }
 while(str.charAt(str.length-1)==" ")
 {
  str=str.substring(0,str.length-1);
 }
 return str;
 
}
function onSubmit()
{
 var username = document.loginform.username.value;
 username = trim(username);
 if(username == "")
 {
  alert("邮箱地址不能为空,请输入邮箱地址!")
  document.loginform.username.focus();
  return false;
 }

 var domainname = document.loginform.domainname.value;
 domainname = trim(domainname);
 if(domainname == "")
 {
  alert("邮箱域名不能为空,请输入邮箱域名!")
  document.loginform.domainname.focus();
  return false;
 }

 if(domainname.indexOf(".") == -1)
  domainname += ".sina.net";
 
 var psw = document.loginform.psw.value;
 if(psw == "")
 {
  alert("密码不能为空,请输入密码!");
  document.loginform.psw.focus();
  return false;
 }

 //document.loginform.curdomain.value = document.location;
 
 document.loginform.user.value = username + '@' + domainname;
 do_sha1();
 document.loginform.psw.value = "";
 //alert("sessid: "+ssid);
 //alert("psw hash: "+document.loginform.pass.value);
 //alert(document.loginform.curdomain.value);

 var acton_str = new String(document.loginform.action);

 var tmp_str1;
 var cur_action_domain;

 var re1 = /\/cgi-bin\/websso\/login.cgi/g;
 var re2 = /http:\/\//g;

 tmp_str1 = acton_str.replace(re1, "");
 cur_action_domain = tmp_str1.replace(re2, "");

 //alert(cur_web_domain);
 var is_sina_domain;
 var search_ptr = /\.sina\.net/i;
 var cur_location = new String(document.location);

 is_sina_domain = cur_location.search(search_ptr);

 if(is_sina_domain == -1)
 {
  //非从sina.net web登录用户
  //直接读取action url数据
  document.loginform.outurl.value = cur_location;//login out url
  document.loginform.curdomain.value = cur_action_domain;//mail serv
 }
 else
 {
  //从sina web服务器登录
  document.loginform.outurl.value = cur_location;
  document.loginform.curdomain.value = cur_location;
 }

 //alert(document.loginform.curdomain.value);
 //alert(document.loginform.outurl.value);
}

function wc(name,value){
        var e = new Date ();
        e.setTime (e.getTime() + (365*24*60*60*1000));
        e = e.toGMTString()
        document.cookie=name+"="+value+";path=/;expires="+e+";domain=mail.sina.net;"
        //alert(document.cookie);
}

// convert a 32-bit value to a 8-char hex string
function cvt_hex( val )
{
   var str="";
   var i;
   var v;

   for( i=7; i>=0; i-- )
   {
      v = (val>>>(i*4))&0x0f;
      str += v.toString(16);
   }
   return str;
}

// return a hex value LSB first
function lsb_hex( val )
{
   var str="";
   var i;
   var vh;
   var vl;

   for( i=0; i<=6; i+=2 )
   {
      vh = (val>>>(i*4+4))&0x0f;
      vl = (val>>>(i*4))&0x0f;
      str += vh.toString(16) + vl.toString(16);
   }
   return str;
}

// rotate left circular
function rotate_left( n, s )
{
   var t4 = ( n<<s ) | (n>>>(32-s));
   return t4;
}

// calculate the hash
function do_sha1()
{
   var blockstart;   // which block of words from the dataare we using now?
   var i, j;
   var W = new Array(80);
   // initial constants
   var H0 = 0x67452301;
   var H1 = 0xEFCDAB89;
   var H2 = 0x98BADCFE;
   var H3 = 0x10325476;
   var H4 = 0xC3D2E1F0;
   // working variables
   var A, B, C, D, E;
   var temp;

   // get message to hash
   var msg = document.loginform.psw.value;

   // note current length
   var msg_len = msg.length;

   // convert to a 32-bit word array
   var word_array = new Array();
   for( i=0; i<msg_len-3; i+=4 )
   {
      // convert 4 bytes to a word
      j = msg.charCodeAt(i)<<24 | msg.charCodeAt(i+1)<<16 |
  msg.charCodeAt(i+2)<<8 | msg.charCodeAt(i+3);
      word_array.push( j );
   }

   // handle final bits, add beginning of padding: 1 bit, then 0 bits
   switch( msg_len % 4 )
   {
      case 0:
         // text length was a multiple of 4 bytes, start padding
         i = 0x080000000;    // 4 bytes padding
         break;

      case 1:
         // one byte of text left
         i = msg.charCodeAt(msg_len-1)<<24 | 0x0800000; // 3 bytes padding
         break;

      case 2:
         // two bytes of text left
         i = msg.charCodeAt(msg_len-2)<<24 | msg.charCodeAt(msg_len-1)<<16
  | 0x08000;    // 2 bytes padding
         break;

      case 3:
         // three bytes of text left
         i = msg.charCodeAt(msg_len-3)<<24 | msg.charCodeAt(msg_len-2)<<16
  | msg.charCodeAt(msg_len-1)<<8 | 0x80; // 1 byte padding
         break;

      default:
         window.alert("Something went weird in the switch!")
         return;
   }

   // handle the end of the text and beginning of the padding
   word_array.push( i );

   // pad to 448 bits (mod 512 bits) = 14 words (mod 16 words)
   while( (word_array.length % 16) != 14 )
      word_array.push( 0 );

   // add 64-bit message length (in bits)
   word_array.push( msg_len>>>29 );
   word_array.push( (msg_len<<3)&0x0ffffffff );

   // Process each 16-word block.
   for ( blockstart=0; blockstart<word_array.length; blockstart+=16 )
   {
      // create entries in W array
      for( i=0; i<16; i++ )
         W[i] = word_array[blockstart+i];
      for( i=16; i<=79; i++ )
         W[i] = rotate_left(W[i-3] ^ W[i-8] ^ W[i-14] ^ W[i-16], 1);

      // copy state
      A = H0;
      B = H1;
      C = H2;
      D = H3;
      E = H4;

      // update state variables
      for( i= 0; i<=19; i++ )
      {
         temp = (rotate_left(A,5) + ((B&C) | (~B&D)) + E + W[i] + 0x5A827999) & 0x0ffffffff;

         // update state
         E = D;
         D = C;
         C = rotate_left(B,30);
         B = A;
         A = temp;
      }

      for( i=20; i<=39; i++ )
      {
         temp = (rotate_left(A,5) + (B ^ C ^ D) + E + W[i] + 0x6ED9EBA1) & 0x0ffffffff;

         // update state
         E = D;
         D = C;
         C = rotate_left(B,30);
         B = A;
         A = temp;
      }

      for( i=40; i<=59; i++ )
      {
         temp = (rotate_left(A,5) + ((B&C) | (B&D) | (C&D)) + E + W[i] + 0x8F1BBCDC) & 0x0ffffffff;

         // update state
         E = D;
         D = C;
         C = rotate_left(B,30);
         B = A;
         A = temp;
      }

      for( i=60; i<=79; i++ )
      {
        temp = (rotate_left(A,5) + (B ^ C ^ D) + E + W[i] + 0x6CA62C1D6) & 0x0ffffffff;

         // update state
         E = D;
         D = C;
         C = rotate_left(B,30);
         B = A;
         A = temp;
      }

      H0 = (H0 + A) & 0x0ffffffff;
      H1 = (H1 + B) & 0x0ffffffff;
      H2 = (H2 + C) & 0x0ffffffff;
      H3 = (H3 + D) & 0x0ffffffff;
      H4 = (H4 + E) & 0x0ffffffff;

   } // of loop on i

   // process output
   document.loginform.pass.value = cvt_hex(H0) + cvt_hex(H1) + cvt_hex(H2)
  + cvt_hex(H3) + cvt_hex(H4);
}
</script>


邮箱登录代码-英文<br>
使用时请注意有2处的“xxx.sina.net”需要替换为企业邮箱域名,替换完成后用户可以和原来一样正常使用。<br>
南方用户将代码中的http://mail.sina.net更改为http://mailx.sina.net,加快访问速度。<br>


<form name=loginform method=post action=http://mail.sina.net/cgi-bin/websso/login.cgi onsubmit="return onSubmit(this)">
<input type=hidden name=user><input type=hidden name=pass>
<input type=hidden name=domainname value="xxxx.sina.net">
<input type=hidden name=ssid>
<input type="hidden" name="curdomain">
<input type="hidden" name="outurl">
<table border=0 cellpadding=0 cellspacing=5>
        <tr><td>UserName:</td>  <td><input type=text name=username size=8>@xxxx.sina.net</td></tr>
        <tr><td>PassWord:</td>  <td><input type=password name=psw size=12></td></tr>
        <tr><td colspan=2 align=center><input type=submit value=" Login "> </td></tr>
</table>
</form>
<!-- mail.sina.net login form end. -->

2、英文页面登录代码:

<!-- mail.sina.net login form begin -->
<script language=javascript>

if(!Array.prototype.toSource) {
 function array_tosource(){
  st = "";
  for(var i=0;i<this.length;i++) {
   tEl = this[i];
   switch(typeof tEl){
    case "string":
     st+="\"" + tEl.replace(/"/g,"\\\"") + "\"";
     break;
    case "object":
     st+=tEl.toSource();
     break;   
     default:
      st+=tEl
   }
   if(i<this.length-1)st+=","
  }
  return "[" + st + "]"
 }
 Array.prototype.toSource = array_tosource;
}

if(!Array.prototype.shift) {
 function array_shift() {
  firstElement = this[0];
  this.reverse();
  this.length = Math.max(this.length-1,0);
  this.reverse();
  return firstElement;
 }

 Array.prototype.shift = array_shift;
}

if(!Array.prototype.unshift) {
 function array_unshift() {
  this.reverse();
  for(var i=arguments.length-1;i>=0;i--){
   this[this.length]=arguments[i]
  }
  this.reverse();
  return this.length
 }
 Array.prototype.unshift = array_unshift;
}

if(Array.prototype.push && ([0].push(true)==true))Array.prototype.push = null;
if(Array.prototype.splice && typeof([0].splice(0))=="number")Array.prototype.splice = null;

if(!Array.prototype.push) {

 function array_push() {
  for(i=0;i<arguments.length;i++){
   this[this.length]=arguments[i]
  };
  return this.length;
 }
 Array.prototype.push = array_push;

}

if(!Array.prototype.pop) {

 function array_pop(){
     lastElement = this[this.length-1];
  this.length = Math.max(this.length-1,0);
     return lastElement;
 }

 Array.prototype.pop = array_pop;

}

if(!Array.prototype.splice) {

 function array_splice(ind){
  if(ind==null) return ind;
  if(ind<0) ind = this.length + ind;
  if(ind > this.length) {
   if(arguments.length>2) ind = this.length;
   else return [];
  }
  cnt = arguments[1] ? arguments[1] : this.length-ind;

  firstArray = [];
  secondArray = [];
  thirdArray = [];

  for(var i=0;i<this.length;i++){
   tEl = t, his[i];
   if(i<ind) firstArray.push(tEl);
   else if(i<ind+cnt) secondArray.push(tEl);
   else thirdArray.push(tEl);
  }

  this.length = firstArray.length;
  for(i=2;i<arguments.length;i++){
   this.push(arguments[i]);
  }
  this.concat(thirdArray);
  return secondArray;
 }

 Array.prototype.splice = array_splice;

}


function trim(str)
{
 while(str.charAt(0)==" ")
 {
  str=str.substr(1);
 }
 while(str.charAt(str.length-1)==" ")
 {
  str=str.substring(0,str.length-1);
 }
 return str;
 
}
function onSubmit()
{
 var username = document.loginform.username.value;
 username = trim(username);
 if(username == "")
 {
  alert("Please input user name!")
  document.loginform.username.focus();
  return false;
 }

 var domainname = document.loginform.domainname.value;
 domainname = trim(domainname);
 if(domainname == "")
 {
  alert("Please input domain name!")
  document.loginform.domainname.focus();
  return false;
 }

 if(domainname.indexOf(".") == -1)
  domainname += ".sina.net";
 
 var psw = document.loginform.psw.value;
 if(psw == "")
 {
  alert("Please input user password!");
  document.loginform.psw.focus();
  return false;
 }

 //document.loginform.curdomain.value = document.location;
 
 document.loginform.user.value = username + '@' + domainname;
 do_sha1();
 document.loginform.psw.value = "";
 //alert("sessid: "+ssid);
 //alert("psw hash: "+document.loginform.pass.value);
 //alert(document.loginform.curdomain.value);

 var acton_str = new String(document.loginform.action);

 var tmp_str1;
 var cur_action_domain;

 var re1 = /\/cgi-bin\/websso\/login.cgi/g;
 var re2 = /http:\/\//g;

 tmp_str1 = acton_str.replace(re1, "");
 cur_action_domain = tmp_str1.replace(re2, "");

 //alert(cur_web_domain);
 var is_sina_domain;
 var search_ptr = /\.sina\.net/i;
 var cur_location = new String(document.location);

 is_sina_domain = cur_location.search(search_ptr);

 if(is_sina_domain == -1)
 {
  //非从sina.net web登录用户
  //直接读取action url数据
  document.loginform.outurl.value = cur_location;//login out url
  document.loginform.curdomain.value = cur_action_domain;//mail serv
 }
 else
 {
  //从sina web服务器登录
  document.loginform.outurl.value = cur_location;
  document.loginform.curdomain.value = cur_location;
 }

 //alert(document.loginform.curdomain.value);
 //alert(document.loginform.outurl.value);
}

function wc(name,value){
        var e = new Date ();
        e.setTime (e.getTime() + (365*24*60*60*1000));
        e = e.toGMTString()
        document.cookie=name+"="+value+";path=/;expires="+e+";domain=mail.sina.net;"
        //alert(document.cookie);
}

// convert a 32-bit value to a 8-char hex string
function cvt_hex( val )
{
   var str="";
   var i;
   var v;

   for( i=7; i>=0; i-- )
   {
      v = (val>>>(i*4))&0x0f;
      str += v.toString(16);
   }
   return str;
}

// return a hex value LSB first
function lsb_hex( val )
{
   var str="";
   var i;
   var vh;
   var vl;

   for( i=0; i<=6; i+=2 )
   {
      vh = (val>>>(i*4+4))&0x0f;
      vl = (val>>>(i*4))&0x0f;
      str += vh.toString(16) + vl.toString(16);
   }
   return str;
}

// rotate left circular
function rotate_left( n, s )
{
   var t4 = ( n<<s ) | (n>>>(32-s));
   return t4;
}

// calculate the hash
function do_sha1()
{
   var blockstart;   // which block of words from the dataare we using now?
   var i, j;
   var W = new Array(80);
   // initial constants
   var H0 = 0x67452301;
   var H1 = 0xEFCDAB89;
   var H2 = 0x98BADCFE;
   var H3 = 0x10325476;
   var H4 = 0xC3D2E1F0;
   // working variables
   var A, B, C, D, E;
   var temp;

   // get message to hash
   var msg = document.loginform.psw.value;

   // note current length
   var msg_len = msg.length;

   // convert to a 32-bit word array
   var word_array = new Array();
   for( i=0; i<msg_len-3; i+=4 )
   {
      // convert 4 bytes to a word
      j = msg.charCodeAt(i)<<24 | msg.charCodeAt(i+1)<<16 |
  msg.charCodeAt(i+2)<<8 | msg.charCodeAt(i+3);
      word_array.push( j );
   }

   // handle final bits, add beginning of padding: 1 bit, then 0 bits
   switch( msg_len % 4 )
   {
      case 0:
         // text length was a multiple of 4 bytes, start padding
         i = 0x080000000;    // 4 bytes padding
         break;

      case 1:
         // one byte of text left
         i = msg.charCodeAt(msg_len-1)<<24 | 0x0800000; // 3 bytes padding
         break;

      case 2:
         // two bytes of text left
         i = msg.charCodeAt(msg_len-2)<<24 | msg.charCodeAt(msg_len-1)<<16
  | 0x08000;    // 2 bytes padding
         break;

      case 3:
         // three bytes of text left
         i = msg.charCodeAt(msg_len-3)<<24 | msg.charCodeAt(msg_len-2)<<16
  | msg.charCodeAt(msg_len-1)<<8 | 0x80; // 1 byte padding
         break;

      default:
         window.alert("Something went weird in the switch!")
         return;
   }

   // handle the end of the text and beginning of the padding
   word_array.push( i );

   // pad to 448 bits (mod 512 bits) = 14 words (mod 16 words)
   while( (word_array.length % 16) != 14 )
      word_array.push( 0 );

   // add 64-bit message length (in bits)
   word_array.push( msg_len>>>29 );
   word_array.push( (msg_len<<3)&0x0ffffffff );

   // Process each 16-word block.
   for ( blockstart=0; blockstart<word_array.length; blockstart+=16 )
   {
      // create entries in W array
      for( i=0; i<16; i++ )
         W[i] = word_array[blockstart+i];
      for( i=16; i<=79; i++ )
         W[i] = rotate_left(W[i-3] ^ W[i-8] ^ W[i-14] ^ W[i-16], 1);

      // copy state
      A = H0;
      B = H1;
      C = H2;
      D = H3;
      E = H4;

      // update state variables
      for( i= 0; i<=19; i++ )
      {
         temp = (rotate_left(A,5) + ((B&C) | (~B&D)) + E + W[i] + 0x5A827999) & 0x0ffffffff;

         // update state
         E = D;
         D = C;
         C = rotate_left(B,30);
         B = A;
         A = temp;
      }

      for( i=20; i<=39; i++ )
      {
         temp = (rotate_left(A,5) + (B ^ C ^ D) + E + W[i] + 0x6ED9EBA1) & 0x0ffffffff;

         // update state
         E = D;
         D = C;
         C = rotate_left(B,30);
         B = A;
         A = temp;
      }

      for( i=40; i<=59; i++ )
      {
         temp = (rotate_left(A,5) + ((B&C) | (B&D) | (C&D)) + E + W[i] + 0x8F1BBCDC) & 0x0ffffffff;

         // update state
         E = D;
         D = C;
         C = rotate_left(B,30);
         B = A;
         A = temp;
      }

      for( i=60; i<=79; i++ )
      {
        temp = (rotate_left(A,5) + (B ^ C ^ D) + E + W[i] + 0x6CA62C1D6) & 0x0ffffffff;

         // update state
         E = D;
         D = C;
         C = rotate_left(B,30);
         B = A;
         A = temp;
      }

      H0 = (H0 + A) & 0x0ffffffff;
      H1 = (H1 + B) & 0x0ffffffff;
      H2 = (H2 + C) & 0x0ffffffff;
      H3 = (H3 + D) & 0x0ffffffff;
      H4 = (H4 + E) & 0x0ffffffff;

   } // of loop on i

   // process output
   document.loginform.pass.value = cvt_hex(H0) + cvt_hex(H1) + cvt_hex(H2)
  + cvt_hex(H3) + cvt_hex(H4);
}
</script>


邮箱登录代码-英文<br>
使用时请注意有2处的“xxx.sina.net”需要替换为企业邮箱域名,替换完成后用户可以和原来一样正常使用。<br>
南方用户将代码中的http://en.mail.sina.net更改为http://en.mailx.sina.net,加快访问速度。<br>


<form name=loginform method=post action=http://en.mail.sina.net/cgi-bin/websso/login.cgi onsubmit="return onSubmit(this)">
<input type=hidden name=user><input type=hidden name=pass>
<input type=hidden name=domainname value="xxxx.sina.net">
<input type=hidden name=ssid>
<input type="hidden" name="curdomain">
<input type="hidden" name="outurl">
<table border=0 cellpadding=0 cellspacing=5>
        <tr><td>UserName:</td>  <td><input type=text name=username size=8>@xxxx.sina.net</td></tr>
        <tr><td>PassWord:</td>  <td><input type=password name=psw size=12></td></tr>
        <tr><td colspan=2 align=center><input type=submit value=" Login "> </td></tr>
</table>
</form>
<!-- mail.sina.net login form end. -->

三、搜狐企业邮箱登录代码:

<script>
<!--
function smchecksubmit() {
 var frm = document.forms['smlogin'];
 if (frm.elements['id'].value == '') {
  alert("请输入用户名");
  return false;
 }
 if (frm.elements['domain'].value == '') {
  alert("请输入域名");
  return false;
 }
 if (frm.elements['password'].value == '') {
  alert("请输入密码");
  return false;
 }
 // 根据是否采用ssl, 决定submit的目的地
 if (frm.ssl.checked) {
  frm.action = "https://mail.sohu.net/control/login";
 }
 return true;
}
 
function smforgetpass() {
 var frm = document.forms['smlogin'];
 if (frm.elements['domain'].value == '') {
  alert("请输入域名");
  return;
 }
 frm.action = "http://mail.sohu.net/control/forgetpass";
 frm.submit();
}
//-->
</script>
<table cellspacing=0 cellpadding=0 border=0 width=200 bgcolor=#ECFFC6 style="font-size: 13px">
  <form name=smlogin method=post action=http://mail.sohu.net/control/login onsubmit="return (smchecksubmit());" target=_self>
    <tr>
     <td style=" font-size:14px;font-weight:bold;color:white;background-color:#339F78;height:22px;padding-left:3px; " >登录搜狐企业邮箱系统</td>
    </tr>
    <tr>
     <td align=left style="padding: 0 0 5 10" height=25><b>用户</b></td>
    </tr>
    <tr>
     <td align=left style="padding-left: 10" height=20><input type=text name=id size=8 value="" style="font-size: 13px; height:22px;"><font style="font-size: 18px"><b>@</b></font>gmbj.com<input type=hidden name="domain" size="10" value="gmbj.com"></td>
    </tr>
    <tr>
     <td align=left style="padding-left: 10" height=20><b>口令</b></td>
    </tr>
    <tr>
     <td align=left style="padding-left: 10" height=25><input type=password name=password size=8 style="font-size: 13px; height:22px;"><input class=btn1 type=submit value=登录 style="font-size: 13px; background-color:#82D9B9;color:#002618;height:22px;"> <a href="#" onclick="smforgetpass()">忘记密码</a></td>
    </tr>
    <tr>
     <td align=left style="padding: 0 0 5 10" height=25><input type=checkbox name=ssl>使用<a href="http://mail.sohu.net/a/help/faq.html#https" target=_blank>安全连接</a></td>
    </tr>
  </form>
<table>

相关文章 热门文章
  • 玫琳凯成为腾讯最庞大的企业邮箱用户
  • 企业邮箱与垃圾邮件的战争
  • SaaS云服务体验:腾迅企业邮箱应用评测
  • 263G+多域管理功能创新 揭示企业邮箱新思路
  • 263G+企业邮箱的全面升级
  • 263新版webmail定义“专业”企业邮箱网页邮箱新标准
  • 263企业邮箱,证券行业通信定制化抢跑
  • 惊喜不断,“263G+”企业邮箱新功能前瞻
  • 263企业邮箱:一直被模仿,从未被超越
  • 专业企业邮箱解决方案的设计和执行者-专访263售前支持部经理金亨杰
  • 搜狐企业邮箱再度改版,精益求精可见一斑
  • 263网络通信CTO李宏宇畅谈企业邮箱“超大附件”的“前世
  • 网易免费企业邮箱使用初体验
  • 几家免费企业邮箱的简单评述
  • 企业邮局 我的域名我的邮局
  • 企业邮箱用户如何设置域名管理的MX指向
  • 做贸易用企业邮箱的好处
  • 用微软的新服务轻松架设电子邮局
  • Windows live免费邮局攻略
  • 如何选择企业邮箱?
  • 免费建立自己的电子邮局
  • 谈什么是企业邮局及其常见疑问
  • 集团邮箱 方便企业管理 提升企业形象
  • 电子邮件服务怎么实施?
  • 自由广告区
     
    最新软件下载
  • SharePoint Server 2010 部署文档
  • Exchange 2010 RTM升级至SP1 教程
  • Exchange 2010 OWA下RBAC实现的组功能...
  • Lync Server 2010 Standard Edition 标..
  • Lync Server 2010 Enterprise Edition...
  • Forefront Endpoint Protection 2010 ...
  • Lync Server 2010 Edge 服务器部署文档
  • 《Exchange 2003专家指南》
  • Mastering Hyper-V Deployment
  • Windows Server 2008 R2 Hyper-V
  • Microsoft Lync Server 2010 Unleashed
  • Windows Server 2008 R2 Unleashed
  • 今日邮件技术文章
  • 腾讯,在创新中演绎互联网“进化论”
  • 华科人 张小龙 (中国第二代程序员 QQ...
  • 微软推出新功能 提高Hotmail密码安全性
  • 快压技巧分享:秒传邮件超大附件
  • 不容忽视的邮件营销数据分析过程中的算..
  • 国内手机邮箱的现状与未来发展——访尚..
  • 易观数据:2011Q2中国手机邮箱市场收入..
  • 穿越时空的爱恋 QQ邮箱音视频及贺卡邮件
  • Hotmail新功能:“我的朋友可能被黑了”
  • 入侵邻居网络发骚扰邮件 美国男子被重..
  • 网易邮箱莫子睿:《非你莫属》招聘多过..
  • 中国电信推广189邮箱绿色账单
  • 最新专题
  • 鸟哥的Linux私房菜之Mail服务器
  • Exchange Server 2010技术专题
  • Windows 7 技术专题
  • Sendmail 邮件系统配置
  • 组建Exchange 2003邮件系统
  • Windows Server 2008 专题
  • ORF 反垃圾邮件系统
  • Exchange Server 2007 专题
  • ISA Server 2006 教程专题
  • Windows Vista 技术专题
  • “黑莓”(BlackBerry)专题
  • Apache James 专题
  • 分类导航
    邮件新闻资讯:
    IT业界 | 邮件服务器 | 邮件趣闻 | 移动电邮
    电子邮箱 | 反垃圾邮件|邮件客户端|网络安全
    行业数据 | 邮件人物 | 网站公告 | 行业法规
    网络技术:
    邮件原理 | 网络协议 | 网络管理 | 传输介质
    线路接入 | 路由接口 | 邮件存储 | 华为3Com
    CISCO技术 | 网络与服务器硬件
    操作系统:
    Windows 9X | Linux&Uinx | Windows NT
    Windows Vista | FreeBSD | 其它操作系统
    邮件服务器:
    程序与开发 | Exchange | Qmail | Postfix
    Sendmail | MDaemon | Domino | Foxmail
    KerioMail | JavaMail | Winwebmail |James
    Merak&VisNetic | CMailServer | WinMail
    金笛邮件系统 | 其它 |
    反垃圾邮件:
    综述| 客户端反垃圾邮件|服务器端反垃圾邮件
    邮件客户端软件:
    Outlook | Foxmail | DreamMail| KooMail
    The bat | 雷鸟 | Eudora |Becky! |Pegasus
    IncrediMail |其它
    电子邮箱: 个人邮箱 | 企业邮箱 |Gmail
    移动电子邮件:服务器 | 客户端 | 技术前沿
    邮件网络安全:
    软件漏洞 | 安全知识 | 病毒公告 |防火墙
    攻防技术 | 病毒查杀| ISA | 数字签名
    邮件营销:
    Email营销 | 网络营销 | 营销技巧 |营销案例
    邮件人才:招聘 | 职场 | 培训 | 指南 | 职场
    解决方案:
    邮件系统|反垃圾邮件 |安全 |移动电邮 |招标
    产品评测:
    邮件系统 |反垃圾邮件 |邮箱 |安全 |客户端
    广告联系 | 合作联系 | 关于我们 | 联系我们 | 繁體中文
    版权所有:邮件技术资讯网©2003-2010 www.5dmail.net, All Rights Reserved
    www.5Dmail.net Web Team   粤ICP备05009143号