⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 index.jsp

📁 一个简的javamail收发邮件功能
💻 JSP
字号:
<%@ page language="java" pageEncoding="GBK"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  
<html>
<head>
<title>登录邮箱</title>   
</head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<body bgcolor="#CFF1E1">

<center><h2>
登录邮箱
</h2></center>
<br>
 <% 
       String message = (String)session.getAttribute("message"); 
       session.removeAttribute("mailSession");
       session.removeAttribute("userConfig");
       session.removeAttribute("user_count");
       if(message!=null&&message.length()!=0){
       session.removeAttribute("message");%>
           <button color="BBFF88"><%=message %></button>
       <%}%>
<form Name="receform" action="..\mailweb.do?action=mailLoginCheck" method="post">   
<table width="70%" border="0" align="center">
  <tr>
    <td width="30%">邮件服务器:</td>
    <td width="70%" align="center">
    <select name="host">
        <option>请先择邮件服务器</option>
        <option value="pop3.163.com">163.com</option>
        <option value="pop3.sina.com">sina.com</option>
        <option value="pop3.sohu.com">sohu.com</option>
    </select>
      
    </td>
  </tr>
  <tr>
    <td width="30%">用户名:</td>
    <td width="70%" align="center">
      <input name="user">
    </td>
  </tr>
  <tr>
    <td width="30%">密  码</td>
    <td width="70%" align="center">
      <input type="password" name="password">
    </td>
  </tr>
  <tr>
    <td colspan=2 align="center">
        <input type="submit" value="进入我的邮箱">
     
    </td>
  </tr>
</table> 
</form>
    <p bgcolor="BBFF88">
     <h4> 注意:如果要查看163邮件,请提供在2006年11月之前申请的帐号登录,超过此期限的帐号,
      很可能不能登录......
      </h4>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -