xe3로 홈페이지를 만든후 비밀번호재설정을 하려하면 메일발송으로 진행된다.
이때 smtp설정이 필요한데
gmail로 진행될 경우 2단계 인증으로 방식을 바꿔야 한다.
에러 로그를 잘 보고 판단하자.
SMTP server with username "~~@~~~" using 3 possible authenticators
이런 에러나 난다면..... 2단계로 인증방식을 바꾸면 된다.
1. www.google.com/landing/2step/ 2단계인증방식 활성화
2. security.google.com/settings/security/apppasswords
Select the app and device you want to generate the app password for.
- others(custom name)으로 생성한후 패스워드를 등록하여 generate
3. config/mail.php 항목
usename -> 자신의gmail주소
password -> generate된 패스워드
이렇게 세팅하고 비밀번호재설정하면 메일이 발송된다. 발송된 메일은 gmail 보낸편지함에서 확인가능하다
'오픈소스 > Xpress Engine' 카테고리의 다른 글
[XE3] 익스텐션 추가후 사이트 에러 (0) | 2020.07.26 |
---|---|
[xe3] .htaccess 파일, phpMyAdmin access확인하기 (0) | 2020.07.09 |
XE3 설치 (0) | 2020.05.26 |