bbs/qawrite_update.php 중
// 문의글등록 이메일전송
if(($w == '' || $w == 'r') && trim($qaconfig['qa_admin_email'])) {
include_once(G5_LIB_PATH.'/mailer.lib.php');
$subject = $config['cf_title'].' '.$qaconfig['qa_title'].' 메일이 도착하였습니다.';
$content = nl2br(conv_unescape_nl(stripslashes($qa_content)));
mailer($config['cf_admin_email_name'], $qa_email, $qaconfig['qa_admin_email'], $subject, $content, 1);
}
여기에 추가로
$qa_content = '제목: ' . $qa_subject . PHP_EOL
. '내용: ' . $qa_content . PHP_EOL
. '연락처: ' . $qa_hp . PHP_EOL
. 'qa_1: ' . $qa_1 . PHP_EOL;
를 넣는다.
완성은
$qa_content = '제목: ' . $qa_subject . PHP_EOL
. '내용: ' . $qa_content . PHP_EOL
. '연락처: ' . $qa_hp . PHP_EOL
. 'qa_1: ' . $qa_1 . PHP_EOL;
// 문의글등록 이메일전송
if(($w == '' || $w == 'r') && trim($qaconfig['qa_admin_email'])) {
include_once(G5_LIB_PATH.'/mailer.lib.php');
$subject = $config['cf_title'].' '.$qaconfig['qa_title'].' 메일이 도착하였습니다.';
$content = nl2br(conv_unescape_nl(stripslashes($qa_content)));
'그누보드' 카테고리의 다른 글
php error log 안보이게 하는법 (0) | 2020.11.19 |
---|---|
php_eol이란? (0) | 2020.08.24 |
1:1문의 게시판 비회원도 쓸 수 있도록 하기 (0) | 2020.08.24 |
글 작성후 alert 띄우기, 띄운후 특정 페이지로 이동하기 (0) | 2020.07.07 |
iframe 불러올시 상단 하단 안보이게 하기 (0) | 2020.07.07 |