Ciao ragazzi..
sposto nella giusta sezione il mio topic..![]()
fin ora ho sempre fatto siti che risiedevano su un server da me conosciuto..
ora invece mi trovo a dover lavorare co un dominio precedentemente acquistato su aruba.. e non riesco a fare funzionare delle cose..
in primis... la form mail..
per la richiesta di informazioni...
credo che il parametro da modificare sia questo:
Set objMail = Server.CreateObject("Persits.MailSender")
come lo devo cambiare?!?
devo cambiare anche altro?!?!
ho provato a cercare su aruba.. ma per avere assistenza mi chiede user name e password... e io non ho siti da loro..
![]()
il codice completo è questo:
<%
Nome = request("nome")
Cognome = request("cognome")
Telefono = request("telefono")
Email = request("email")
Oggetto = request("oggetto")
Testo = Request("testo")
If instr(Email,"@") <> 0 then
EmailCorretta = True
else
EmailCorretta = False
end if
Destinatario = "info@dominio.it"
if Testo <> "" and Email <> "" and Nome <> "" and EmailCorretta = True then
Set objMail = Server.CreateObject("Persits.MailSender")
objMail.Host = "mail.dominio.it"
objMail.From = "info@dominio.it"
objMail.FromName = "DOMINIO"
objMail.AddAddress Destinatario,Destinatario
objMail.Subject = Oggetto
objMail.Priority = 1
objMail.Body = "<html><body><font color=#613418 size=3>Nome:" & Nome & vbcrlf & vbcrlf & "
Cognome: " & Cognome & vbcrlf & vbcrlf & "
E-mail: " & Email & vbcrlf & vbcrlf & "
Tel: " & Telefono & vbcrlf & vbcrlf & "
-----------------------------------------------------------------" & vbCrLf & vbCrLf & "
Oggetto: " & Oggetto & vbcrlf & vbcrlf & "
Testo: " & Testo & vbcrlf & vbcrlf & "
----------------------------------------------------------------- </font> </body> </html>"
objMail.IsHTML = True
objMail.Send
set Mailer = nothing
Response.redirect "conferma.asp"
Response.end
end if
%>
grazie mille!!
buona giornata a tutti!
Sve!

Rispondi quotando
