sqwebmail收发邮件乱码的问题

由 hally 在 02-20-2004 18:45 发表:

sqwebmail收发邮件乱码的问题

我的sqwebmail邮件收发有乱码的情况。

乱码出现的情况主要在一行字符为75个时出现,76个正常

但是我找不到在什么地方修改。

求教高手。

参见文章:

http://www.douzhe.com/jh/14/134590.html


由 Snoopy 在 02-20-2004 20:44 发表:


取Qmail_setup包里的到这两目录里去,试下看看

cp en-us qmailadmin-1.0.6/html/en

cp en-us qmailadmin-1.0.6/html/en-us


And then in the evening light, when the bars of freedom fall

I watch the two of you in the shadows on the wall

How in the darkness steals some of the choices from my hand

Then will I begin to under


由 hally 在 02-21-2004 11:37 发表:

我用的是sqwebmin-3.5.3版本。还是不能解决问题。

下面是发送邮件的文件,怎样在里面的<发送>提交事件中添加文本检查脚本?

也就是前文说的判断每行是否为76个字节?

请高手指点!!!

  1<html>
  2<head>
  3<style type="text/css">   
  4  
  5  
  6  
  7<!--   
  8  
  9.font9 { font-family: "宋体"; font-size: 9pt; line-height: 14pt; text-decoration: none}   
 10  
 11a { font-family: "宋体"; font-size: 9pt; line-height: 14pt; color: #006699; text-decoration: none}   
 12  
 13table { font-family: "宋体"; font-size: 9pt; line-height: 14pt; color: #006699; text-decoration: none}   
 14  
 15input { font-family: "宋体"; font-size: 9pt; line-height: 14pt; color: #006699; text-decoration: none}   
 16  
 17a:hover { font-family: "宋体"; font-size: 9pt; line-height: 14pt; text-decoration: underline; color: #FF6600}   
 18  
 19\-->   
 20  
 21</style>
 22<title>Create Message</title>
 23<link href="[#ChinabigCSS#]" rel="stylesheet" type="text/css"/>
 24<meta content="amaya 6.4, see http://www.w3.org/Amaya/ " name="GENERATOR"/>
 25<meta content="TRUE" name="MSSmartTagsPreventParsing"/>
 26<!-- $Id: newmsg.html,v 1.35 2003/02/12 02:49:07 mrsam Exp $ -->
 27</head>
 28<body alink="#FF0000" bgcolor="#FFFFFF" leftmargin="0" link="#0000EF" text="#000000" topmargin="0" vlink="#0000EF">
 29<!--广告位开始-->
 30<table align="center" border="0" cellpadding="0" cellspacing="0" height="77" width="810">
 31<tbody>
 32<tr bgcolor="#ffffff">
 33<td bgcolor="#34699e" class="kuang" colspan="4" height="2"></td>
 34</tr>
 35<tr>
 36<td bgcolor="#769dc5" class="" height="87" width="154"><img height="100" src="/images/logspanst.gif" width="200"/></td>
 37<td bgcolor="#769dc5" class="" height="87" width="416"><img height="99" src="/images/adv02.gif" width="408"/></td>
 38<td bgcolor="#769dc5" class="" height="87" width="150"><img height="100" src="/images/loggecad.gif" width="201"/></td>
 39</tr>
 40<tr bgcolor="#ffffff">
 41<td bgcolor="#34699e" class="kuang" colspan="4" height="2"></td>
 42</tr>
 43</tbody>
 44</table>
 45<!--广告位结束-->
 46<!--导航工具条开始-->
 47<table align="center" bgcolor="#CCCCFF" border="0" cellpadding="0" cellspacing="0" height="22" width="810">
 48<tr bgcolor="#999999">
 49<td align="middle" height="16" valign="center" width="37"><font color="#666666"></font></td>
 50<td align="middle" bordercolor="#CCCCCC" height="16" valign="center" width="72">
 51<div align="center"><font color="#666666" size="-1"><a href="http://www.chinabig.com.cn" target="_blank">本站首页</a></font></div>
 52</td>
 53<td align="middle" height="16" valign="center" width="80">
 54<div align="center"><font color="#666666" size="-1"><a href="http://bbs.chinabig.com.cn/" target="_blank">贸易公告栏</a></font></div>
 55</td>
 56<td align="middle" height="16" valign="center" width="79">
 57<div align="center"><font color="#666666" size="-1"><a href="http://mail.chinabig.com.cn" target="_blank">邮件中心</a></font></div>
 58</td>
 59<td align="middle" height="16" valign="center" width="76">
 60<div align="center"><font color="#666666" size="-1"><a href="" target="_blank">产品介绍</a></font></div>
 61</td>
 62<td align="middle" height="16" valign="center" width="79">
 63<div align="center"><font color="#666666" size="-1"><a href="" target="_blank">论坛</a></font></div>
 64</td>
 65<td align="middle" height="16" valign="center" width="102">
 66<div align="center"><font color="#666666" size="-1"><a href="" target="_blank">支持与服务</a></font></div>
 67</td>
 68<td align="middle" height="16" valign="center" width="76">
 69<div align="center"><font color="#666666" size="-1"><a href="" target="_blank">客户留言</a></font></div>
 70</td>
 71<td align="middle" height="16" valign="center" width="76">
 72<div align="center"><font color="#666666" size="-1"><a href="" target="_blank">合作伙伴</a></font></div>
 73</td>
 74<td align="middle" colspan="3" height="16" valign="center">
 75<div align="center"><font color="#666666" size="-1"><a href="http://www.chinabig.com.cn/zhs/contact.htm" target="_blank">联系我们</a></font></div>
 76</td>
 77<td align="middle" height="16" valign="center" width="35"><font color="#666666"></font></td>
 78</tr>
 79<tbody> </tbody>
 80</table>
 81<!--导航工具条结束-->
 82<!--   
 83  
 84  
 85  
 86[#$DSPFMT_DATE=%d %b %Y, %I ![](http://linuxsir.zahui.net/html/11/http_3A/linuxsir.zahui.net/html/11/images/smilies/biglove.gif) M ![](http://linuxsir.zahui.net/html/11/http_3A/linuxsir.zahui.net/html/11/images/smilies/biglove.gif) S %p#]   
 87  
 88  
 89  
 90[#$TOLAB=收件人:#]   
 91  
 92[#$CCLAB=抄送:#]   
 93  
 94[#$BCCLAB=暗送:#]   
 95  
 96[#$SUBJECTLAB=主题:#]   
 97  
 98[#$MESSAGELAB=邮件内容:#]   
 99  
100[#$SENDLAB=立即发送#]   
101  
102[#$PREVIEWLAB=预览邮件#]   
103  
104[#$FORWARDLAB=----------转发邮件 ----------#]   
105  
106[#$SAVEDRAFT=保存邮件到草稿箱#]   
107  
108[#$ATTACHMENTS=%d 个附件#]   
109  
110[#$SALUTATION=%s writes:#]   
111  
112  
113  
114[#$QUOTAERR=<font color="#FF0000" size="+1" class="error">ERROR: You have exceeded your quota</font>#]   
115  
116[#$FROMLAB=发件人:#]   
117  
118[#$REPLYTOLAB=回复到:#]   
119  
120[#$ADDRESSBOOK=地址簿:#]   
121  
122  
123  
124[#$PRESERVELAB=保存到发件箱里#]   
125  
126[#$SIGNLAB=Sign message with: #]   
127  
128[#$ENCRYPTLAB=Encrypt message to: #]   
129  
130[#$PASSPHRASE=Passphrase (if required): #]   
131  
132[#$DSN=Request delivery confirmation receipt#]   
133  
134  
135  
136[#$ATTACHMENT=附件: %s#]   
137  
138  
139  
140[#$DISPATT=<FONT CLASS="message-attachment-link">显示</FONT>#]   
141  
142[#$DOWNATT=<FONT CLASS="message-attachment-link">下载</FONT>#]   
143  
144  
145  
146[#$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>#]   
147  
148  
149  
150\-->
151<script language="Javascript">   
152  
153<!--   
154  
155function init()   
156  
157{   
158  
159if (document.msg.focusto.value == "headers")   
160  
161{   
162  
163document.msg.headerto.focus();   
164  
165}   
166  
167}   
168  
169//-->   
170  
171  
172  
173  
174  
175  
176  
177  
178  
179  
180  
181  
182  
183</script>
184<center>
185<!-- Top Header -->
186<table align="center" cellpadding="0" cellspacing="1" height="18" width="810">
187<tbody>
188<tr bgcolor="#cccccc">
189<td align="left" valign="middle" width="60%">当前位置:撰写邮件[#d#]</td>
190<td align="middle" valign="middle" width="40%">邮件地址:[#G#]</td>
191</tr>
192</tbody>
193</table>
194<table align="center" cellpadding="0" cellspacing="1" width="810">
195<tbody>
196<tr valign="top" width="810">
197<td align="center" bgcolor="#EBF0FA" height="301" width="130"><!--   
198  
199  
200  
201Start navigation box   
202  
203  
204  
205  
206  
207\-->
208<!-- End of Top Header -->
209<!-- Sections. Folders, Create Messages, Preferences, Etc. -->   
210  
211[#include:navbar#]   
212  
213</td>
214<td align="center" bgcolor="#EBF0FA" height="301" width="680">
215<table border="0" cellpadding="0" cellspacing="0" width="95%">
216<tbody>
217<tr style="line-height: 0">
218<td align="left" valign="top">[#@bluetopleft.gif, width="11"   
219  
220height="11" alt="" border="0"@@#]</td>
221<td bgcolor="#99ccff" valign="middle" width="100%"></td>
222<td align="right" style="line-height: 0" valign="top">[#@bluetopright.gif, width="11" height="11" alt=""   
223  
224border="0"@@#]</td>
225</tr>
226<tr>
227<td bgcolor="#99ccff"></td>
228<td bgcolor="#99ccff" valign="middle" width="100%">
229<table border="0" width="100%">
230<tbody>
231<tr>
232<td align="left" valign="middle" width="100%">
233<form action="[#p#]" method="post" name="msg">   
234  
235[#P#][#W#]</form>
236</td>
237</tr>
238</tbody>
239</table>
240</td>
241<td bgcolor="#99ccff"></td>
242</tr>
243<tr style="line-height: 0">
244<td align="left" valign="bottom">[#@bluebottomleft.gif, width="11"   
245  
246height="11" alt="" border="0"@@#]</td>
247<td bgcolor="#99ccff" valign="middle"></td>
248<td align="right" valign="bottom">[#@bluebottomright.gif, width="11"   
249  
250height="11" alt="" border="0"@@#]</td>
251</tr>
252</tbody>
253</table>
254</td>
255</tr>
256</tbody>
257</table>
258</center>
259
260<p>[#B#]</p>
261<!--导航工具条开始-->
262<table align="center" bgcolor="#CCCCFF" border="0" cellpadding="0" cellspacing="0" height="22" width="810">
263<tr bgcolor="#999999">
264<td align="middle" height="16" valign="center" width="37"><font color="#666666"></font></td>
265<td align="middle" bordercolor="#CCCCCC" height="16" valign="center" width="72">
266<div align="center"><font color="#666666" size="-1"><a href="http://www.chinabig.com.cn" target="_blank">本站首页</a></font></div>   
267  
268&lt;/T</td></tr></table></body></html>
Published At
Categories with 服务器类
Tagged with
comments powered by Disqus