Neler yeni

Yeni mesajlar Yeni konular En çok mesaj En çok tepki En çok görüntülenen

Flash sitemde iletişim formu sorunu(?)(yardım)

xtremend33

🌱Yeni Üye🌱
Katılım
4 Nis 2010
Mesajlar
1
Tepkime puanı
0
Merhaba arkadaşlar ben bildiğim kadarıyla(pek bilmem) bi flash siteyi editledim ama iletişim formu için hazır olarak

contack.asp:
<%
for i=1 to 7
message=message + "<strong>"&Request("field_"&i&"_descr")&"</strong>   "&Request("field_"&i)&"<br>"
next
message=message + Request("message")
smtpServer = "enter your SMTP SERVER HERE"
smtpPort = 25


name = Request("your_name")
Set myMail = CreateObject("CDO.Message")
myMail.Subject = "from " & name
myMail.From = Request("your_email")
myMail.To = Request("recipient")
myMail.HTMLBody = "<html><head><title>Contact letter</title></head><body><br>" & message & "</body></html>"
myMail.Configuration.Fields.Item("https://schemas.microsoft.com/cdo/configuration/sendusing") = 2
myMail.Configuration.Fields.Item("https://schemas.microsoft.com/cdo/configuration/smtpserver") = smtpServer
myMail.Configuration.Fields.Item("https://schemas.microsoft.com/cdo/configuration/smtpserverport") = smtpPort
myMail.Configuration.Fields.Update
myMail.Send

%>

VE

contact.php:
<?
Error_Reporting(E_ALL & ~E_NOTICE);

while ($request = current($_REQUEST)) {
if (key($_REQUEST)!='recipient') {
$pre_array=split ("&777&", $request);
$post_vars[key($_REQUEST)][0]=$pre_array[0];
$post_vars[key($_REQUEST)][1]=$pre_array[1];
}
next($_REQUEST);
}
reset($post_vars);
$subject="From ".$post_vars['your_name'][0] ;
$headers= "From: ".$post_vars['your_email'][0] ."\n";

/**** In order to get correct characters use: charset=utf-8' ****/
$headers.='Content-type: text/html; charset=utf-8';
$message='';
while ($mess = current($post_vars)) {
if ((key($post_vars)!="i") && (key($post_vars)!="your_email") && (key($post_vars)!="your_name")) {

$message.="<strong>".$mess[1]."</strong>   ".$mess[0]."<br>";
}
next($post_vars);
}

mail($_REQUEST['recipient'], $subject, "
<html>
<head>
<title>Contact letter</title>
</head>
<body>
<br>
".$message."
</body>
</html>" , $headers);
echo ("<strong>Your message was successfully sent!</strong><br/>

<strong>One of our representatives will get<br />
back to you as soon as possible.</strong>");

?>
<script>
resizeTo(400, 400);
</script>

VE

Gönder buttonunun Actions bölümü:
on (release) {
for (i=1; i<_parent.fields_descriptions.length; i++) {
if (_parent[_parent.fields_descriptions[1]]!=_parent.fields_descriptions[2]) {
this[_parent.fields_descriptions[1]]=_parent[_parent.fields_descriptions[1]]+"&777&"+_parent.fields_descriptions[2];
}
_parent.reset_txt(_parent["t"+i], _parent.fields_descriptions[1], _parent.fields_descriptions[2]);
}

this.recipient=_parent.rec;
i=undefined;
getURL("contact."+_parent.serv, "_blank", "POST");

}


İşte elimde bunlar var bunları da editlediğim(yani mail adresi istenen yere adres isim filan)halde mail adresime göndermiyor
Umarım açıklayıcı olabilmişimdir
Yardımcı olursanız çok sevinirim
Teşekkürler...
 

Benzer konular

Üst