XpressEngine 메일인증 사용시 , 메일이 안올 때 해결법 (현재 코어 버전 1.5.4.1)

/xe/classes/mail/Mail.class.php

Mail.class.php 파일을 받아서 편집기로 열어보면, 137번째줄 정도에

function Mail() { }

이런 함수가 있다. 여기에 한줄을 추가해준다

$this->useGmailAccount("관리자메일계정", "비밀번호");

덮어씌워주고 메일 발송해보면, 발신인 관리자메일계정으로 메일이 가는것을 확인할수 있음 끝


function Mail() { $this->useGmailAccount("관리자메일계정", "비밀번호"); }





***추가(2016.08.07)


sudo apt-get install update

sudo apt-get install sendmail

sudo nano /etc/hosts

sudo apt-get install phpmailer


다 해줘..


https://accounts.google.com/DisplayUnlockCaptcha

https://www.google.com/settings/security/lesssecureapps?rfn=27&rfnc=1&asae=2&anexp=lbe2-R1_A


구글계정 들어가서 승인눌러라


+ Recent posts