本地邮件发送失败 [修复] 更换依赖 来源hutool官网

pull/212/head
wangbc 2024-05-20 19:19:36 +08:00
parent 0b05df4f93
commit 87145eebca
2 changed files with 3 additions and 3 deletions

View File

@ -325,8 +325,8 @@
<!--java邮件sdk--> <!--java邮件sdk-->
<dependency> <dependency>
<groupId>com.sun.mail</groupId> <groupId>com.sun.mail</groupId>
<artifactId>jakarta.mail</artifactId> <artifactId>javax.mail</artifactId>
<version>2.0.1</version> <version>1.5.4</version>
</dependency> </dependency>
<!--阿里云邮件sdk--> <!--阿里云邮件sdk-->

View File

@ -48,7 +48,7 @@
<!--java邮件sdk--> <!--java邮件sdk-->
<dependency> <dependency>
<groupId>com.sun.mail</groupId> <groupId>com.sun.mail</groupId>
<artifactId>jakarta.mail</artifactId> <artifactId>javax.mail</artifactId>
</dependency> </dependency>
<!--阿里云邮件sdk--> <!--阿里云邮件sdk-->