首页修改
This commit is contained in:
+8
@@ -26,6 +26,14 @@ public class EmailSendMsgHandle implements ISendMsgHandle {
|
||||
private String emailPassword;
|
||||
private String host;
|
||||
|
||||
/**
|
||||
* 后加的防止题目过长并且进行全局定义
|
||||
*/
|
||||
static {
|
||||
System.setProperty("mail.mime.splitlongparameters", "false");
|
||||
System.setProperty("mail.mime.charset", "UTF-8");
|
||||
}
|
||||
|
||||
@Autowired
|
||||
private Environment env;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user