home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2000 April
/
PCWorld_2000-04_cd.bin
/
Software
/
Komercni
/
Sodatsw
/
deutsch
/
trialoa.asp
< prev
next >
Wrap
Text File
|
1999-01-14
|
3KB
|
53 lines
<%@ LANGUAGE="VBSCRIPT" %>
<%
Sub Write(strWriteThis)
response.write(strWriteThis & "<br>")
end sub
%>
<%
Dim objMail
Dim test
Dim test1
Dim test2
Dim test3
Dim blnSuccess
blnSuccess = False
Response.Buffer = True
test1 = request.form("NAZEV_FIRMY_NEED")
test2 = request.form("ADRESA_NEED")
test3 = request.form("OSOBA")
Set objMail = Server.CreateObject("VBMail.Connector")
objMail.Sender = "www@box.cz"
objMail.Recipient = "www@box.cz"
objMail.SenderName = "www@box.cz"
objMail.RecipientName = "www@box.cz"
objMail.Subject = "Trial OA ze Serveru Deutsch"
objMail.Body ="NAZEV FIRMY :" +request.form("NAZEV_FIRMY_NEED")+Chr(13)+Chr(10)+"ADRESA : "+request.form("ADRESA_NEED")+Chr(13)+Chr(10)+"ICO : "+request.form("ICO")+Chr(13)+Chr(10)+"DIC : "+request.form("DIC")+Chr(13)+Chr(10)+"OSOBA : "+request.form("OSOBA")+Chr(13)+Chr(10)+"FUNKCE : "+request.form("FUNKCE")+Chr(13)+Chr(10)+"TELEFON : "+request.form("TELEFON")+Chr(13)+Chr(10)+"MOBIL : "+request.form("MOBIL")+Chr(13)+Chr(10)+"EMAIL : "+request.form("EMAIL")+Chr(13)+Chr(10)+"WWW : "+request.form("WWW")+Chr(13)+Chr(10)+"KOD1 : "+request.form("KOD1")+Chr(13)+Chr(10)+"POCETKUSU1 :"+request.form("POCETKUSU1")+Chr(13)+Chr(10)+"CENA1 : "+request.form("CENA1")+Chr(13)+Chr(10)+"KOD2 : "+request.form("KOD2")+Chr(13)+Chr(10)+"POCETKUSU2 :"+request.form("POCETKUSU2")+Chr(13)+Chr(10)+"CENA2 : "+request.form("CENA2")+Chr(13)+Chr(10)+"KOD3 : "+request.form("KOD3")+Chr(13)+Chr(10)+"POCETKUSU3 :"+request.form("POCETKUSU3")+Chr(13)+Chr(10)+"CENA3 : "+request.form("CENA3")+Chr(13)+Chr(10)
objMail.Server = "212.47.11.197"
if test1 = "" OR test2 = "" OR test3 = "" Then %>
<%Response.Redirect "http://www.sodatsw.cz/deutsch/errortri.htm"%>
<%Else
blnSuccess = objMail.Send%>
<%End If
If blnSuccess Then%>
<% Response.ContentType = "application/x-exe" %>
<%Response.Redirect "http://www.sodatsw.cz/deutsch/oasodat.exe"%>
<% Response.ContentType = "text/HTML" %>
<%Response.Redirect "http://www.sodatsw.cz/"%>
<%Else%>
<% Response.ContentType = "text/HTML" %>
<%Response.Redirect "http://www.sodatsw.cz/deutsch/errortri.htm"%>
<%End If%>