域名频道-专业提供域名注册,网站空间,集团邮局等服务
    [ ICP备案专题 ]  
 
首页 域名注册 虚拟主机 海外主机 VPS主机 网店主机 集团邮局 应用服务 网站建设 软件开发 客户中心
如何设置Outlook
 
Outlook设置演示
如何设置Foxmail
 
Foxmail设置演示
CuteFtp的使用方法
 
CuteFTP设置演示
PASV 模式设置演示
FlashFXP设置演示
FlashFXP(中文)演示
数据库连接
 
连接SQL Server数据库
Mysql数据库管理方法
虚拟主机使用注意事项
 
使用php注意事项
使用jsp注意事项
使用servlet注意事项
使用perl注意事项
使用jmail注意事项
使用upload注意事项
使用fso注意事项
ASP实现 URL 转发
如何进行网站备案
   
  当前位置:首页 > 帮助信息 > 集团邮箱登陆代码
 

很多使用域名频道邮局的客户希望将电子邮箱的登陆界面整合到自己网站的某个网页中,以方便电子邮箱所有者的登陆使用,现我司将电子邮箱登陆的HTML代码整理如下,希望对这些朋友有所帮助。
您只需要将以下代码复制到需要放置电子邮箱的登陆界面的网页代码中即可。
注:必须将document.loginform.action的值修改为您邮局的真实URL,如“http://mail.您的域名/src/redirect.php”
点击查看电子邮箱登陆页面测试

 
<table border="0" align="center" cellpadding="5" cellspacing="0">
<SCRIPT LANGUAGE="JavaScript">
<!--
function changeIn()
{
// document.loginform.login_username.value = document.loginform.username.value + "dns110.com";
// document.loginform.action 必须修改为你邮局相对应的URL
document.loginform.login_username.value = document.loginform.username.value +'@'+document.loginform.domain.value;
document.loginform.secretkey.value = document.loginform.password.value;
document.loginform.js_autodetect_results.value = "SMPREF_JS_OFF";
document.loginform.just_logged_in.value = "1";
document.loginform.action = "http://mail.dns110.com/src/redirect.php";
document.loginform.submit();
}
//-->
</SCRIPT>
<form action="" name="loginform" method="post" onsubmit="return changeIn()">
<input type="hidden" name="js_autodetect_results" value="SMPREF_JS_OFF">
<input type="hidden" name="just_logged_in" value="1">
<input type="hidden" name="login_username">
<input type="hidden" name="secretkey">
<tr>
<td>用户名:</td>
<td><input maxlength=64 size=12 name=username value=""></td>
<td>@<input name=domain value="dns110.com" size=12 maxlength=64></td>
</tr>
<tr>
<td>密&nbsp;&nbsp;码:</td>
<td><input maxlength=32 size=12 name="password" type="password" value=""></td>
<td><input name="submit" type=submit value="登录"></td>
</tr>
</form></table>
 
点击查看电子邮箱登陆页面测试
 
 
关于我们 联系方式 付款事宜 价格总览 代理专区 网站地图 虚拟主机 法律顾问 常见问题 友情链接

Copyright 2000-2013  域名频道(www.DNS110.com) 版权所有
地址:上海市松江区荣乐东路2369弄18号 邮编:201620
客服电话: 021-67899136  值班电话:17317360079 传真: 转分机805
在线QQ咨询:219854 QQ交流  714658643 QQ交流  MSN:chenlh@dns110.com   Email:support@dns110.com