狠狠网/色综合久久久久综合体桃花网/日本护士三aaaaaa/久久久久久综合一区中文字幕

或者

企業郵局在網站中直接登陸代碼

作者:一抹淺笑 瀏覽:160 發布時間:2018-03-19
分享 評論 0

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

企業郵箱

<html>

<body>

<title>歡迎使用3.0郵局系統</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>