// 3. To: 收件人(可以增加多个收件人、抄送、密送)
// CC:抄送
message.addRecipient(RecipientType.TO, new InternetAddress(receiveMail, "", "UTF-8"));
message.addRecipient(RecipientType.CC, new InternetAddress("273802813@qq.com", "", "UTF-8"));
// 3. To: 收件人(可以增加多个收件人、抄送、密送)
// CC:抄送
message.addRecipient(RecipientType.TO, new InternetAddress(receiveMail, "", "UTF-8"));
message.addRecipient(RecipientType.CC, new InternetAddress("273802813@qq.com", "", "UTF-8"));
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。