qrz2000 发表于 2007-2-10 15:15:44

TD发送邮件时,邮件内容中的字段可以在哪里进行配置的吗?

TD发送邮件时,邮件内容中的字段可以在哪里进行配置的吗?

suifengpiao 发表于 2007-2-11 13:33:12

google,baidu一下

qrz2000 发表于 2007-5-22 15:12:03

重新来看看,居然没有人关注。。。sdlkfj9 而我也还没有找到方法。

lansechuiyan 发表于 2007-6-27 18:05:00

在Customer里面选中configure mail选项 中可以配置

marysnow 发表于 2008-9-18 19:41:24

楼上的是不是说错了.看了configure mail中无法设置邮件内容中的字段.这个只设置发送邮件的条件和何时会自动触发发信的功能.:)

redforce 发表于 2008-9-19 10:44:14

C:\Program Files\Common Files\Mercury Interactive\DomsInfo\StyleSheets
BUG_HTML.xsl
BUG_TEXT.xsl
去修改那两个文件试试,那两文件是bug邮件模版

redforce 发表于 2008-9-19 10:49:52

<xsl:template match="Fields">
        <xsl:if test="item_field!=''">
                <P>
                <xsl:apply-templates select="item_field[@dbid='BG_STATUS'][@IsActive='Y']"/>
                <xsl:apply-templates select="item_field[@dbid='BG_PRIORITY'][@IsActive='Y']"/>
                <xsl:apply-templates select="item_field[@dbid='BG_RESPONSIBLE'][@IsActive='Y']"/>
                <xsl:apply-templates select="item_field[@dbid='BG_SEVERITY'][@IsActive='Y']"/>
                <xsl:apply-templates select="item_field[@dbid='BG_DETECTED_BY'][@IsActive='Y']"/>
                <xsl:apply-templates select="item_field[@dbid='BG_DESCRIPTION'][@IsActive='Y']"/>
                <xsl:apply-templates select="item_field[@dbid='BG_DEV_COMMENTS'][@IsActive='Y']"/>
                <xsl:apply-templates select="item_field[@IsMemo='Y1'][@IsActive='Y']"/>
                <xsl:apply-templates select="item_field[@IsMemo='Y2'][@IsActive='Y']"/>
                <xsl:apply-templates select="item_field[@IsMemo='Y3'][@IsActive='Y']"/>

                </P>
                <P>
                <table align="center" bgcolor="#330066" border="1" class="textfont" width="90%" cellpadding="3" cellspacing="0">
                        <th align="left"><b><font color="#fef9e9">Defect Details</font></b></th>
                </table>
                <table align="center" border="1" class="textfont" width="90%" cellpadding="3" cellspacing="0">
                                <xsl:apply-templates select="item_field[@dbid='BG_PROJECT'][@IsActive='Y']"/>
                                <xsl:apply-templates select="item_field[@dbid='BG_SUBJECT'][@IsActive='Y']"/>
                                <xsl:apply-templates select="item_field[@dbid='BG_REPRODUCIBLE'][@IsActive='Y']"/>
                                <xsl:apply-templates select="item_field[@dbid!='BG_DESCRIPTION'][@dbid!='BG_DEV_COMMENTS'][@dbid!='BG_BUG_ID'][@dbid!='BG_SUMMARY'][@dbid!='BG_STATUS'][@dbid!='BG_RESPONSIBLE'][@dbid!='BG_PROJECT'][@dbid!='BG_SUBJECT'][@dbid!='BG_REPRODUCIBLE'][@dbid!='BG_SEVERITY'][@dbid!='BG_PRIORITY'][@dbid!='BG_DETECTED_BY'][@IsActive='Y'][@IsMemo='N']"/>
                </table>
                </P>
        </xsl:if>
</xsl:template>
上面那些就是控制bug邮件的字段的,可以把不要的删除或注释;也可以添加
页: [1]
查看完整版本: TD发送邮件时,邮件内容中的字段可以在哪里进行配置的吗?