home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2003 March
/
PCWorld_2003-03_cd.bin
/
Software
/
Komercni
/
OptimAccess
/
support
/
ud0001v1.asp
< prev
next >
Wrap
Text File
|
2000-01-14
|
3KB
|
61 lines
<%@ LANGUAGE="VBSCRIPT" %>
<%
Sub Write(strWriteThis)
response.write(strWriteThis & "<br>")
end sub
%>
<%
Dim objMail
Dim test
Dim test1
Dim test2
Dim test3
Dim test4
Dim test5
Dim test6
Dim test7
Dim blnSuccess
blnSuccess = False
Response.Buffer = True
test1 = request.form("CISLO_NEED")
test2 = request.form("NAZEV_FIRMY_NEED")
test3 = request.form("ADRESA_NEED")
test4 = request.form("OSOBA_NEED")
test5 = request.form("FUNKCE_NEED")
test6 = request.form("TELEFON_NEED")
test7 = request.form("EMAIL_NEED")
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 = "Registrace Update OptimAccess Remote Control ver. 1.0"
objMail.Body ="LICENCNI CISLO :" +request.form("CISLO_NEED")+Chr(13)+Chr(10)+"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_NEED")+Chr(13)+Chr(10)+"FUNKCE : "+request.form("FUNKCE_NEED")+Chr(13)+Chr(10)+"TELEFON : "+request.form("TELEFON_NEED")+Chr(13)+Chr(10)+"MOBIL : "+request.form("MOBIL")+Chr(13)+Chr(10)+"EMAIL : "+request.form("EMAIL_NEED")+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 = "" OR test4 = "" OR test5 = "" OR test6 = "" OR test7 = "" Then %>
<%Response.Redirect "http://www.sodatsw.cz/support/errorud1.htm"%>
<%Else
blnSuccess = objMail.Send%>
<%End If
If blnSuccess Then%>
<% Response.ContentType = "application/x-exe" %>
<%Response.Redirect "http://www.sodatsw.cz/support/ud0001v1.htm"%>
<% Response.ContentType = "text/HTML" %>
<%Response.Redirect "http://www.sodatsw.cz/"%>
<%Else%>
<% Response.ContentType = "text/HTML" %>
<%Response.Redirect "http://www.sodatsw.cz/errortri.htm"%>
<%End If%>