<!-- 接收测试报告的邮箱 -->
<property name="mail_from" value="xxx@qq.com" />
<!--mail_to:发送列表,多个之间逗号间隔 -->
<property name="mail_to" value="xxx@qq.com,xxx@icloud.com" />
<!-- 发送邮件 <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="xxx@qq.com" 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>