diff --git a/email/README.md b/email/README.md index 263ca54..8d37da8 100644 --- a/email/README.md +++ b/email/README.md @@ -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/ + + email via SMTP + +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/ \ No newline at end of file diff --git a/email/src/main/java/com/mkyong/Application.java b/email/src/main/java/com/mkyong/Application.java index f18e5ad..ea00092 100644 --- a/email/src/main/java/com/mkyong/Application.java +++ b/email/src/main/java/com/mkyong/Application.java @@ -14,6 +14,7 @@ import java.io.IOException; @SpringBootApplication +//this is the sample test to git hub public class Application implements CommandLineRunner { //https://docs.spring.io/spring/docs/5.1.6.RELEASE/spring-framework-reference/integration.html#mail diff --git a/email/src/main/resources/application.properties b/email/src/main/resources/application.properties index 0871954..f1097d7 100644 --- a/email/src/main/resources/application.properties +++ b/email/src/main/resources/application.properties @@ -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