Gönderen: 24-Mayıs-2010 Saat 12:10 | Kayıtlı IP
|
|
|
<% If Request.querystring("Send") <> "" Then msg_txt = "<font face=""Tahoma"" size=""2""><b>Formu</b>" msg_txt = msg_txt & "<br><br><b>İsim Soyisim:</b> " & Request.form("FromName") msg_txt = msg_txt & "<br><b>Email:</b> " & Request.form("From") msg_txt = msg_txt & "<br><b>Firma:</b> " & Request.form("Firma") msg_txt = msg_txt & "<br><b>Telefon:</b> " & Request.form("Phone") msg_txt = msg_txt & "<br><b>Gsm:</b> " & Request.form("gsm") msg_txt = msg_txt & "<br><b>Adres:</b> " & Request.form("adres") msg_txt = msg_txt & "<br><b>Fax:</b> " & Request.form("fax") msg_txt = msg_txt & "<br><b>İl:</b> " & Request.form("il") msg_txt = msg_txt & "<br><b>İlçe:</b> " & Request.form("ilce") msg_txt = msg_txt & "<br><br><b>Mesajınız:</b><br> " & Request.form("mesaj") msg_txt = msg_txt & "</font>" Set Mail = Server.CreateObject("Persits.MailSender") Mail.Host = "mail.MAİL ADRESIN XXX" Mail.From = Request.form("From") Mail.FromName = Request.form("FromName") Mail.AddAddress "MAİL ADRESİNİ YAZXXX" Mail.Subject = "Bayi Formu" Mail.IsHTML = True Mail.Body = msg_txt
On Error Resume Next Mail.Send If Err <> 0 Then msg = "Gönderilmedi. Hata yaptınız.<br>" & Err.Description else msg = "Kaydınız Tamamlanmıştır.Tekrar size dönülerek onay alınacaktır.." End If End If %> <html> <head> <meta http-equiv="Content-Language" content="tr"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1254"> <title>FORMU</title> <style type="text/css"> td{ font-family: Tahoma; font-size: 11px; font-weight: bold; padding: 2 5 2 0 } input,textarea{ font-family: Tahoma; font-size: 11px; width: 150px; } </style> </head> <body bgcolor="#FFFFFF" text="#000000" link="#3366CC" vlink="#666666" alink="#996600"> <table cellpadding="0" cellspacing="0" align="center"> <form action="bayilik.asp?send=1" method="post"> <tr><td colspan="2" align="center" style="padding-bottom:15"> <font face="Tahoma" size="3"> <br> <img src="cark/_mail.png" width="64" height="64"><br> Bayi Müracat Formu</font></td></tr> <tr><td>İsim Soyisim</td> <td><input type="Text" name="FromName"></td> </tr> <tr><td>Email</td> <td><input type="Text" name="From"></td> </tr> <tr><td>Firma</td> <td><input type="Text" name="Firma"></td> </tr> <tr><td>Telefon</td> <td><input type="Text" name="Phone"></td> </tr> <tr><td>Gsm</td> <td><input name="gsm" size="25"></td> </tr> <tr><td>Adres</td> <td><input name="adres" size="30"></td> </tr> <tr><td>Fax</td> <td><input name="fex" size="20"></td> </tr> <tr><td>İl</td> <td><input name="il" size="20"></td> </tr> <tr><td>İlçe</td> <td><input name="ilce" size="20"></td> </tr> <tr><td>Bayi Notları<br></td> <td><textarea name="mesaj" rows="4"></textarea></td> </tr> <tr><td colspan="2" align="right"><input type="Submit" value="Gönder" style="width:50px"></td></tr> <%If Request.querystring("Send") <> "" Then%> <tr><td colspan="2" align="center"><%=msg%></td></tr> <%End If%> </form> </table> </body> </html>
DENENMISTIR
__________________ design hakan
|