https://m.blog.naver.com/PostView.nhn?blogId=xyz37&logNo=50164178664&proxyReferer=https:%2F%2Fwww.google.com%2F
$wgEnableEmail = true;
$wgEnableUserEmail = true; # UPO
$wgEmergencyContact = "[email protected]";
$wgPasswordSender = "[email protected]";
$wgEnotifUserTalk = true; # UPO
$wgEnotifWatchlist = true; # UPO
$wgEmailAuthentication = true;
아래 부분을 본인에 맞게 설정해 주면 된다.
$wgSMTP = array(
'host' => "smtp.gmail.com",
'IDHost' => "gmail.com",
'port' => 587,
'auth' => true,
'username' => "********@gmail.com",
'password' => "**********"
);
참고 :
http://www.mediawiki.org/wiki/Manual:$wgSMTP
http://www.gossamer-threads.com/lists/wiki/mediawiki/104031
요렇게 하래서 해봤는데, gmail 보안 정책상 막히는 것 같다.
에러가 나면서 안된다.
다른 메일 서비스로 바꾸니까 된다.