폼메일 관련하여 질문합니다..

매출이 오르면 내리는 수수료! 지금 수수료센터에서 전자결제(PG)수수료 비교견적 신청해 보세요!
폼메일 관련하여 질문합니다..

QA

폼메일 관련하여 질문합니다..

본문

회사 홈페이지를 코딩중인데.....혼자 독학으로 공부한 거라 완벽하지않을 수 있습니다ㅠㅠ...

영상도 제가 제작하며 작업중이라 잘못된 걸 수도 있습니다ㅠ

 

https://sir.kr/g5_skin/10486

위 글 참고하여 작업하였습니다..

 

닷홈무료호스팅에서 작업하다가 닷홈무료호스팅은 메일전송기능이 막혀져있다해서

카페24호스팅에서 결제후 그누보드 설치하고 사용중입니다..ㅠㅠ

 

근데 메일 폼 입력후 전송하기 누르면

1935670757_1699347431.5099.png
링크 : https://honeyplant07.cafe24.com/

이렇게 뜹니다ㅠㅠ.....

 

 

폼메일 Php코드는 이거구


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=0,maximum-scale=10,user-scalable=yes">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>폼메일보내기</title>
<style>
@media (max-width: 767px){
.input-box {
display: block;
}
}
</style>
</head>
 
<body>
<form name="contactform" method="post" action="send.php" class="input-box">
<input name="id" type="text" class="ipt" placeholder="SNS ID or URL" required>
<input name="first_name" type="text" class="ipt" placeholder="Name" required>
<input name="telephone" type="text" class="ipt" placeholder="Phone Number" required>
<input name="email" type="text" class="ipt" placeholder="E-Mail" required>
<input name="introduction" type="text" class="ipt" placeholder="Introduction" required>
<div class="personal-box">
<input type="checkbox" name="" id=""><span>개인정보 수집 및 이용에 동의합니다.</span>
</div>
<input type="submit" value="Send submit" class="btn_submit">
</form>
</body>
</html>
 

 

샌드php는 다른 거 수정안했고 오로지 6줄에 있는 주소만 변경했습니다..

ㅠㅠ 안되는 이유가 뭘까요 다른 분들은 잘 되신다 하시는데

 

아 그리구 그누보드 관리자에서 메일 테스트해서 메일 발송되는 ㄱ거 확인했습니다.......

 

몇주째 이 작업만 하고있는데.......이 폼메일만 하면 해결되는데!!!!!!!!!!!! ㅠㅠㅠㅠㅠㅠㅠ

 

이 질문에 댓글 쓰기 :

답변 1

참고하신 send.php 파일만 놓고 보면

if(!isset($_POST['first_name']) ||
        !isset($_POST['email']) ||
        !isset($_POST['telephone']) ||
        !isset($_POST['comments'])) {
        died('We are sorry, but there appears to be a problem with the form you submitted.');       
    }

입력폼에서 comments 가 없는 것 같네요

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

회원로그인

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