51Testing软件测试论坛

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

作者: zhanzhan    时间: 2006-2-17 10:32
标题: 求助:TD8.0中邮件标题过长导致邮件无法显示


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

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

[ 本帖最后由 zhanzhan 于 2006-2-17 10:34 编辑 ]
作者: zhanzhan    时间: 2006-2-17 11:07
不知道大家在使用过程中是否碰到


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

而使用TD本身的则只能发送22个中文字符标题的邮件
作者: zhanzhan    时间: 2006-2-17 11:39
难道大家在实际使用过程中都没有碰到这个问题?
作者: cuicuitiao    时间: 2006-3-20 14:43
我没有碰到过,只是自动发邮件不成功.
作者: finalzhzhk    时间: 2006-3-20 20:39
哦,主题还真没有这么长的设过,刚才测了测,没错.我这里也是显示22个汉字.
应该可以解决的吧,大家互相探索一下
作者: yilan2000    时间: 2006-4-26 09:34
这个问题确实存在,有解决办法吗?
作者: leoliang    时间: 2006-9-14 18:56
我也遇到这个问题了。
作者: 梦野    时间: 2006-9-19 10:30
我都是尽量不让他超过这个字符
作者: cheryl    时间: 2006-11-28 16:11
我也碰到过,但是手动发送是没有问题的。
作者: sinpa    时间: 2007-1-25 15:21
标题: 如果解决的话
如果解决的话,请发出来共享一下了sdlkfj5
作者: lanlan2000    时间: 2007-2-28 09:29
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.
作者: linchuanzai    时间: 2007-3-2 11:37
标题: 多谢!
这个自动发送 邮件标题的设置我找了很久了,一直没找到,多谢lanlan2000!
作者: sucyme    时间: 2007-6-13 16:02
不行啊,英文说明不好用。
乱码未解决!!!!
作者: 伽兰若枫    时间: 2009-1-8 10:22
对啊,咋解决啊,我也遇到了,我也是一直避免字数超过22个,不过今儿头儿问有没有办法解决。。。。一开始发现这问题时,我就搜过,好像都没有解决办法,各位有知道的么???
作者: kaven0612    时间: 2009-3-4 17:33
BUG_html_xsl   文件中
<TABLE align="center" width="90%"class="textfont"  border="1" cellpadding="3" cellspacing="0">

将width="90%"去掉
作者: peterz    时间: 2009-3-4 17:57
这个问题没法解决。我以前也碰到过,尽量避开就行了。把描述性文字放到别的地方写
作者: qiuchen_2004    时间: 2009-5-14 08:57
标题: 回复 12# 的帖子
这个说的是只能解决一个TD项目的问题吧,如果有很多TD项目的话,改怎么办?
作者: qiuchen_2004    时间: 2009-5-14 09:02
标题: 回复lanlan2000
我尝试如下方法,在mecury.ini文件最后添加
[SAQFORMAT]
ehome=TD中有问题等待您的处理!缺陷编号:?BG_BUG_ID
这样,ehome这个TD项目就可以在发送邮件时标题为:XXTD项目中有问题等待您的处理!####
这样就规避掉了标题字数太多的问题。
但是这个方法有局限性吧,我相信在各位建立的TD项目中不止有一个TD项目,那如果有很多TD项目的话,该怎么解决呢!?




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2