Commit 91c1da32 authored by Quxl's avatar Quxl

x

parent 1da43d04
...@@ -133,7 +133,6 @@ public class MailUtil { ...@@ -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) { 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); boolean is_auth = StringUtil.isNotBlank(username) && StringUtil.isNotBlank(password);
Properties properties = new Properties(); Properties properties = new Properties();
properties.setProperty("mail.transport.protocol", "smtps"); 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