centos postfix 메일로 비밀번호 찾기 안될때

· 10년 전 · 6777
/bbs/password_lost2.php 파일의 mailer($config['cf_admin_email_name'], $config['cf_admin_email'], $mb['mb_email'], $subject, $content, 1);
이부분을 주석처리후 아래와 같이 수정

$to = $mb['mb_email'];
$message = $content;
$subject = "=?UTF-8?B?".base64_encode($subject)."?=";////daum 메일에서 제목 깨짐방지

$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=UTF-8' . "\r\n";
$headers .= 'To: '.$to. "\r\n";
$headers .= 'From: ' .$config['cf_admin_email']. "\r\n";
$headers .= 'Reply-To: '.$config['cf_admin_email'] . "\r\n";

// Mail it
mail($to, $subject, $message, $headers);
|
댓글을 작성하시려면 로그인이 필요합니다.

그누보드5 팁자료실

+
제목 글쓴이 날짜 조회
10년 전 조회 5,564
10년 전 조회 8,601
10년 전 조회 7,214
10년 전 조회 1.6만
10년 전 조회 6,210
10년 전 조회 7,058
10년 전 조회 5,645
10년 전 조회 6,884
10년 전 조회 1.2만
10년 전 조회 2.6만
10년 전 조회 1.3만
10년 전 조회 1만
10년 전 조회 9,537
10년 전 조회 1만
10년 전 조회 6,778
10년 전 조회 8,508
10년 전 조회 9,401
10년 전 조회 1만
10년 전 조회 1.2만
10년 전 조회 8,881
10년 전 조회 8,673
10년 전 조회 6,283
10년 전 조회 8,108
10년 전 조회 7,768
10년 전 조회 9,518
10년 전 조회 6,810
10년 전 조회 1.4만
10년 전 조회 6,790
10년 전 조회 8,305
10년 전 조회 6,075