gmail 서버를 이용해 아이디/비밀번호 찾기 기능 구현 중,
Could not convert socket to TLS 에러 발생.
root-context.xml에 아래 코드 추가해주면 해결 완료!
1
2
|
<prop key="mail.smtp.ssl.trust">smtp.gmail.com</prop>
<prop key="mail.smtp.ssl.protocols">TLSv1.2</prop>
|
cs |
'SPRING > 나의 고통(Error)' 카테고리의 다른 글
NoClassDefFoundError: com/fasterxml/jackson/databind/exc/InvalidDefinitionException (0) | 2021.08.10 |
---|---|
Could not set parameters for mapping (0) | 2021.07.28 |
servlet.xml에 namespace탭이 안보일 때 (0) | 2021.07.22 |
@GetMapping import 불가 (0) | 2021.07.22 |
Build path entry is missing: (0) | 2021.07.21 |