Commit e91c9c04 by shuai

测试-取消收件抄送人

parent 1db1deb6
...@@ -107,11 +107,11 @@ public class Mail { ...@@ -107,11 +107,11 @@ public class Mail {
System.out.println(start); System.out.println(start);
String Percentage=overview.substring(start+22, start+41); String Percentage=overview.substring(start+22, start+41);
System.out.println(Percentage); System.out.println(Percentage);
if(isTrue){ // if(isTrue){
message.setRecipients(MimeMessage.RecipientType.CC, parseAddress("onlyTest")); // message.setRecipients(MimeMessage.RecipientType.CC, parseAddress("onlyTest"));
}else{ // }else{
message.setRecipients(MimeMessage.RecipientType.CC, parseAddress("all")); // message.setRecipients(MimeMessage.RecipientType.CC, parseAddress("all"));
} // }
// message.setRecipient(MimeMessage.RecipientType.CC, new InternetAddress("wufeifei66504@offcn.com", "", "UTF-8")); // message.setRecipient(MimeMessage.RecipientType.CC, new InternetAddress("wufeifei66504@offcn.com", "", "UTF-8"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment