瀏覽代碼

use jakarta.mail

zhou-hao 4 年之前
父節點
當前提交
e945969963
共有 1 個文件被更改,包括 8 次插入3 次删除
  1. 8 3
      jetlinks-components/notify-component/notify-email/pom.xml

+ 8 - 3
jetlinks-components/notify-component/notify-email/pom.xml

@@ -27,10 +27,15 @@
             <artifactId>spring-context-support</artifactId>
         </dependency>
 
+<!--        <dependency>-->
+<!--            <groupId>javax.mail</groupId>-->
+<!--            <artifactId>mail</artifactId>-->
+<!--            <version>1.4.7</version>-->
+<!--        </dependency>-->
+
         <dependency>
-            <groupId>javax.mail</groupId>
-            <artifactId>mail</artifactId>
-            <version>1.4.7</version>
+            <groupId>com.sun.mail</groupId>
+            <artifactId>jakarta.mail</artifactId>
         </dependency>
 
         <dependency>