jz.kai 3 лет назад
Родитель
Сommit
9b5be247c3

+ 1 - 1
web/src/main/java/com/jpsoft/order/modules/common/controller/sendEmailController.java

@@ -29,7 +29,7 @@ public class sendEmailController {
             //1、创建定义整个应用程序所需的环境信息的 Session 对象
             Session session = Session.getDefaultInstance(prop, new Authenticator() {
                 public PasswordAuthentication getPasswordAuthentication() {
-                    return new PasswordAuthentication("it@feilihua.com", "Flh@2022");//发件人邮件用户名、授权码
+                    return new PasswordAuthentication("it@feilihua.com", "wtXLHBFWTEo3qSkn");//发件人邮件用户名、授权码
                 }
             });
             session.setDebug(true);//开启Session的debug模式,这样就可以查看到程序发送Email的运行状态