폼메일 지메일이 수신이 안됩니다

폼메일 지메일이 수신이 안됩니다

QA

폼메일 지메일이 수신이 안됩니다

본문

<?php
include_once('./_common.php');

define("_INDEX_", TRUE);

include_once(G5_THEME_MSHOP_PATH.'/shop.head.php');
include_once(G5_LIB_PATH.'/mailer.lib.php'); 
?>

 


  <div class="counsel">
    <?if($flag == 'send') {
    $mail_content = "
        <br>이름  : $name
        <br>메일  : $mail
        <br>문의  : $category
        <br>휴대폰 : $phone
        <br>내용 : ".nl2br($contents);
    
    $file = array();
    if ($_FILES['file1']['name'])  { 
            $file[] = attach_file($_FILES['file1']['name'], $_FILES['file1']['tmp_name']); 
    }
    $subject = "문의합니다.";
    $type = 1;
    $fnick = $name;
    $fmail = $mail;
    $to = $config['cf_admin_email'];

    mailer($fnick, $fmail, $to, $subject, $mail_content, $type, $file);

    alert('내용이 전달되었습니다. \n\n확인 후 연락드리겠습니다.',$PHP_SELF);

}
?>
    <script type="text/javascript">
        function setEmailDom(obj1, obj2) {
            obj1.email2.value = obj2;
        }
        </script> 
    
    <!-- pc-->
    <div class="tbl_frm01 tbl_wrap">
      <form method='post' action='<?=$PHP_SELF?>' enctype="multipart/form-data">
        <input type='hidden' name='flag' value='send'>
        <table>
          <tr>
            <th scope="row"><label for="user_name2">NAME</label></th>
            <td><input name="name" type="text" size="20" id="name" class="frm_input required" style="width:60%;" required itemname='이름'/></td>
          </tr>
          <tr>
            <th scope="row">CATEGORY</th>
            <td><select name="category" id="category">
                <option value="General Inquiry">General Inquiry</option>
                <option value="Account">Account</option>
                <option value="Shipping Delivery">Shipping Delivery</option>
                <option value="Defective & Damaged Products">Defective & Damaged Products</option>
              </select></td>
          </tr>
          <tr>
            <th scope="row"><label for="email">E-Mail Address</label></th>
            <td><input name="mail" type="text" size="20" id="leter" class="frm_input required" style="width:60%;" required itemname='메일'/></td>
          </tr>
          <tr>
            <th scope="row">PHONE</th>
            <td><input name="phone" type="text" title="폰" maxlength="15" id="phone" class="frm_input required" size="10" style="width:60%" required itemname='폰'></td>
          </tr>
          <tr>
            <th scope="row">CONTENT</th>
            <td><div style="color:red;line-height:22px;">
                <textarea name="contents" style="height:200px;"  class="frm_input" ></textarea>
              </div></td>
          </tr>
        </table>
        <br />
        <div style="height:50px; line-height:15px; padding-bottom:30px; text-align:center;">
          <input type="submit" value="SEND" accesskey="s" class="btn_submit">
          <a href="/index.html" class="btn_cancel">CANCEL</a> </div>
      </form>
    </div>
 

 

네이버는 잘들어오는데 구글 지메일에서 수신이 안되네요

뭐가 문제일까요?

 

이 질문에 댓글 쓰기 :

답변 1

답변을 작성하시기 전에 로그인 해주세요.
전체 123,624
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT