구글 메일 서비스 오류
2차 인증 활성화 하기
구글 > 계정 에 들어가서 2단계 인증을 활성화 합니다.
앱 비밀번호 발급받기
발급받은 번호를 yml 에 입력해줍니다.
mail:
host: smtp.gmail.com
port: 587
username: [아이디]@gmail.com
password: [here] # 띄어쓰기는 삭제해 주세요.
properties:
mail:
smtp:
auth: true # 사용자 인증 시도 여부(기본값 false)
timeout: 5000 # Socket Read Timeout 시간 (ms) (기본값 무한대)
starttls:
enable: true # StartTLS 활성화 여부(기본값: false)
YAML
복사