2026, 새로운 도약을 시작합니다.

폼메일(그누보드 5.3)

2018-04-18-16;52;03.jpg

기존 https://sir.kr/g5_skin/19820 스킨 디자인을 그누보드 5.3버전으로 변경했습니다.

사용방법은 그누보드 설치경로에 업로드 하신후 http://localhost/formmail/formmail.php 형식으로 호출하시면 됩니다.

설정은 /formmail/php/config.inc.php파일의 설정들 수정 후 사용하시면 됩니다.

[code]

<?php

// USE SMTP OR mail()
// SMTP is recommended, mail() is disabled on most shared hosting servers.
// IF false : SMTP host/port/user/pass/ssl not used, leave empty or as it is!
$config['use_smtp']    = true;      // true|false

// SMTP Server Settings
$config['smtp_host']    = 'smtp.naver.com';   // eg.: smtp.mandrillapp.com
$config['smtp_port']    = 465;      // eg.: 587
$config['smtp_user']    = '********@naver.com';    // you@gmail.com
$config['smtp_pass']    = '********';    // password
$config['smtp_ssl']    = true;      // true for google (port 465), false for others

// Who receive all emails?
$config['send_to']    = '********@naver.com';   // destination of all emails sent throught contact form

// Email Subject
$config['subject']    = 'Company Contact Form'; // subject of emails you receive
?>

[/code]

첨부파일

formmail.zip (33.8 KB) 1273회 2018-04-18 16:51
|

댓글 47개

감사합니다. 수고하셨습니다! Orz
수고 하셨습니다
공개해 주셔서 감사합니다.
좋은걸 공유해 주셔서 감사합니다.
고생하셨네요~^^좋은 하루 되세요
멋지네요. 수고하셨습니다.
감사합니다.
수고하셨습니다.~
감사합니다. 잘 쓰겠습니다.
폼메일.. 감사히 잘쓰겠습니다!..
굿 입니다~
감사합니다
와!! 감사합니다.
감사합니다.
항상 수고가 많으십니다.
CSS가 적용안되면 어떤걸 가져다 사용해야할까요?
대단하네요 감사합니다
대단히 감사합니다.
죄송하지만 첨부화일은 어떻게 적용 하는지 알 수 있을까요?
그누보드 설치 디렉토리에 업로드후 http://xxx.xx.xx/formmail/formmail.php
형식으로 호출하시면 됩니다.
앗 답글주셔서 감사합니다. 제가 질문을 잘못드렸네요 ;; 올려주신 스킨은 너무 잘 됩니다.
화일도 첨부해 보내는 방법을 여쭤 보았던것입니다. ;; 죄송하지만 대략적이라도 방법을 알 수 있을까요?;;
이것 저것 적용해 보았지만 화일첨부 발송은 잘 되질 않네요 ㅜㅜ
앗 그거는 formmail/php/phpmailer/5.1/class.phpmailer.php파일을 참조해보시거나
phpmailer을 검색해보시는것이 좋을것같습니다.
정말 감사합니다. 큰 도움되었습니다.~^^
좋은 자료 감사합니다.!
개발쪽 내용을 하나도 몰라 조금 헤매긴 했는데, 그래도 잘 적용되어서 옵니다! ㅠㅠ!
트리플님 라디오버튼 , 체크박스 도 추가해주세요... ㅠ.ㅠ
select 를 이용해서 선택된 담당자에게 메일 보내려면 어찌 해야 할까요 ?

<?php

// USE SMTP OR mail()
// SMTP is recommended, mail() is disabled on most shared hosting servers.
// IF false : SMTP host/port/user/pass/ssl not used, leave empty or as it is!
$config['use_smtp'] = true; // true|false

// SMTP Server Settings
$config['smtp_host'] = 'smtp.daum.net'; // eg.: smtp.mandrillapp.com
$config['smtp_port'] = 465; // eg.: 587
$config['smtp_user'] = '********@daum.net'; // you@gmail.com
$config['smtp_pass'] = '******'; // password
$config['smtp_ssl'] = true; // true for google (port 465), false for others

// Who receive all emails?

// $config['send_to'] = '*******@daum.com'; // destination of all emails sent throught contact form


$dept = $_POST['subject'];
if($dept == '생활용품') {
$config['send_to'] = '********@naver.com';
} else if($dept == '물관련제품') {
$config['send_to'] = '*************@naver.com';
} else if($dept == '신규개발관련') {
$config['send_to'] = '***********@nate.com';
}
// Email Subject
$config['subject'] = 'Company Contact Form'; // subject of emails you receive
?>
감사합니다 잘쓰겠습니다!
받는사람: "undisclosed-recipients" <:;>
받는사람이 이렇게 나오는건 어떤 문제인가요?
트리플님 덕분에 홈페이지 작업에 정말 많은 도움 되었습니다
먼저 감사드립니다!

한가지 문의사항이 있는데요.
http://localhost/formmail/formmail.php 경로가 아닌 main.php에
<?php include_once('./formmail/formmail.php'); ?>로 가져와서 메일을 보낼 수는 없을까요??

메인페이지로 include 하여 전송버튼 누르니 contact.js $.ajax 부분 error에 걸려 "Server Internal Error" 메세지가 출력 됩니다 ㅠ

답변 부탁드릴게요
감사합니다.
패스워드부분은 무슨 의미인지요?

댓글 작성

댓글을 작성하시려면 로그인이 필요합니다.

로그인하기
🐛 버그신고