CnPack Forum


 
Subject: 邮件通知中的邮件标题的小问题
cdma3125
新警察
Rank: 1



UID 824
Digest Posts 0
Credits 23
Posts 23
点点分 23
Reading Access 10
Registered 2005-5-6
Status Offline
Post at 2005-5-16 19:23  Profile | Blog | P.M. 
邮件通知中的邮件标题的小问题

当邮件标题中文字符串太长时,收到的邮件标题有一多余的空行。

可在IdCoderHeader.pas中,把最后一行
Result := T;
修改成:
Result := stringreplace(T,chr(13)+char(10), '', [rfReplaceAll]);
Top
zjy
管理员
Rank: 9Rank: 9Rank: 9



UID 2
Digest Posts 6
Credits 2385
Posts 1543
点点分 2385
Reading Access 102
Registered 2002-12-16
Location China
Status Offline
Post at 2005-5-29 15:24  Profile | Site | Blog | P.M. 
修改 Indy 的代码不太合适吧?看来要等 Indy 升级了。




Zhou JingYu
CnPack Administrator
http://www.cnpack.org/
Top
cdma3125
新警察
Rank: 1



UID 824
Digest Posts 0
Credits 23
Posts 23
点点分 23
Reading Access 10
Registered 2005-5-6
Status Offline
Post at 2005-5-30 11:37  Profile | Blog | P.M. 
是的,很有道理。我们是否可以定义一个派生类,继承原来的类?
Top
 




All times are GMT++8, the time now is 2024-10-10 07:30

    本论坛支付平台由支付宝提供
携手打造安全诚信的交易社区 Powered by Discuz! 5.0.0  © 2001-2006 Comsenz Inc.
Processed in 0.027854 second(s), 7 queries , Gzip enabled

Clear Cookies - Contact Us - CnPack Website - Archiver - WAP