Files
sam-kd/email/naver_app_password_guide.php
hskwon aca1767eb9 초기 커밋: 5130 레거시 시스템
- URL 하드코딩 → .env APP_URL 기반 동적 URL로 변경
- DB 연결 하드코딩 → .env 기반으로 변경
- MySQL strict mode DATE 오류 수정
2025-12-10 20:14:31 +09:00

89 lines
3.5 KiB
PHP

<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>네이버 비밀번호 생성 가이드</title>
<style>
body { font-family: Arial, sans-serif; margin: 20px; }
.step { background: #f5f5f5; padding: 15px; margin: 10px 0; border-radius: 5px; }
.important { background: #fff3cd; border: 1px solid #ffeaa7; padding: 15px; margin: 10px 0; border-radius: 5px; }
.code { background: #2d3748; color: #e2e8f0; padding: 10px; border-radius: 3px; font-family: monospace; }
.warning { background: #fed7d7; border: 1px solid #feb2b2; padding: 15px; margin: 10px 0; border-radius: 5px; }
</style>
</head>
<body>
<h1>🔐 네이버 비밀번호 생성 가이드</h1>
<div class="warning">
<h3>⚠️ 현재 상황</h3>
<p>SMTP 인증 오류가 발생했습니다. 네이버에서 비밀번호를 요구하고 있습니다.</p>
</div>
<h2>📋 단계별 설정 방법</h2>
<div class="step">
<h3>1단계: 네이버 로그인</h3>
<p><a href="https://nid.naver.com" target="_blank">https://nid.naver.com</a> 접속하여 로그인합니다.</p>
</div>
<div class="step">
<h3>2단계: 보안 설정 접속</h3>
<p>네이버 메인 우측 상단 프로필 클릭 <strong>설정</strong> <strong>보안</strong></p>
</div>
<div class="step">
<h3>3단계: 2단계 인증 활성화</h3>
<p><strong>2단계 인증</strong> <strong>활성화</strong> 클릭</p>
<p>휴대폰 인증 또는 이메일 인증을 통해 2단계 인증을 설정합니다.</p>
</div>
<div class="step">
<h3>4단계: 비밀번호 생성</h3>
<p>2단계 인증 설정 <strong> 비밀번호</strong> <strong> 비밀번호 생성</strong></p>
<p> 이름: <strong>경동기업 메일</strong> (또는 원하는 이름)</p>
</div>
<div class="important">
<h3>🎯 생성된 비밀번호</h3>
<p>16자리 영문+숫자 조합의 비밀번호가 생성됩니다.</p>
<p>예시: <span class="code">abcd1234efgh5678</span></p>
<p><strong>⚠️ 비밀번호를 안전한 곳에 복사해두세요!</strong></p>
</div>
<div class="step">
<h3>5단계: 코드 수정</h3>
<p>생성된 비밀번호를 <code>send_email.php</code> 파일의 <code>$password</code> 변수에 입력합니다.</p>
<div class="code">
$password = '생성된_앱_비밀번호_16자리';
</div>
</div>
<div class="step">
<h3>6단계: 테스트</h3>
<p>수정 <a href="test_email.php">테스트 페이지</a>에서 확인합니다.</p>
</div>
<h2>🔧 대안 방법</h2>
<div class="step">
<h3>방법 1: 네이버 메일 설정에서 SMTP 활성화</h3>
<p>네이버 메일 설정 POP3/SMTP 설정 SMTP 사용 설정</p>
</div>
<div class="step">
<h3>방법 2: 다른 포트 사용</h3>
<p>포트 587 (TLS) 또는 포트 25 (일반) 시도</p>
</div>
<h2>📞 문제 해결</h2>
<p> 방법으로도 해결되지 않으면:</p>
<ul>
<li>네이버 고객센터: 1588-3660</li>
<li>네이버 메일 고객센터: <a href="https://help.naver.com" target="_blank">https://help.naver.com</a></li>
</ul>
<hr>
<p><em>마지막 업데이트: 2024</em></p>
</body>
</html>