|
|

楼主 |
发表于 2004-2-21 11:37:34
|
显示全部楼层
我用的是sqwebmin-3.5.3版本。还是不能解决问题。
下面是发送邮件的文件,怎样在里面的<发送>提交事件中添加文本检查脚本?
也就是前文说的判断每行是否为76个字节?
请高手指点!!!
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<style type="text/css">
<!--
.font9 { font-family: "宋体"; font-size: 9pt; line-height: 14pt; text-decoration: none}
a { font-family: "宋体"; font-size: 9pt; line-height: 14pt; color: #006699; text-decoration: none}
table { font-family: "宋体"; font-size: 9pt; line-height: 14pt; color: #006699; text-decoration: none}
input { font-family: "宋体"; font-size: 9pt; line-height: 14pt; color: #006699; text-decoration: none}
a:hover { font-family: "宋体"; font-size: 9pt; line-height: 14pt; text-decoration: underline; color: #FF6600}
-->
</style>
<title>Create Message</title>
<link rel="stylesheet" type="text/css" href="[#ChinabigCSS#]">
<meta name="GENERATOR" content="amaya 6.4, see http://www.w3.org/Amaya/">
<meta name="MSSmartTagsPreventParsing" content="TRUE">
<!-- $Id: newmsg.html,v 1.35 2003/02/12 02:49:07 mrsam Exp $ -->
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#0000EF" vlink="#0000EF"
alink="#FF0000" leftmargin="0" topmargin="0">
<!--广告位开始-->
<TABLE align=center border=0 cellPadding=0 cellSpacing=0 width=810 height="77">
<TBODY>
<TR bgcolor=#ffffff>
<TD bgcolor=#34699e class=kuang colSpan=4 height=2></TD>
</TR>
<TR>
<TD bgcolor=#769dc5 class="" height=87 width=154><img src="/images/logspanst.gif" width="200" height="100"></TD>
<TD bgcolor=#769dc5 class="" height=87 width=416><img src="/images/adv02.gif" width="408" height="99"></TD>
<TD bgcolor=#769dc5 class="" height=87 width=150><img src="/images/loggecad.gif" width="201" height="100"></TD>
</TR>
<TR bgcolor=#ffffff>
<TD bgcolor=#34699e class=kuang colSpan=4 height=2></TD>
</TR>
</TBODY>
</TABLE>
<!--广告位结束-->
<!--导航工具条开始-->
<TABLE align=center border=0 cellPadding=0 cellSpacing=0 width=810 height="22" bgcolor="#CCCCFF">
<TR bgcolor="#999999">
<TD align=middle height=16 vAlign=center width="37"><font color="#666666"></font></TD>
<TD align=middle height=16 vAlign=center width="72" bordercolor="#CCCCCC">
<div align="center"><font size="-1" color="#666666"><a href="http://www.chinabig.com.cn" target="_blank">本站首页</a></font></div>
</TD>
<TD align=middle height=16 vAlign=center width="80">
<div align="center"><font size="-1" color="#666666"><a href="http://bbs.chinabig.com.cn/" target="_blank">贸易公告栏</a></font></div>
</TD>
<TD align=middle height=16 vAlign=center width="79">
<div align="center"><font size="-1" color="#666666"><a href="http://mail.chinabig.com.cn" target="_blank">邮件中心</a></font></div>
</TD>
<TD align=middle height=16 vAlign=center width="76">
<div align="center"><font size="-1" color="#666666"><a href="" target="_blank">产品介绍</a></font></div>
</TD>
<TD align=middle height=16 vAlign=center width="79">
<div align="center"><font size="-1" color="#666666"><a href="" target="_blank">论坛</a></font></div>
</TD>
<TD align=middle height=16 vAlign=center width="102">
<div align="center"><font size="-1" color="#666666"><a href="" target="_blank">支持与服务</a></font></div>
</TD>
<TD align=middle height=16 vAlign=center width="76">
<div align="center"><font size="-1" color="#666666"><a href="" target="_blank">客户留言</a></font></div>
</TD>
<TD align=middle height=16 vAlign=center width="76">
<div align="center"><font size="-1" color="#666666"><a href="" target="_blank">合作伙伴</a></font></div>
</TD>
<TD align=middle height=16 vAlign=center colspan="3">
<div align="center"><font size="-1" color="#666666"><a href="http://www.chinabig.com.cn/zhs/contact.htm" target="_blank">联系我们</a></font></div>
</TD>
<TD align=middle height=16 vAlign=center width="35"><font color="#666666"></font></TD>
</TR>
<TBODY> </TBODY>
</TABLE>
<!--导航工具条结束-->
<!--
[#$DSPFMT_DATE=%d %b %Y, %I:%M:%S %p#]
[#$TOLAB=收件人:#]
[#$CCLAB=抄送:#]
[#$BCCLAB=暗送:#]
[#$SUBJECTLAB=主题:#]
[#$MESSAGELAB=邮件内容:#]
[#$SENDLAB=立即发送#]
[#$PREVIEWLAB=预览邮件#]
[#$FORWARDLAB=----------转发邮件 ----------#]
[#$SAVEDRAFT=保存邮件到草稿箱#]
[#$ATTACHMENTS=%d 个附件#]
[#$SALUTATION=%s writes:#]
[#$QUOTAERR=<font color="#FF0000" size="+1" class="error">ERROR: You have exceeded your quota</font>#]
[#$FROMLAB=发件人:#]
[#$REPLYTOLAB=回复到:#]
[#$ADDRESSBOOK=地址簿:#]
[#$PRESERVELAB=保存到发件箱里#]
[#$SIGNLAB=Sign message with: #]
[#$ENCRYPTLAB=Encrypt message to: #]
[#$PASSPHRASE=Passphrase (if required): #]
[#$DSN=Request delivery confirmation receipt#]
[#$ATTACHMENT=附件: %s#]
[#$DISPATT=<FONT CLASS="message-attachment-link">显示</FONT>#]
[#$DOWNATT=<FONT CLASS="message-attachment-link">下载</FONT>#]
[#$KEY=<table border=0 bgcolor="#000000" cellpadding=1><tr><td><table border=0 cellspacing=0 cellpadding=8 bgcolor="#EEEEEE"><tr><td>Encryption key</td></tr></table></td></tr></table>#]
-->
<script language="Javascript">
<!--
function init()
{
if (document.msg.focusto.value == "headers")
{
document.msg.headerto.focus();
}
}
//-->
</script>
<center>
<!-- Top Header -->
<table cellspacing="1" cellpadding="0" width="810" height="18" align="center">
<tbody>
<tr bgcolor="#cccccc">
<td align="left" width="60%" valign="middle"
>当前位置:撰写邮件[#d#]</td>
<td align="middle" width="40%" valign="middle">邮件地址:[#G#]</td>
</tr>
</tbody>
</table>
<table cellspacing="1" cellpadding="0" width="810" align="center">
<tbody>
<tr width="810" valign="top">
<td width="130" height="301" bgcolor="#EBF0FA" align="center"><!--
Start navigation box
-->
<!-- End of Top Header -->
<!-- Sections. Folders, Create Messages, Preferences, Etc. -->
[#include:navbar#]
</td>
<td width="680" height="301" bgcolor="#EBF0FA" align="center">
<table cellpadding="0" cellspacing="0" border="0" width="95%">
<tbody>
<tr style="line-height: 0">
<td align="left" valign="top">[#@bluetopleft.gif, width="11"
height="11" alt="" border="0"@@#]</td>
<td bgcolor="#99ccff" valign="middle" width="100%"></td>
<td style="line-height: 0" align="right"
valign="top">[#@bluetopright.gif, width="11" height="11" alt=""
border="0"@@#]</td>
</tr>
<tr>
<td bgcolor="#99ccff"></td>
<td bgcolor="#99ccff" valign="middle" width="100%">
<table width="100%" border="0">
<tbody>
<tr>
<td align="left" width="100%" valign="middle">
<form method="post" name="msg" action="[#p#]">
[#P#][#W#]</form>
</td>
</tr>
</tbody>
</table>
</td>
<td bgcolor="#99ccff"></td>
</tr>
<tr style="line-height: 0">
<td align="left" valign="bottom">[#@bluebottomleft.gif, width="11"
height="11" alt="" border="0"@@#]</td>
<td bgcolor="#99ccff" valign="middle"></td>
<td align="right" valign="bottom">[#@bluebottomright.gif, width="11"
height="11" alt="" border="0"@@#]</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</center>
</center>
<p>[#B#]</p>
<!--导航工具条开始-->
<TABLE align=center border=0 cellPadding=0 cellSpacing=0 width=810 height="22" bgcolor="#CCCCFF">
<TR bgcolor="#999999">
<TD align=middle height=16 vAlign=center width="37"><font color="#666666"></font></TD>
<TD align=middle height=16 vAlign=center width="72" bordercolor="#CCCCCC">
<div align="center"><font size="-1" color="#666666"><a href="http://www.chinabig.com.cn" target="_blank">本站首页</a></font></div>
</TD>
<TD align=middle height=16 vAlign=center width="80">
<div align="center"><font size="-1" color="#666666"><a href="http://bbs.chinabig.com.cn/" target="_blank">贸易公告栏</a></font></div>
</TD>
<TD align=middle height=16 vAlign=center width="79">
<div align="center"><font size="-1" color="#666666"><a href="http://mail.chinabig.com.cn" target="_blank">邮件中心</a></font></div>
</TD>
<TD align=middle height=16 vAlign=center width="76">
<div align="center"><font size="-1" color="#666666"><a href="" target="_blank">产品介绍</a></font></div>
</TD>
<TD align=middle height=16 vAlign=center width="79">
<div align="center"><font size="-1" color="#666666"><a href="" target="_blank">论坛</a></font></div>
</TD>
<TD align=middle height=16 vAlign=center width="102">
<div align="center"><font size="-1" color="#666666"><a href="" target="_blank">支持与服务</a></font></div>
</TD>
<TD align=middle height=16 vAlign=center width="76">
<div align="center"><font size="-1" color="#666666"><a href="" target="_blank">客户留言</a></font></div>
</TD>
<TD align=middle height=16 vAlign=center width="76">
<div align="center"><font size="-1" color="#666666"><a href="" target="_blank">合作伙伴</a></font></div>
</TD>
<TD align=middle height=16 vAlign=center colspan="3">
<div align="center"><font size="-1" color="#666666"><a href="http://www.chinabig.com.cn/zhs/contact.htm" target="_blank">联系我们</a></font></div>
</TD>
<TD align=middle height=16 vAlign=center width="35"><font color="#666666"></font></TD>
</TR>
<TBODY> </TBODY>
</TABLE>
<!--导航工具条结束-->
<!--信息栏开始-->
<TABLE align=center border=0 cellPadding=0 cellSpacing=0 width=810 height="48">
<TR>
<TD align=left bgcolor=#769dc5 vAlign=bottom width=122> </TD>
<TD align=middle bgcolor=#769dc5 width=542>
<div align="center"><font color="#FFFFFF">Copyright@chinabig.com.cn.All Rights
Reserved </font></div>
</TD>
<TD align=right bgcolor=#769dc5 vAlign=bottom width=146> </TD>
</TR>
<TR>
<TD align=left bgcolor=#769dc5 vAlign=bottom width=122> </TD>
<TD align=middle bgcolor=#769dc5 width=542>
<div align="center"><font color="#FFFFFF">联通黄页信息有限公司 </font></div>
</TD>
<TD align=right bgcolor=#769dc5 vAlign=bottom width=146> </TD>
</TR>
<TBODY>
<TR>
<TD align=left bgcolor=#769dc5 vAlign=bottom width=122> </TD>
<TD align=middle bgcolor=#769dc5 width=542>
<div align="center"><font color="#FFFFFF">如有任何疑问请E_mail至tech@chinabig.com.cn
</font></div>
</TD>
<TD align=right bgcolor=#769dc5 vAlign=bottom width=146> </TD>
</TR>
</TBODY>
</TABLE>
<!--信息栏结束-->
</body>
</html> |
|