Skip to content

Commit 5b43ecc

Browse files
committed
Mail sending support added
1 parent 72d70a3 commit 5b43ecc

File tree

2 files changed

+16
-5
lines changed

2 files changed

+16
-5
lines changed

pom.xml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@
5454
<groupId>com.h2database</groupId>
5555
<artifactId>h2</artifactId>
5656
</dependency>
57-
5857
</dependencies>
5958
</profile>
6059

@@ -82,9 +81,8 @@
8281
</dependency>
8382

8483
<dependency>
85-
<groupId>org.projectlombok</groupId>
86-
<artifactId>lombok</artifactId>
87-
<version>1.16.10</version>
84+
<groupId>org.springframework.boot</groupId>
85+
<artifactId>spring-boot-starter-mail</artifactId>
8886
</dependency>
8987

9088
<dependency>
@@ -93,6 +91,12 @@
9391
<scope>test</scope>
9492
</dependency>
9593

94+
<dependency>
95+
<groupId>org.projectlombok</groupId>
96+
<artifactId>lombok</artifactId>
97+
<version>1.16.10</version>
98+
</dependency>
99+
96100
<dependency>
97101
<groupId>org.jsoup</groupId>
98102
<artifactId>jsoup</artifactId>
Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,9 @@
11
spring.profiles.active = prod
2-
spring.mvc.throw-exception-if-no-handler-found = true
2+
spring.mvc.throw-exception-if-no-handler-found = true
3+
4+
spring.mail.host = smtp.gmail.com
5+
spring.mail.port = 465
6+
spring.mail.username = ***
7+
spring.mail.password = ***
8+
spring.mail.properties.smtp.auth = true
9+
spring.mail.properties.mail.smtp.ssl.enable = true

0 commit comments

Comments
 (0)