Rooted In Develop

  • 홈
  • 태그
  • 방명록

Spring Mail 2

간단한 스프링 스케줄러(Spring Scheduler) 사용하기 : @Scheduled Annotation

Spring Quartz 없이 간단하게 스케줄러를 사용해보자. 1. @EnableScheduling package me.rooted.mail; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.scheduling.annotation.EnableScheduling; @EnableScheduling @SpringBootApplication public class SpringMailThymeleafApplication { public static void main(String[] args) { Spr..

Back End/Spring Boot 2019.08.19

Spring Boot 메일 전송 : Spring Boot 2, Mail, Thymeleaf

Spring Boot 2.x 기준 Mail Send Client를 간단히 소개해봅니다. 기 프로젝트에 적용하실 분들은 1-2로, 신규 프로젝트로 진행하실 분들은 1-1로 봐주시면 되겠습니다.1-1. 프로젝트 생성 1-2. Maven dependency(pom.xml) 설정 org.springframework.boot spring-boot-starter-mail org.springframework.boot spring-boot-starter-thymeleaf 2. 프로젝트 구조 3. src/main/resources/application.properties 설정## thymeleaf default settingsspring.thymeleaf.prefix=classpath:/templates/spri..

Back End/Spring Boot 2019.08.19
이전
1
다음
더보기
프로필사진

Rooted In Develop

  • 분류 전체보기 (52)
    • Front End (1)
      • Vue.js (1)
    • Back End (16)
      • Spring Boot (6)
      • Kotlin (10)
      • Java (0)
    • Design Patterns (1)
    • Project (0)
      • Bible (0)
      • Kafka Explorer (0)
    • Algorithm Test (33)
      • C++ (4)
      • Java (29)

Tag

스프링 부트, Collections, Spring Boot, Arrays, Spring Mail, 스프링 메일, Spring, list, springboot, java, HashMap, 스프링, 코딩테스트, 프로그래머스, vuejs #vue #js #프론트엔드 #nodejs #클라이언트사이드 #템플릿엔진, C++, 프로젝트 구조, 스프링 스케줄러, @Scheduled, codility,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/10   »
일 월 화 수 목 금 토
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바