메일발송에 대해 질문있습니다!

메일발송에 대해 질문있습니다!

QA

메일발송에 대해 질문있습니다!

본문

안녕하십니까 고수님들 

 

하루하루 실력부족으로 늙어가는 고급지게 입니다..

 

지금 현재 메일발송 폼을 만들어서 쓰고있는데요

 

메일이 gmail에서는 자동으로 스팸처리를 해버리는데..

 

현재 네이버 다음 등등 국내 이메일은 잘 오고 있습니다ㅠㅠ

 

영카트 결제 후 주문내역 안내메일은 안걸러지고 잘 오더라구요ㅠㅠ

 

제가 만든 메일 폼이랑 주문내역 폼이랑 무슨 차이 일까요 ?

 

지메일에선 

'emailaddress'에서 보낸 메일이 아닐 가능성이 있습니다. 라고 떠요ㅠㅠ


 

살려주세요

 

 

 


<?php
define('_INDEX_', true);
include_once('../common.php');
include_once(G5_LIB_PATH.'/mailer.lib.php');
include_once(G5_CAPTCHA_PATH.'/captcha.lib.php');
$file = array();
for ($i=1; $i<=count($_FILES); $i++)
{
if ($_FILES["file".$i][name]) {
$file[]= attach_file($_FILES["file".$i][name], $_FILES["file".$i][tmp_name]);
}
}

$content=<<<HEREDOC
<table style="margin:auto; padding:0; width:70%; border:2px solid #2949af; font-size:15px; line-height:40px; font-family:'NANUMGOTHIC'; border-collapse:collapse;">
<tr style="border-bottom:1px solid #2949af;">
<td colspan="2" style="height:130px; text-align:center; border-bottom:1px solid #fff; background:url('../img/main_header_bg.jpg') #2949af repeat-x;"><img src="http://wbff.impmedia.kr/img/main_logo.png" alt="WBFF ASIA"></td>
</tr>
<tr style="border-bottom:1px solid #2949af;">
<td style="padding:0 30px; width:240px; height:40px; background:#fff; color:#2949af; border-bottom:1px solid #2949af; font-weight:600; ">한글이름</td><td style="padding:0 30px; height:30px; color:#000;">$k_nm</td>
</tr>
<tr style="border-bottom:1px solid #2949af;">
<td style="padding:0 30px; width:240px; height:40px; background:#fff; color:#2949af; border-bottom:1px solid #2949af; font-weight:600; ">First Name</td><td style="padding:0 30px; height:30px; color:#000;">$first_nm</td>
</tr>
<tr style="border-bottom:1px solid #2949af;">
<td style="padding:0 30px; width:240px; height:40px; background:#fff; color:#2949af; border-bottom:1px solid #2949af; font-weight:600; ">Last Name</td><td style="padding:0 30px; height:30px; color:#000;">$last_nm</td>
</tr>
<tr style="border-bottom:1px solid #2949af;">
<td style="padding:0 30px; width:240px; height:40px; background:#fff; color:#2949af; border-bottom:1px solid #2949af; font-weight:600; ">생년월일</td><td style="padding:0 30px; height:30px; color:#000;">$birth</td>
</tr>
<tr style="border-bottom:1px solid #2949af;">
<td style="padding:0 30px; width:240px; height:40px; background:#fff; color:#2949af; border-bottom:1px solid #2949af; font-weight:600; ">키(cm)</td><td style="padding:0 30px; height:30px; color:#000;">$height</td>
</tr>
<tr style="border-bottom:1px solid #2949af;">
<td style="padding:0 30px; width:240px; height:40px; background:#fff; color:#2949af; border-bottom:1px solid #2949af; font-weight:600; ">몸무게(kg)</td><td style="padding:0 30px; height:30px; color:#000;">$weight</td>
</tr>
<tr style="border-bottom:1px solid #2949af;">
<td style="padding:0 30px; width:240px; height:40px; background:#fff; color:#2949af; border-bottom:1px solid #2949af; font-weight:600; ">성별</td><td style="padding:0 30px; height:30px; color:#000;">$Gender</td>
</tr>
<tr style="border-bottom:1px solid #2949af;">
<td style="padding:0 30px; width:240px; height:40px; background:#fff; color:#2949af; border-bottom:1px solid #2949af; font-weight:600; ">우편번호</td><td style="padding:0 30px; height:30px; color:#000;">$zip_code</td>
</tr>
<tr style="border-bottom:1px solid #2949af;">
<td style="padding:0 30px; width:240px; height:40px; background:#fff; color:#2949af; border-bottom:1px solid #2949af; font-weight:600; ">주소</td><td style="padding:0 30px; height:30px; color:#000;">$Address1</td>
</tr>
<tr style="border-bottom:1px solid #2949af;">
<td style="padding:0 30px; width:240px; height:40px; background:#fff; color:#2949af; border-bottom:1px solid #2949af; font-weight:600; ">상세주소</td><td style="padding:0 30px; height:30px; color:#000;">$Address2</td>
</tr>
<tr style="border-bottom:1px solid #2949af;">
<td style="padding:0 30px; width:240px; height:40px; background:#fff; color:#2949af; border-bottom:1px solid #2949af; font-weight:600; ">휴대폰번호</td><td style="padding:0 30px; height:30px; color:#000;">$m_num</td>
</tr>
<tr style="border-bottom:1px solid #2949af;">
<td style="padding:0 30px; width:240px; height:40px; background:#fff; color:#2949af; border-bottom:1px solid #2949af; font-weight:600; ">이메일 주소</td><td style="padding:0 30px; height:30px; color:#000;">$e_addr</td>
</tr>
<tr style="border-bottom:1px solid #2949af;">
<td style="padding:0 30px; width:240px; height:40px; background:#fff; color:#2949af; border-bottom:1px solid #2949af; font-weight:600; ">1번째 참가 종목 ( 24만원 )</td><td style="padding:0 30px; height:30px; color:#000;">$first_select</td>
</tr>
<tr style="border-bottom:1px solid #2949af;">
<td style="padding:0 30px; width:240px; height:40px; background:#fff; color:#2949af; border-bottom:1px solid #2949af; font-weight:600; ">2번째 참가 종목 ( + 5만원 )</td><td style="padding:0 30px; height:30px; color:#000;">$second_select</td>
</tr>
<tr style="border-bottom:1px solid #2949af;">
<td style="padding:0 30px; width:240px; height:40px; background:#fff; color:#2949af; border-bottom:1px solid #2949af; font-weight:600; ">개인포스터제작 (+ ₩ 40,000)</td><td style="padding:0 30px; height:30px; color:#000;">$third_select</td>
</tr>
<tr style="border-bottom:1px solid #2949af;">
<td style="padding:0 30px; width:240px; height:40px; background:#fff; color:#2949af; border-bottom:1px solid #2949af; font-weight:600; ">개인포토그래퍼 촬영 (+ ₩ 90,000)</td><td style="padding:0 30px; height:30px; color:#000;">$fourth_select</td>
</tr>
<tr style="border-bottom:1px solid #2949af;">
<td style="padding:0 30px; width:240px; height:40px; background:#fff; color:#2949af; border-bottom:1px solid #2949af; font-weight:600; ">클래식 출전여부</td><td style="padding:0 30px; height:30px; color:#000;">$classic_select</td>
</tr>
<tr style="border-bottom:1px solid #2949af;">
<td style="padding:0 30px; width:240px; height:40px; background:#fff; color:#2949af; border-bottom:1px solid #2949af; font-weight:600; ">무대소개시 자기소개 문구</td><td style="padding:0 30px; height:30px; color:#000;">$ABOUT</td>
</tr>
<tr>
<td colspan="2" style="padding:0 30px; height:80px; color:#2949af; font-size:30px;">$final_amount</td>
</tr>
</table>
HEREDOC;

mailer($config['cf_admin_email_name'], $config['cf_admin_email'], $e_addr, '참가신청', $content,1,$file);



alert('참가신청 완료되었습니다.','/shop');
?>

이 질문에 댓글 쓰기 :

답변 1

이건 현제 사용하는 서버메일을 구글에서 걸러서 그렇습니다

구글 스팸에 대해 검색해보시거나 구글에 문의해서 안되게 한다거나 화이트도메인 등록한다거나  

아무튼 서버상의 문제는 아닙니다 

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

회원로그인

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