답변 1개
/lib/mailer.lib.php 파일 22번째 줄을 아래처럼 수정.
$mail->Host = G5_SMTP; // SMTP server
$mail->Port = 465; // set the SMTP port
$mail->IsSMTP();
$mail->SMTPAuth = true; // enable SMTP authentication
$mail->SMTPSecure = "ssl"; // sets the prefix to the servier
$mail->Host = "smtp.gmail.com"; // sets GMAIL as the SMTP server
$mail->Port = 465; // set the SMTP port for the GMAIL server
$mail->Username = "yourusername@gmail.com"; // GMAIL username
$mail->Password = "yourpassword"; // GMAIL password
Gmail 내에서 보안설정 변경
https://www.google.com/settings/security/lesssecureapps">https://www.google.com/settings/security/lesssecureapps
보안수준 낮은 앱 사용설정
자료출처는 아미나에있는 질문답변자료입니다.
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인