将原网站的邮箱登录部分的<form>...</form>内的原代码拷贝到自己的网页上(可能还有其它的表单检测的JS脚本),将form的action改为绝对地址(如http://www.xxx.com/mailaction.jsp;
注意保持表单域中各input的name、ID等属性不变

解决方案 »

  1.   

    liuxiaoyi666(兔子,用好了GOOGLE才能了解CSDN) 
    直接出去!怎么实现?谢谢!
      

  2.   

    将这段代码复制到你的网页上
    <form method=POST action="http://entry.126.com/cgi/login" name="form">
      <input name="domain" type=hidden value="126.com">
      <input name="language" type=hidden value="0">
      <input name="bCookie" type=hidden value="">
            <tr>
              <td class="p4 fnw"> 用户名:<input name="user" type="text" size="16" maxlength=30 tabindex=1></td>
            </tr>
            <tr> 
              <td class="p4 fnw"> 密 码:<input name="pass" type="password" size="16" tabindex=2></td>
            </tr>
            <tr> 
              <td class="p4 fnw"> 风 格:<script>fInitStyle();</script></td>
            </tr>
    <tr> 
              <td class="fnw"><span style="width:20"></span><input type="checkbox" name="remUser">记住用户名 <input type="checkbox" name="secure" checked>增强安全性<br>
    </td>
            </tr>
    <script>fInitUser();</script>
            <tr> 
              <td align="right" class="p4 fnw"><br>
                <input type="submit" name="enter.x" value="登 录" tabindex=4>
    </form>
      

  3.   

    这个必须在服务器端实现,在asp上一般用CDO
      

  4.   

    谢谢,各位的帮助!
    谢谢:ice_berg16(寻梦的稻草人) !
    问题解决了!结帖!