51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 5970|回复: 17
打印 上一主题 下一主题

[求助] 求助:TD8.0中邮件标题过长导致邮件无法显示

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2006-2-17 10:32:08 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式


环境为 TD8.0+Imail(POP3+SMTP服务器)+Foxmail(邮件客户端)

当BUG的标题超过22个字符出现就无法正确显示Html

[ 本帖最后由 zhanzhan 于 2006-2-17 10:34 编辑 ]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?(注-册)加入51Testing

x
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
 楼主| 发表于 2006-2-17 11:07:01 | 只看该作者
不知道大家在使用过程中是否碰到


刚才测试过,使用Imail发信功能,可以发送100个中文字符标题的邮件

而使用TD本身的则只能发送22个中文字符标题的邮件
回复 支持 反对

使用道具 举报

该用户从未签到

3#
 楼主| 发表于 2006-2-17 11:39:29 | 只看该作者
难道大家在实际使用过程中都没有碰到这个问题?
回复 支持 反对

使用道具 举报

该用户从未签到

4#
发表于 2006-3-20 14:43:50 | 只看该作者
我没有碰到过,只是自动发邮件不成功.
回复 支持 反对

使用道具 举报

该用户从未签到

5#
发表于 2006-3-20 20:39:27 | 只看该作者
哦,主题还真没有这么长的设过,刚才测了测,没错.我这里也是显示22个汉字.
应该可以解决的吧,大家互相探索一下
回复 支持 反对

使用道具 举报

该用户从未签到

6#
发表于 2006-4-26 09:34:00 | 只看该作者
这个问题确实存在,有解决办法吗?
回复 支持 反对

使用道具 举报

该用户从未签到

7#
发表于 2006-9-14 18:56:26 | 只看该作者
我也遇到这个问题了。
回复 支持 反对

使用道具 举报

该用户从未签到

8#
发表于 2006-9-19 10:30:16 | 只看该作者
我都是尽量不让他超过这个字符
回复 支持 反对

使用道具 举报

该用户从未签到

9#
发表于 2006-11-28 16:11:57 | 只看该作者
我也碰到过,但是手动发送是没有问题的。
回复 支持 反对

使用道具 举报

该用户从未签到

10#
发表于 2007-1-25 15:21:26 | 只看该作者

如果解决的话

如果解决的话,请发出来共享一下了sdlkfj5
回复 支持 反对

使用道具 举报

该用户从未签到

11#
发表于 2007-2-28 09:29:34 | 只看该作者
How to modify the subject line of automatic e-mails for TestDirector 8.0 ?
The subject line of automatic e-mail is constructed from the description of the defect that it is sending. In some cases, users would need to change that subject line because it might not suit their needs or some special characters cannot be displayed properly if they appear in the defect's description. Can the subject line be modified through TestDirector?
Notes:
•  The following solution does not work for manual mail.

Solution: Add a section to mercury.ini that will allow customization of Auto Mail
You can add a section to the mercury.ini file on the TestDirector server that will allow you to define the subject line of any automatic e-mail on a per project basis.
1. Click Start -> Run, type in mercury.ini and click <OK>. This will open the mercury.ini file in Notepad.
2. At the end of the file, add a section headed [SAQFORMAT]. Under that section you can define the subject line for each project using the following format:
   Project Name = Subject line
Example:
[SAQFORMAT]
TestDirector_Demo = This mail was sent from the TestDirector_Demo project
This entry will cause the automatic e-mails coming from this project to have the subject line "This mail came from the TestDirector_Demo project."
To further customize the subject line you can use the following parameters:
•        ?BG_BUG_ID - will be replaced by the Bug ID.
•        ?DB - will be replaced by the database name, which is the name of the TestDirector project.
•        ?BG_PROJECT - will be replaced by the project name. This refers to the defect's "Project" field that is taken from the user-defined list of projects.
•        ?SERVER - will be replaced by the server name.
Note: You can include other fields in the subject line by adding parameters with the following format:
?FIELDNAME (must be uppercase)
Example:
[SAQFORMAT]
TestDirector_Demo = Defect #?BG_BUG_ID from ?BG_PROJECT has been updated. Please log in to ?DB on ?Server
The subject line of any automatic mail sent from TestDirector_Demo will read:
"Defect #<Defect ID> from <Project Name> has been updated. Please log in to TestDirector_Demo on <Server Name>"
The parts in the <> brackets are dependant on the defect being sent and the name of the TestDirector server.

NOTE A restart of the TestDirector Server is required before the new settings will take effect. This can be accomplished by right clicking on the TestDirector Icon in the System Tray and selecting Stop TestDirector. To restart the server, right click on the same icon and select Start TestDirector. If the TestDirector icon is not visible in the system tray, please refer to Problem ID 22706 - TestDirector icon does not appear in the system tray when using terminal services.
回复 支持 反对

使用道具 举报

该用户从未签到

12#
发表于 2007-3-2 11:37:07 | 只看该作者

多谢!

这个自动发送 邮件标题的设置我找了很久了,一直没找到,多谢lanlan2000!
回复 支持 反对

使用道具 举报

该用户从未签到

13#
发表于 2007-6-13 16:02:20 | 只看该作者
不行啊,英文说明不好用。
乱码未解决!!!!
回复 支持 反对

使用道具 举报

该用户从未签到

14#
发表于 2009-1-8 10:22:00 | 只看该作者
对啊,咋解决啊,我也遇到了,我也是一直避免字数超过22个,不过今儿头儿问有没有办法解决。。。。一开始发现这问题时,我就搜过,好像都没有解决办法,各位有知道的么???
回复 支持 反对

使用道具 举报

该用户从未签到

15#
发表于 2009-3-4 17:33:16 | 只看该作者
BUG_html_xsl   文件中
<TABLE align="center" width="90%"class="textfont"  border="1" cellpadding="3" cellspacing="0">

将width="90%"去掉
回复 支持 反对

使用道具 举报

  • TA的每日心情
    开心
    2017-7-4 15:34
  • 签到天数: 1 天

    连续签到: 1 天

    [LV.1]测试小兵

    16#
    发表于 2009-3-4 17:57:44 | 只看该作者
    这个问题没法解决。我以前也碰到过,尽量避开就行了。把描述性文字放到别的地方写
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    17#
    发表于 2009-5-14 08:57:54 | 只看该作者

    回复 12# 的帖子

    这个说的是只能解决一个TD项目的问题吧,如果有很多TD项目的话,改怎么办?
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    18#
    发表于 2009-5-14 09:02:43 | 只看该作者

    回复lanlan2000

    我尝试如下方法,在mecury.ini文件最后添加
    [SAQFORMAT]
    ehome=TD中有问题等待您的处理!缺陷编号:?BG_BUG_ID
    这样,ehome这个TD项目就可以在发送邮件时标题为:XXTD项目中有问题等待您的处理!####
    这样就规避掉了标题字数太多的问题。
    但是这个方法有局限性吧,我相信在各位建立的TD项目中不止有一个TD项目,那如果有很多TD项目的话,该怎么解决呢!?
    回复 支持 反对

    使用道具 举报

    本版积分规则

    关闭

    站长推荐上一条 /1 下一条

    小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

    GMT+8, 2024-9-16 18:27 , Processed in 0.116952 second(s), 28 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

    快速回复 返回顶部 返回列表