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

· 10년 전 · 6715
/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 팁자료실

+
제목 글쓴이 날짜 조회
9년 전 조회 5,510
9년 전 조회 8,546
9년 전 조회 7,148
9년 전 조회 1.6만
9년 전 조회 6,155
9년 전 조회 6,999
10년 전 조회 5,589
10년 전 조회 6,818
10년 전 조회 1.2만
10년 전 조회 2.6만
10년 전 조회 1.3만
10년 전 조회 1만
10년 전 조회 9,471
10년 전 조회 1만
10년 전 조회 6,716
10년 전 조회 8,433
10년 전 조회 9,344
10년 전 조회 1만
10년 전 조회 1.2만
10년 전 조회 8,823
10년 전 조회 8,613
10년 전 조회 6,213
10년 전 조회 8,031
10년 전 조회 7,695
10년 전 조회 9,461
10년 전 조회 6,737
10년 전 조회 1.4만
10년 전 조회 6,735
10년 전 조회 8,251
10년 전 조회 6,006