📄 emailinfo.jsp
字号:
<%@page contentType="text/html; charset=UTF-8"%>
<%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%
response.setHeader("Cache-Control", "no-cache");
response.setHeader("Pragma", "no-cache");
%>
<html:xhtml/>
<table width="100%" border="0" cellpadding="5" cellspacing="0">
<html:form action="/adminEmailSet">
<html:hidden property="action"/>
<tr>
<td colspan="2" class="td1">
<strong>使用 Email 功能?</strong>
</td>
</tr>
<tr>
<td width="60%">打开 Email 发送功能。
<br>
例如用户发送举报邮件、给用户发送回复通知等。
</td>
<td width="40%" valign="top">
<html:radio property="useEmail" value="0"/>
否
<html:radio property="useEmail" value="1"/>
是
</td>
</tr>
<tr>
<td colspan="2" class="td1">
<strong>SMTP服务器是否需要验证</strong>
</td>
</tr>
<tr>
<td>如果使用的SMTP服务器需要用户验证,请选择“是”</td>
<td>
<html:radio property="smtpAuth" value="0"/>
否
<html:radio property="smtpAuth" value="1"/>
是
</td>
</tr>
<tr>
<td colspan="2" class="td1">
<strong>SMTP服务器主机/IP</strong>
</td>
</tr>
<tr>
<td>请在这里填写SMTP服务器的主机名或者IP</td>
<td>
<html:text property="smtpServer" styleId="smtpServer" styleClass="input2" size="40"/>
</td>
</tr>
<tr>
<td colspan="2" class="td1">
<strong>SMTP服务器端口</strong>
</td>
</tr>
<tr>
<td>请在这里填写SMTP服务器的端口</td>
<td>
<html:text property="smtpPort" styleId="smtpPort" styleClass="input2" size="40"/>
</td>
</tr>
<tr>
<td colspan="2" class="td1">
<strong>SMTP服务器用户名</strong>
</td>
</tr>
<tr>
<td>如果使用的SMTP服务器需要认证,请在这里填写其用户名</td>
<td>
<html:text property="smtpUser" styleId="smtpUser" styleClass="input2" size="40"/>
</td>
</tr>
<tr>
<td colspan="2" class="td1">
<strong>SMTP服务器密码</strong>
</td>
</tr>
<tr>
<td>如果使用的SMTP服务器需要认证,请在这里填写其密码</td>
<td>
<html:password property="smtpPasswd" styleId="smtpPasswd" styleClass="input2" size="40"/>
</td>
</tr>
<tr>
<td colspan="2" class="td1">
<strong>发件人邮件地址</strong>
</td>
</tr>
<tr>
<td>显示在接受者邮件中的“发件人”,注意邮件服务器要求发件人与SMTP用户必须一致。</td>
<td valign="top">
<html:text property="senderEmail" styleId="senderEmail" styleClass="input2" size="40"/>
</td>
</tr>
<tr>
<td colspan="2">
<div align="center">
<html:button property="Submit" onclick="adminEmailSetAction();" styleClass="button2">保存</html:button>
</div>
</td>
</tr>
</html:form>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -