Browse Source

use jakarta.mail

zhou-hao 4 years ago
parent
commit
e945969963
1 changed files with 8 additions and 3 deletions
  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>