Commit d099c0f8 authored by 张永's avatar 张永
parents ca32a54d 56410421
......@@ -133,7 +133,6 @@ public class MailUtil {
}
public static void sendBySmtps(String host, Integer port, final String username, final String password, final String from, final String fromName, String subject, String content, File[] attachments, String... emailTo) {
System.out.println(fromName);
boolean is_auth = StringUtil.isNotBlank(username) && StringUtil.isNotBlank(password);
Properties properties = new Properties();
properties.setProperty("mail.transport.protocol", "smtps");
......
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