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)));
  • 네이버 블러그 공유하기
  • 네이버 밴드에 공유하기
  • 페이스북 공유하기
  • 카카오스토리 공유하기