gmail SMTP를 사용한 회원가입 이메일인증
SMTP란SMTP는 Simple Mail Transfer Protocol의 약자로, 인터넷에서 이메일을 보내기 위해 사용되는 프로토콜이다. SMTP는 이메일 클라이언트나 다른 SMTP 서버로부터 이메일을 수신하는 메일 서버로 이메일을 전송하는 데 사용된다.gmail 설정(1) 2단계 인증 사용설정 (2) 앱 비밀번호 생성 (yml의 비밀번호가 됨) pom.xml org.springframework.boot spring-boot-starter-mail application.ymlspring: mail: smtp: auth: true starttls: enable: true required: true transport: protocol: smt..
Spring/SMTP
2021. 9. 20. 09:31