<dependency>
<groupId>jakarta.mail</groupId>
<artifactId>jakarta.mail-api</artifactId>
<version>1.6.3</version>
</dependency>
<parent> <groupId>com.sun.mail</groupId> <artifactId>all</artifactId> <version>1.6.3</version> </parent>