Visualizzazione dei risultati da 1 a 2 su 2

Discussione: dove sbaglio? cdosys

  1. #1

    dove sbaglio? cdosys

    codice:
    <%@LANGUAGE = JScript%> 
    <% 
    // Recupero i dati dal modulo 
    var nome = new String(Request.Form("nome")); 
    var cognome = new String(Request.Form("cognome"));
    var indir = new String(Request.Form("indir")); 
    var citta = new String(Request.Form("citta")); 
    var cap = new String(Request.Form("cap")); 
    var prov = new String(Request.Form("prov")); 
    var tel = new String(Request.Form("tel")); 
    var soc = new String(Request.Form("soc"));
    var email = new String(Request.Form("email")); 
    var taglia = new String(Request.Form("taglia"));
    var oggetto = "help"; 
    
    // Imposto la data 
    var oggi = new Date(); 
    var data = oggi.getDate() + "/" + (oggi.getMonth() + 1) + "/" + oggi.getYear() + " alle ore " + oggi.getHours() + ":" + oggi.getMinutes(); 
    
    // Imposto l'indirizzo IP del mittente 
    var ip = Request.ServerVariables("REMOTE_ADDR"); 
    
    // Creo la classe CDONTS.NewMail ed invio l'email 
    var OggettoCDONTS = new ActiveXObject("CDO.Message");  
    OggettoCDONTS.From = email; 
    OggettoCDONTS.To = "mia@email.it"; OggettoCDONTS.Subject = oggetto; 
    OggettoCDONTS.TextBody = "Nome e Cognome o Rag. Sociale: " + nome + "\nCognome" + cognome + "\nIndirizzo: " + indir + "\nCittà : " + citta + "\nCAP: " + cap + "\nProv.: " + prov + "\nTel.: " + tel + "\nEmail: " + email + taglia  
    OggettoCDONTS.Send(); // Invio la mail 
    
    // Reindirizzo il mittente verso la pagina di conferma 
    Response.Redirect("centrale.htm")
    
    %>
    non da nessun errore ma non arriva l'email sono su un server aruba

  2. #2
    Esiste una sezione che si chiama guida ai servizi.
    Credo che scrivere un post su un forum, richieda la stessa energia di una piccola ricerca sul vademecum dell'hoster che hai nominato, non credi ?

    http://vademecum.aruba.it/start/cont...tto.htm#cdosys


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.