테스트 사이트 - 개발 중인 베타 버전입니다

formmail select 선택 발송 채택완료

SodaSalt 5년 전 조회 3,182

다른 폼메일 적용시에는 다음메일로는 수신이 안되더군요..

 

http://g5shop.returnway.com/formmail/formmail.php">http://g5shop.returnway.com/formmail/formmail.php

 

트리플님께서 공유해 주신 폼메일 스킨 사용중입니다.

담당자별 이메일 전송을 하기위해  도움 요청 드립니다.

 

 

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

답변 3개

플라이
5년 전

smtp를 바꿔서 적용해 보시는것도 있지만 다른 부분은 화이트 도메인을 등록해서 처리해 주셔야 하는 부분도 있습니다.

로그인 후 평가할 수 있습니다

답변에 대한 댓글 1개

S
SodaSalt
5년 전
플라이님 답변 감사하드립니다. 화이트 도메인도 생각 해 보았지만,
현재 스킨으로 다음메일로 정상 확인 후에 담당자별로 보내려고 합니다.

// $dept = $_POST['subject'];
17
// if($dept == '담당자') {
18
// $config['send_to'] = '******<a href="//sir.kr/main/member/?mb_id=bajie123" class="mention_user_info" target="_blank">@naver</a>.com';
19
// } else if($dept == '담당자1') {
20
// $config['send_to'] = '*********<a href="//sir.kr/main/member/?mb_id=bajie123" class="mention_user_info" target="_blank">@naver</a>.com';
21
// } else if($dept == '담당자2') {
22
// $config['send_to'] = '*****@nate.com';
23
// }
24
// select //

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

sosososo
5년 전

</p>

<p><?php</p>

<p>// 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</p>

<p>// 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</p>

<p>// Who receive all emails?

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

<p> </p>

<p> //  select //</p>

<p>// $dept = $_POST['subject'];

// if($dept == '담당자') {

// $config['send_to'] = '******@naver.com';

// } else if($dept == '담당자1') {

// $config['send_to'] = '*********@naver.com';

// } else if($dept == '담당자2') {

// $config['send_to'] = '*****@nate.com';

// }</p>

<p>//   select  //</p>

<p>

// Email Subject

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

?>

로그인 후 평가할 수 있습니다

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

sosososo
5년 전

</p>

<p>    <div id="contactForm_form"  class="form_01">

        <div class="tbl_frm01 tbl_wrap">

            <ul>

                <li>

                    <label for="contact_name" class="sound_only">이름 *</label>

                    <input type="text" class="frm_input email full_input required" id="contact_name" name="contact_name" title="Name" placeholder="Name">

                </li>

                

                               <select name="subject" class="form-control" style="border: 1px solid #ddd;border-radius: 3px; padding: 5px 60px 5px 10px;">

                          <option value="담당자">담당자</option>

                          <option value="담당자1">담당자1</option>

                          <option value="담당자2">담당자2</option></p>

<p>                          </select>

            

                <li>

                    <label for="contact_email" class="sound_only">이메일 *</label>

                    <input type="email" class="frm_input email full_input required" id="contact_email" name="contact_email" title="Email" placeholder="Email">

                </li>

                <li>

                    <label for="contact_phone" class="sound_only">연락처</label>

                    <input type="email" class="frm_input email full_input required" id="contact_phone" name="contact_phone" title="Phone" placeholder="Phone">

                </li>

                <li>

                    <label for="contact_subject" class="sound_only">제목 *</label>

                    <input type="email" class="frm_input email full_input required" id="contact_subject" name="contact_subject" title="Subject" placeholder="Subject">

                </li>

                <li>

                    <label for="contact_message" class="sound_only">내용 *</label>

                    <textarea id="contact_message" name="contact_message" rows="10" title="Message" placeholder="Message"></textarea>

                </li>

            </ul>

            <fieldset class="contactForm_agree2">

                <label for="agree">개인정보처리방침안내의 내용에 동의합니다.</label>

                <input type="checkbox" name="agree" value="1" id="agree">

            </fieldset>

        </div>

    </div></p>

<p>

 

로그인 후 평가할 수 있습니다

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

답변을 작성하려면 로그인이 필요합니다.

로그인