尤物视频在线观看|国产尤物视频在线观看|99热在线获取最新地址,久久频这里精品99香蕉久,国产色婷婷精品综合在线,亚洲欧美日韩高清在线看

企業(yè)郵局在網(wǎng)站中直接登陸代碼

作者:一抹淺笑 瀏覽:160 發(fā)布時(shí)間:2018-03-19
分享 評論 0

現(xiàn)在有些公司為了提升自己的企業(yè)形象,是有購買企業(yè)郵局的。但是有一個(gè)頭疼的問題來了,如何能讓員工通過企業(yè)官方的網(wǎng)站直接登陸進(jìn)入自己的企業(yè)郵箱呢?我司的3.0版郵局是有支持網(wǎng)站首頁登陸的,下面實(shí)創(chuàng)科技就分享一下相關(guān)的代碼,大家只要將mail.2776.net替換成自己的企業(yè)郵局的地址即可。

企業(yè)郵箱

<html>

<body>

<title>歡迎使用3.0郵局系統(tǒng)</title>

<script>

function c35login(){

        var username  = document.getElementById("username").value;

        if (username == null || username==''){

          return;

        }

        var password  = document.getElementById("password").value;        

        if (password == null || password==''){

          return;

        }

        if ( username.indexOf("@")==-1){

          return;

        }

        var domain = username.split("@")[1];

        document.getElementById("service").value='http://mail.'+domain+'/Sofia.jsp';

        document.getElementById("c35loginform").submit();

}

</script>

<div class="loginform">

        <form id="c35loginform" name="35.cn" action="http://mail.2776.net/accounts/verifylogin" method="post">

        <input type="hidden" id="service" name="service" value="" />        

        <input type="hidden" id="system" name="system" value="mail" />

                <table align="center" border="0" cellpadding="0" cellspacing="0">

                        <tr>

                                <th align="right">用戶名</th>

                                <td><input id="username" name="username" type="text" maxlength="50" tabindex="1" autocomplete="off" value="" class="login_input"><font font="12px"> &nbsp;(請輸入全稱如:user@2776.net)</font></td>

                        </tr>

                        <tr>

                                <th align="right">密碼</th>

                                <td><input id="password" name="password" type="password" tabindex="2" class="login_input" style="font-size:18px;"></td>

                        </tr>

                        <tr>

                <th></th>

                                <td><input type="button" value="登錄" onclick="c35login();" class="login_btn"></td>

                        </tr>

                </table>

        </form>

</div>

</body>

</html>