[TIL] smtp.js 설정시 Gmail 이용할 때 Trouble Shoot

Funnystyle·2021년 2월 17일
0

랜딩 페이지에서 smtp.js(https://smtpjs.com/) 로 간단히 이메일 따위를 보내게 할 수 있다.

아이디/비밀번호 방식은 무조건 피해야 한다.
그래서 Security 를 사용한다.

이럴 때 gmail smtp 를 이용하면 되는데, gmail 쪽에서 몇 가지 설정을 해줘야 한다.

나는 두 가지 설정을 해서 해결하였다.

  1. 보안 수준이 낮은 앱의 액세스 : https://www.google.com/settings/security/lesssecureapps
  2. 내 Google 계정에 대한 액세스 허용 : https://g.co/allowaccess

출처 : https://stackoverflow.com/questions/20906077/gmail-error-the-smtp-server-requires-a-secure-connection-or-the-client-was-not#26709761

profile
polyglot

0개의 댓글