<!-- 接收测试报告的邮箱 -->
<property name="mail_from" value="[email protected]" />
<!--mail_to:发送列表,多个之间逗号间隔 -->
<property name="mail_to" value="[email protected],[email protected]" />
<!-- 发送邮件 <to address="${mail_to}"/> 改为mail tolist-->
<target name="send" >
<mail tolist="${mail_to}" mailhost="smtp.qq.com" mailport="587" subject="TTJJ TestReport!" messagemimetype="text/html" user="[email protected]" password="xxxx" >
<from address="${mail_from}"/>
<message> from xxx</message>
<attachments>
<fileset dir="${jmeter.result.html.dir}">
<include name="${ReportName}${time}.html"/>
</fileset>
</attachments>
</mail>
</target>