Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions email/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Spring Boot - How to send email via SMTP

Article link : https://www.mkyong.com/spring-boot/spring-boot-how-to-send-email-via-smtp/

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tihs is the not the correct change

email via SMTP

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sample review

Article link : https://www.mkyong.com/spring-boot/spring-boot-how-to-send-email-via-smtp/
email via SMTP

Article link : https://www.mkyong.com/spring-boot/spring-boot-how-to-send-email-via-smtp/
1 change: 1 addition & 0 deletions email/src/main/java/com/mkyong/Application.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import java.io.IOException;

@SpringBootApplication
//this is the sample test to git hub

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

second comment

public class Application implements CommandLineRunner {

//https://docs.spring.io/spring/docs/5.1.6.RELEASE/spring-framework-reference/integration.html#mail
Expand Down
4 changes: 0 additions & 4 deletions email/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ spring.mail.password=password
spring.mail.properties.mail.smtp.auth=true
spring.mail.properties.mail.smtp.connectiontimeout=5000
spring.mail.properties.mail.smtp.timeout=5000
spring.mail.properties.mail.smtp.writetimeout=5000

# TLS , port 587
spring.mail.properties.mail.smtp.starttls.enable=true

# SSL, post 465
#spring.mail.properties.mail.smtp.socketFactory.port = 465
Expand Down