<?
$nama_lengkap = $_POST['Nama_Lengkap'];
$nomor = $_POST['Nomor'];
$alamat = $_POST['Alamat'];
$kode_produk = $_POST['Kode_Produk'];
$jumlah_beli = $_POST['Jumlah_Beli'];
$ket = $_POST['Keterangan'];
$email = "aaaaaa@yaho.com.com";
$subjek = "Pesanan Produk";
$header = "From:".$nama_lengkap.".";
$header .= "Reply-To: aaaaaa@yaho.com.com";
$header .= "PT: Produk";
$isi = "Nama Lengkap :".$nama_lengkap."n";
$isi = "Nomor Hp/Tlp :".$nomor."n";
$isi = "Alamat :".$alamat."n";
$isi = "Kode Produk :".$kode_produk."n";
$isi = "Jumlah Beli :".$jumlah_beli."n";
$isi = "Keterangan :".$ket."n";
$isi = wordwrap($ket, 1000);
mail($email, $subjek, $isi, $header);
if ($Kirim)
{
echo "Pesanan telah berhasil di Kirim.";
}
?>
knpa ada tulisan kya gini..
Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\AppServ\www\doracookies.co\send.php on line 23
mhon bntuannya