?? sendmail.asp
字號:
<%@language=vbscript codepage=936 %>
<!--#include file="conn.asp"-->
<!--#include file="admin.asp"-->
<%
set rs=server.createobject("adodb.recordset")
sql="select * from maildefault order by id desc"
rs.open sql,conn,1,1
%>
<!-- #include file="Inc/Head.asp" -->
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="862" align="center" valign="top"><br>
<b>發 送 郵 件</b> <br> <form name="sendmail" action="sendmailto.asp" method="post" >
<table width="560" border="0" align="center" cellpadding="0" cellspacing="2" bgcolor="#ECF5FF">
<tr>
<td height="25" bgcolor="#A4B6D7">
<div align="center"><font color="#000000">發信人地址:</font></div></td>
<td height="30">
<input type="text" name="frommail" value="<%=rs("frommail")%>">
</td>
</tr>
<tr>
<%email=request("email")%>
<td bgcolor="#A4B6D7">
<div align="center"><font color="#000000">收信人地址:</font></div></td>
<td>
<input name="tomail" type="text" value="<%=email%>">
<br>
<br> <font color="#000000">(如果為空,從數據庫取地址群發!) </font></td>
</tr>
<tr>
<td bgcolor="#A4B6D7">
<div align="center"><font color="#000000">信件標題:</font></div></td>
<td>
<input type="text" name="mailsubject" size="50">
<br> <br> <font color="#000000">(如果為空,則顯示<font color="#FF0000">“<%=rs("mailsubject")%>”</font>!) </font></td>
</tr>
<tr>
<td bgcolor="#A4B6D7">
<div align="center"><font color="#000000">信件內容:</font></div></td>
<td>
<textarea name="mailbody" cols="50" rows="8"></textarea>
<br> <br> </td>
</tr>
<tr>
<td height="25" bgcolor="#A4B6D7">
<div align="center"></div></td>
<td height="22">
<input type="submit" name="Submit" value="發送">
<input type="reset" name="Submit" value="取消"> <input type="hidden" name="action" value="我發">
</td>
</tr>
</table>
</form></td>
</tr>
</table>
<!-- #include file="Inc/Foot.asp" -->
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -