2014-05-24 1 views
0

쇼핑 카트를 XAMPP에 가지고 있는데 제품을 주문하고 보안 체크 아웃을 클릭하면 로컬 호스트/머큐리 또는 썬더 버드로 이메일을 보내고 싶습니다.PHP/Xampp로 메일

php/php.ini 폴더 또는 Sendmail 폴더에서 내가하는 일/변경 사항은 메일을받지 못합니다 ..이 링크를 사용했지만 unfortenelty로 주목했습니다 .. 보내려는 XAMPP를 구성하는 방법 localhost에서 메일 보내시겠습니까?

어떻게 Secure checkout (안전한 결제)을 클릭 한 후에 주문하면 이메일을 쉽게 알 수 있습니까? 이것은 내 managecartform.php 파일입니다.

<?xml version="1.0" encoding="UTF-8"?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"/> 
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 
<head> 
<title>XXL Computer winkel</title> 
<script type="text/javascript" src = "cookiefuncties.js"></script> 
<script type = "text/javascript" src = "shoppingcartfuncties.js"></script> 
<link href='css/main.css' type='text/css' rel='stylesheet' media='all' /> 
<style type='text/css'> 

form label { 
    display: block; 
    font-size: 1em; 
} 

</style> 

</head> 
<body> 
<b><p>Overzicht van Uw Shoppingcart:</p></b> 
<p> 
<form action="mailto:[email protected]" 
enctype="text/plain" onSubmit="return checkForm(this);" 
method="post"> 
<table border=1> 
     <tr> 
     <td class="td"><b>Product ID</b></td> 
     <td class="td"><b>Merk</b></td> 
     <td class="td"><b>Model</b></td> 
     <td class="td"><b>Prijs</b></td> 
     <td class="td"><b>Aantal</b></td> 
     <td class="td"><b>Totaal</b></td> 
     <td class="td"><b>Verwijder</b></td> 
     </tr> 
      <script type="text/javascript"> 
       cartWeergeven(); 
       bestellingsFormInvullen(); 
      </script> 
      </table> 
      <br /><br /> 
      <table border="1" width="500"> 
      <tr> 
      <td>Firstname: <input type="text" size="18" name="firstname" /></td> 
      </tr> 
      <tr> 
      <td>Surname: <input type="text" size="18" name="surname" /></td> 
      </tr> 
      <tr> 
      <td>E-mail: <input type="text" size="49" name="email" /></td> 
      </tr> 
      </table> 
      <a href="xxlcomputers.html"><img src="images/terug.jpg" /></a> 
      <a href="xxlcomputers.html"><img src="images/reset.jpg" onclick="removeAlleCookies();" /></a> 
      <input type="image" src="images/checkout.jpg" onclick="location.href='succes.html';"> 
     </form> 
    </p> 
</body> 
</html> 

<form action="?" method="post"> 
<ul> 
    <li>  
     <label for="name">Name:</label> 
     <input type="text" name="name" id="name" /> 
    </li> 

    <li>  
     <label for="email">Email</label> 
     <input type="text" name="name" id="email" /> 
    </li> 

    <li>  
     <label for="topic">Name:</label> 
     <select> 
      <option value="Acer">Acer</option> 
      <option value="Toshiba">Toshiba</option> 
     </select> 
    </li> 

     <li> 
     <label for="message">Message:</label> 
     <textarea id="message" name="message" cols="42" rows="9"></textarea> 
    </li> 

    <li> 
    <input type="submit" value="Submit"></li> 
</ul> 
+0

두 번째 자기 복제를 축하합니다. 1. [Checkout Localhost (XAMPP)가있는 메일] (http://stackoverflow.com/q/23814629/367456) 및 3.) [How Make Order Tracking PHP/MySQL을 사용할 수 있습니까?] (http://stackoverflow.com/q/23856582/367456) – hakre

답변

0

XAMPP (윈도우 플랫폼)은 리눅스/기타 플랫폼에서 기본값으로 이렇게 테스트 메일 서버 도구 (http://www.toolheap.com/test-mail-server-tool/)를 설치하려고 달리 SMTP 포트 (25)와 함께 작동하지 않습니다. 일단 설치하고 응용 프로그램과 함께 열면 도구는 요청 된대로 메일을 보내는 서버를 시뮬레이트합니다.

관련 문제