테스트 사이트 - 개발 중인 베타 버전입니다

폼메일 질문 네이버다음은 잘되는데 지메일이 안됩니다. 채택완료

비커즈 6년 전 조회 4,300

<?php

// 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']             = '********https://sir.kr/main/member/?mb_id=bajie123" target="_blank">@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']                = '********https://sir.kr/main/member/?mb_id=bajie123" target="_blank">@gmail.com';            // destination of all emails sent throught contact form

// Email Subject
$config['subject']                = 'Company Contact Form';    // subject of emails you receive
?>

원인이 뭘가요?

 

오류 증상

STMP ERROR could not authenticate 라고만 나오고 않되네요

댓글을 작성하려면 로그인이 필요합니다.

답변 1개

채택된 답변
+20 포인트
플래토
6년 전

https://support.google.com/mail/answer/7126229?hl=ko">https://support.google.com/mail/answer/7126229?hl=ko

 

여기에서 Gmail로그인후 설정할 부분과

발송시 프로토콜과 포트를 잘 확인해보세요

로그인 후 평가할 수 있습니다

답변에 대한 댓글 1개

비커즈
6년 전
잘되네요 허용을 안해서 그런듯해요

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인