If you have a maven project and you want to send an SMTP message, simply add these dependencies to the maven pom file:
If you have a maven project and you want to send an SMTP message, simply add these dependencies to the maven pom file:
<dependency>
<groupid>javax.mail</groupid>
<artifactid>mail</artifactid>
<version>1.5.2</version>
</dependency>
<dependency>
<groupid>javax.mail</groupid>
<artifactid>javax.mail-api</artifactid>
<version>1.5.5</version>
</dependency>
3.19.31.73