SMTP Error:Could not authenticate 채택완료
// USE SMTP OR mail()
// SMTP is recommended, mail() is disabled on most shared hosting servers.
// IF false : SMTP host/port/user/pass/ssl not used, leave empty or as it is!
$config['use_smtp'] = true; // true|false
// SMTP Server Settings
$config['smtp_host'] = 'smtp.naver.com'; // eg.: smtp.mandrillapp.com
$config['smtp_port'] = 465; // eg.: 587
$config['smtp_user'] = '********@naver.com'; // you@gmail.com
$config['smtp_pass'] = '********'; // password
$config['smtp_ssl'] = true; // true for google (port 465), false for others
// Who receive all emails?
$config['send_to'] = '********@naver.com'; // destination of all emails sent throught contact form
// Email Subject
$config['subject'] = 'Company Contact Form'; // subject of emails you receive
gmail로 메일을 받고싶은데 저 부분에서 어디어디에 제 메일을 써야하나요?
그리고 메일을 보내려하면 SMTP Error:Could not authenticate 라는 오류가 떠요 ㅜㅜ 어떻게 해결하는지 아시는분 있을까요?
답변 1개
SMTP Error:Could not authenticate 라는 오류
==> 1. www.naver.com 로그인 > 메일 환경설정 > POP 사용 여부 확인
==> 2. 메일 환경 설정에 POP 사용 설명이 있으니 그 내용을 참고
</p>
<p>// SMTP Server Settings</p>
<p>$config['smtp_host'] = 'smtp.naver.com'; // eg.: smtp.mandrillapp.com</p>
<p>$config['smtp_port'] = 465; // eg.: 587</p>
<p>$config['smtp_user'] = '********<a class="mention_user_info" href="<a href="https://sir.kr/main/member/?mb_id=bajie123" target="_blank" rel="noopener noreferrer">https://sir.kr/main/member/?mb_id=bajie123</a>" target="_blank">@naver</a>.com'; // 네이버 로그인 계정</p>
<p>$config['smtp_pass'] = '********'; // 네이버 로그인 암호</p>
<p>$config['smtp_ssl'] = true; // true for google (port 465), false for others</p>
<p> </p>
<p>// Who receive all emails?</p>
<p>$config['send_to'] = '********<a class="mention_user_info" href="<a href="https://sir.kr/main/member/?mb_id=bajie123" target="_blank" rel="noopener noreferrer">https://sir.kr/main/member/?mb_id=bajie123</a>" target="_blank">@naver</a>.com'; // 받는 사람 이메일 주소</p>
<p> </p>
<p> </p>
<p>
답변에 대한 댓글 6개
여기도 같은 질문이고 해결하셨네요.
// USE SMTP OR mail()
// SMTP is recommended, mail() is disabled on most shared hosting servers.
// IF false : SMTP host/port/user/pass/ssl not used, leave empty or as it is!
$config['use_smtp'] = true; // true|false
// SMTP Server Settings
$config['smtp_host'] = 'smtp.gmail.com'; // eg.: smtp.mandrillapp.com
$config['smtp_port'] = 465; // eg.: 587
$config['smtp_user'] = '********@gmail.com'; // you@gmail.com
$config['smtp_pass'] = '********'; // password
$config['smtp_ssl'] = true; // true for google (port 465), false for others
// Who receive all emails?
$config['send_to'] = '********@gmail.com'; // destination of all emails sent throught contact form
// Email Subject
$config['subject'] = 'Company Contact Form'; // subject of emails you receive
?>
자세히 알아보기
도움말: 필터를 만들면 메일 중 일부만 전달할 수도 있습니다.
POP 다운로드:
자세히 알아보기
1. 상태: 모든 메일에 대해 POP가 사용 설정되어 있습니다.
이미 다운로드 된 메일을 포함하여 모든 메일에 POP를 활성화 하기
지금부터 수신되는 메일에만 POP를 사용하기
POP 사용 안함
2. POP로 메시지를 여는 경우
Gmail 사본을 받은편지함에 보관하기
3. 이메일 클라이언트 구성 (예: Outlook, Eudora, Netscape Mail)
설정 방법
IMAP 액세스:
(IMAP를 사용하여 다른 클라이언트에서 Gmail에 액세스)
자세히 알아보기
상태: IMAP를 사용할 수 있습니다.
IMAP 사용
imap허용했는대도 연결이 안되요. ㅜ
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인