Visualizzazione dei risultati da 1 a 4 su 4

Discussione: Form mail..

  1. #1
    Utente di HTML.it
    Registrato dal
    Nov 2002
    Messaggi
    34

    Form mail..

    Ciao ragazzi..
    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..


    grazie mille!!
    buona giornata a tutti!
    Sve!
    Sve!

  2. #2
    Utente di HTML.it
    Registrato dal
    Nov 2002
    Messaggi
    34
    il codice completo sarebbe 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


    %>
    Sve!

  3. #3
    devi chiedere nel forum dedicato all'asp

  4. #4
    Utente di HTML.it
    Registrato dal
    Nov 2002
    Messaggi
    34
    grazie mille!


    ora lo sposto
    Sve!

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.