- <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
- <HTML>
- <HEAD>
- <META HTTP-EQUIV="Content-Type" content="text/html; charset=utf-8">
- <TITLE>WebEasyMail</TITLE>
- <link href="css/css.css" rel="stylesheet" type="text/css">
- </HEAD>
- <SCRIPT LANGUAGE=javascript>
- <!--
- function window_onload() {
- fm1.charSet.value = "gb2312";
- }
- function gosub() {
- if (fm1.ReMail.value != "" && remailisok() == false)
- {
- alert("回复地址填写错误");
- fm1.ReMail.focus();
- return ;
- }
- if (fm1.HintInfo.value != "" || fm1.AnswerInfo.value != "")
- {
- if (fm1.QuestionInfo.value == "")
- {
- alert("请填写 [帐号保护问题]");
- fm1.QuestionInfo.focus();
- return ;
- }
- }
- if (fm1.QuestionInfo.value != "" && fm1.AnswerInfo.value == "")
- {
- alert("请填写 [帐号保护答案]");
- fm1.AnswerInfo.focus();
- return ;
- }
- fm1.submit();
- }
- function remailisok() {
- var mailisok = true;
- var sp = fm1.ReMail.value.indexOf("@");
- if (sp == -1)
- mailisok = false;
- else
- {
- sp = fm1.ReMail.value.indexOf("@", sp + 1);
- if (sp != -1)
- mailisok = false;
- else
- {
- if (fm1.ReMail.value.charAt(0) == '@' || fm1.ReMail.value.charAt(fm1.ReMail.value.length - 1) == '@')
- {
- mailisok = false;
- }
- }
- }
- return mailisok;
- }
- //-->
- </SCRIPT>
- <BODY leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0" >
- <div style="overflow: auto;height:100%;width:100%;">
- <table width="100%" height="5%" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td width="11" height="11" > </td>
- <td > </td>
- </tr>
- </table>
- <table width="100%" height="95%" border="0" cellpadding="0" cellspacing="0" bgcolor="ECF4F5">
- <tr>
- <td valign="middle">
- <form method="post" action="style.asp" name="fm1">
- <table width="90%" border="0" align="center">
- <tr>
- <td>
- <div align="center">
- <table width="485" border="0" align="center" cellspacing="0" bgcolor="#EFF7FF" style="border-top:1px #8CA5B5 solid;">
- <tr>
- <td valign=center align=right bgcolor="#dbeaf5" style='border-bottom:1px #8CA5B5 solid;'
- height=30>
- <div align="right">Email的发信人 : </div>
- </td>
- <td align=left style='border-bottom:1px #8CA5B5 solid;'>
- <input type="text" name="MailName" class='textbox' value="" maxlength="256">
- </td>
- </tr>
- <tr>
- <td valign=center align=right bgcolor="#dbeaf5" style='border-bottom:1px #8CA5B5 solid;'
- height=30>
- <div align="right">使用HTML格式写邮件 : </div>
- </td>
- <td align=left style='border-bottom:1px #8CA5B5 solid;'>
- <input type="checkbox" name="enableRichEditer" value="checkbox" >
- 使用</td>
- </tr>
- <tr>
- <td valign=center align=right bgcolor="#dbeaf5" style='border-bottom:1px #8CA5B5 solid;'
- height=30>
- <div align="right">设定左帧图标风格 : </div>
- </td>
- <td align=left style='border-bottom:1px #8CA5B5 solid;'>
- <select name="ShowIcon" class="drpdwn">
- <option value='0' selected>标准风格图标</option><option value='1'>3D风格图标</option>
- </select>
- </td>
- </tr>
- <tr>
- <td valign=center align=right bgcolor="#dbeaf5" style='border-bottom:1px #8CA5B5 solid;'
- height=30>
- <div align="right">回复地址 : </div>
- </td>
- <td align=left style='border-bottom:1px #8CA5B5 solid;'>
- <input type="text" name="ReMail" class='textbox' value="" maxlength="256">
- </td>
- </tr>
- <tr>
- <td valign=center align=right bgcolor="#dbeaf5" style='border-bottom:1px #8CA5B5 solid;'
- height=30>
- <div align="right">发信后是否进行备份 : </div>
- </td>
- <td align=left style='border-bottom:1px #8CA5B5 solid;'>
- <input type="checkbox" name="enableBackupMail" value="checkbox" >
- 备份</td>
- </tr>
- <tr>
- <td valign=center align=right bgcolor="#dbeaf5" style='border-bottom:1px #8CA5B5 solid;'
- height=30>
- <div align="right">请选择缺省的签名 : </div>
- </td>
- <td align=left style='border-bottom:1px #8CA5B5 solid;'>
- <select name="defaultSign" class="drpdwn">
- <option value="-1" selected>不使用</option>
- </select>
- </td>
- </tr>
- <tr>
- <td valign=center align=right bgcolor="#dbeaf5" style='border-bottom:1px #8CA5B5 solid;'
- height=30>
- <div align="right">是否允许自动清理垃圾箱 : </div>
- </td>
- <td align=left style='border-bottom:1px #8CA5B5 solid;'>
- <input type="checkbox" name="enableAutoClear" value="checkbox" >
- 自动清理</td>
- </tr>
- <tr>
- <td valign=center align=right bgcolor="#dbeaf5" style='border-bottom:1px #8CA5B5 solid;'
- height=30>
- <div align="right">垃圾箱中超过多少天的邮件将被删除 : </div>
- </td>
- <td align=left style='border-bottom:1px #8CA5B5 solid;'>
- <input type="text" name="autoClearDays" class='textbox' value="15" size="4" maxlength="4">
- 天 </td>
- </tr>
- <tr>
- <td valign=center align=right width="50%" bgcolor="#dbeaf5" style='border-bottom:1px #8CA5B5 solid;'
- height=30>
- <div align="right">每页最多显示邮件数 : </div>
- </td>
- <td align=left width="50%" style='border-bottom:1px #8CA5B5 solid;'>
- <input type=radio value=10
- name=maxlist>
- 10封 <br>
- <input type=radio value=20 name=maxlist>
- 20封 <br>
- <input type=radio checked value=50 name=maxlist>
- 50封 <br>
- <input type=radio value=9999 name=maxlist>
- 无限</td>
- </tr>
- <tr>
- <td valign=center align=right bgcolor="#dbeaf5" style='border-bottom:1px #8CA5B5 solid;'
- height=30>
- <div align="right">回复时是否加入原信 : </div>
- </td>
- <td align=left style='border-bottom:1px #8CA5B5 solid;'>
- <input type=radio checked value=1 name=addo>
- 加入<br>
- <input type=radio value=0 name=addo>
- 不加入</td>
- </tr>
- <tr>
- <td valign=center align=right bgcolor="#dbeaf5" style='border-bottom:1px #8CA5B5 solid;'
- height=30>
- <div align="right">回复信头显示 : </div>
- </td>
- <td align=left style='border-bottom:1px #8CA5B5 solid;'>
- <input type=radio value=0 name=replyf>
- ><br>
- <input type=radio checked value=1 name=replyf>
- Re:<br>
- <input type=radio value=2 name=replyf>
- 回复:</td>
- </tr>
- <tr>
- <td valign=center align=right width="50%" bgcolor="#dbeaf5" style='border-bottom:1px #8CA5B5 solid;'
- height=30>
- <div align="right">删除邮件后的操作 : </div>
- </td>
- <td align=left width="50%" style='border-bottom:1px #8CA5B5 solid;'>
- <input type=radio checked value="0" name="delproc">
- 跳转到文件夹<br>
- <input type=radio value="1" name="delproc">
- 跳转到下一封邮件<br>
- </tr>
- <tr>
- <td valign=center align=right bgcolor="#dbeaf5" style='border-bottom:1px #8CA5B5 solid;'
- height=30>
- <div align="right">发信语言设置 : </div>
- </td>
- <td align=left style='border-bottom:1px #8CA5B5 solid;'>
- <select name="charSet" class="drpdwn">
- <option value="gb2312">汉语(GB2312)</option>
- <option value="big5">汉语(BIG5)</option>
- <option value="iso-8859-1">英语(ISO-8859-1)</option>
- <option value="euc-jp">日语(EUC-JP)</option>
- <option value="shift-jis">日语(SHIFT-JIS)</option>
- <option value="iso-2022-jp">日语(ISO-2022-JP)</option>
- <option value="euc-kr">韩语(EUC-KR)</option>
- <option value="iso-2022-kr">韩语(ISO-2022-KR)</option>
- <option value="chn-utf-8">Unicode(UTF-8)</option>
- <option value="gb2312_iso-2022-cn">汉语(ISO-2022-CN)</option>
- </select>
- </td>
- </tr>
- <tr>
- <td valign=center align=right bgcolor="#dbeaf5" style='border-bottom:1px #8CA5B5 solid;'
- height=30>
- <div align="right">缺省时展开文件夹 : </div>
- </td>
- <td align=left style='border-bottom:1px #8CA5B5 solid;'>
- <input type="checkbox" name="expandFolder" value="checkbox" checked> 展开
- </td>
- </tr>
- <tr>
- <td valign=center align=right bgcolor="#dbeaf5" style='border-bottom:1px #8CA5B5 solid;'
- height=30>
- <div align="right">缺省时展开共享文件夹 : </div>
- </td>
- <td align=left style='border-bottom:1px #8CA5B5 solid;'>
- <input type="checkbox" name="expandShareFolder" value="checkbox" > 展开
- </td>
- </tr>
- <tr>
- <td valign=center align=right bgcolor="#dbeaf5" style='border-bottom:1px #8CA5B5 solid;'
- height=30>
- <div align="right">缺省时展开公共文件夹 : </div>
- </td>
- <td align=left style='border-bottom:1px #8CA5B5 solid;'>
- <input type="checkbox" name="expandPublicFolder" value="checkbox" > 展开
- </td>
- </tr>
- <tr>
- <td valign=center align=right bgcolor="#dbeaf5" style='border-bottom:1px #8CA5B5 solid;'
- height=30>
- <div align="right">帐号保护问题(如:小时候最崇拜的英雄) : </div>
- </td>
- <td align=left style='border-bottom:1px #8CA5B5 solid;'>
- <input type="text" name="QuestionInfo" class='textbox' value="" maxlength="256">
- </td>
- </tr>
- <tr>
- <td valign=center align=right bgcolor="#dbeaf5" style='border-bottom:1px #8CA5B5 solid;'
- height=30>
- <div align="right">帐号保护答案(如:我的父亲) : </div>
- </td>
- <td align=left style='border-bottom:1px #8CA5B5 solid;'>
- <input type="text" name="AnswerInfo" class='textbox' value="" maxlength="256">
- </td>
- </tr>
- <tr>
- <td valign=center align=right bgcolor="#dbeaf5" style='border-bottom:1px #8CA5B5 solid;'
- height=30>
- <div align="right">帐号保护提示信息(如:是家庭成员) : </div>
- </td>
- <td align=left style='border-bottom:1px #8CA5B5 solid;'>
- <input type="text" name="HintInfo" class='textbox' value="" maxlength="256">
- </td>
- </tr>
- <tr>
- <td valign=center align=right bgcolor=#ffffff
- height=40 colspan="2"><br>
- <div align="right">
- <input type="button" value=" 保存 " onClick="javascript:gosub()" class="Bsbttn">
- <input type="button" value=" 取消 " onClick="javascript:location.href='viewmailbox.asp?GRSN=7883264';" class="Bsbttn">
- </div>
- </td>
- </tr>
- </table>
- </div>
- </td>
- </tr>
- </table>
- </Form>
- </td>
- </tr>
- </table>
- </div>
- </BODY>
- </HTML>