<%if request("nome")="" then%>
<%else
dim testo
'------------ Costruzione Email
testo=testo & vbCrLf & "
www.glicine-lanterna.it"
testo=testo & vbCrLf & ""
testo=testo & vbCrLf & "
"
testo=testo & vbCrLf & "| |
"
testo=testo & vbCrLf & ""
' --------- tabella dati -----
testo=testo & vbCrLf & ""
testo=testo & vbCrLf & "| Richiesta Informazioni proveniente da www.glicine-lanterna.it TEDESCOINGLESE | "
testo=testo & vbCrLf & "| | | "
testo=testo & vbCrLf & "| Nome e Cognome | " & request("nome") & " " & request("cognome") & " | "
testo=testo & vbCrLf & "| Indirizzo | " & request("citta") & " - " & request("indirizzo") & " - " & request("cap") & " - " &request("stato") & " | "
testo=testo & vbCrLf & "| Email | " & request("email") & " | "
testo=testo & vbCrLf & "| Telefono | " & request("telefono") & " | "
testo=testo & vbCrLf & "| Arrivo | " & request("periodo") & " | "
testo=testo & vbCrLf & "| Partenza | " & request("periodo1") & " | "
testo=testo & vbCrLf & "| Persone | " & request("numero_persone") & " | "
testo=testo & vbCrLf & "| Sistemazione | " & request("sistemazione") & " | "
testo=testo & vbCrLf & "| Informazioni | "
if request("richiesta") <>"" then
testo=testo & replace(request("richiesta"),chr(13)," ")
end if
testo=testo & vbCrLf & " | "
testo=testo & vbCrLf & "| | | "
testo=testo & vbCrLf & " "
' ------ fine cartella dati -----------
testo=testo & vbCrLf & " |
"
testo=testo & vbCrLf & "| |
"
testo=testo & vbCrLf & "
"
testo=testo & ""
' -------- Spedizione Email
dim objMail
dim objConfig
Set objMail = Server.CreateObject("CDO.Message")
Set objConfig = Server.createObject("CDO.Configuration")
objMail.From = request("nome") & " " & request("cognome") & "<" & request("email") & ">"
objMail.To ="info@glicine-lanterna.it"
'objMail.Cc = "glicinelanterna@gmail.com"
objMail.Bcc =" "
objMail.Subject = "Richiesta informazioni"
objMail.HTMLBody = testo
With objConfig
.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "localhost"
.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
.Fields("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
.Fields("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60
.Fields.update
End With
Set objMail.Configuration = objConfig
objMail.Send
Set objMail = nothing
Set objConfig = nothing
%>
Sehr geehrte Damen und Herren, vielen Dank,
dass Sie uns kontaktiert haben.
Wir werden uns schon bald
mit Ihnen in Verbindung setzen |
<%end if%>