From 55b99af8fca9a111507a0ab35f56c534c2ef3210 Mon Sep 17 00:00:00 2001 From: baozhida Date: Fri, 31 Mar 2017 14:31:52 +0800 Subject: [PATCH] Update JavaMailTask.java --- .../programmerplanet/ant/taskdefs/jmeter/JavaMailTask.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ant-jmeter/src/org/programmerplanet/ant/taskdefs/jmeter/JavaMailTask.java b/ant-jmeter/src/org/programmerplanet/ant/taskdefs/jmeter/JavaMailTask.java index 406f790..75cca8a 100644 --- a/ant-jmeter/src/org/programmerplanet/ant/taskdefs/jmeter/JavaMailTask.java +++ b/ant-jmeter/src/org/programmerplanet/ant/taskdefs/jmeter/JavaMailTask.java @@ -74,7 +74,7 @@ static public void sendMail(int all, int successnum, int failnum, String mailSub + "" + "", "text/html;charset=utf-8"); // 设置发件人 - msg.setFrom(new InternetAddress("apiauto@tuniu.com")); + msg.setFrom(new InternetAddress("apiauto@xxx.com")); // 设置收件人 @@ -94,6 +94,6 @@ static public void sendMail(int all, int successnum, int failnum, String mailSub //测试 public static void main(String[] args) throws MessagingException { - sendMail(5,5,0,"接口报告","baozhida@tuniu.com,tengaiqing@tuniu.com"); + sendMail(100,89,11,"接口报告","aaa@xxx.com,bbb@xxx.com"); } -} \ No newline at end of file +}