Skip to content

Commit dec96c2

Browse files
committed
Updated pom and properties
• Added - Jakarta Mail dependency - Spring mail properties
1 parent 26a8f56 commit dec96c2

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,16 @@
8080
<version>0.11.5</version>
8181
<scope>runtime</scope>
8282
</dependency>
83+
<dependency>
84+
<groupId>org.springframework</groupId>
85+
<artifactId>spring-context-support</artifactId>
86+
<version>6.0.5</version>
87+
</dependency>
88+
<dependency>
89+
<groupId>org.eclipse.angus</groupId>
90+
<artifactId>jakarta.mail</artifactId>
91+
<version>1.0.0</version>
92+
</dependency>
8393
</dependencies>
8494

8595
<build>

src/main/resources/application.properties

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ spring.jpa.database= H2
99
spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true
1010
spring.jpa.properties.hibernate.dialect= org.hibernate.dialect.H2Dialect
1111
spring.jpa.hibernate.ddl-auto= create-drop
12+
## Java Mail (Check readme for configuration instructions)
13+
spring.mail.host=smtp.gmail.com
14+
spring.mail.port=587
15+
spring.mail.username=your_mail_here@gmail.com
16+
spring.mail.password=your_app_password_here
17+
spring.mail.properties.mail.smtp.auth=true
18+
spring.mail.properties.mail.smtp.starttls.enable=true
1219
## Environment variables
1320
env.jwt.secret=25442A462D4A614E645267556B58703273357638792F423F4528482B4B6250655368566D597133743677397A24432646294A404E635166546A576E5A72347537
1421
env.jwt.expiration=4

0 commit comments

Comments
 (0)