ho creato il form per inviare i propri dati e la pagina in asp che lo invia
contemporaneamente ho aggiunto lo scritp per ricevere sulla MIA POSTA il form di registrazione dell'utente...
non riesco a fare in modo che arrivi anche al tizio che si registra...
cosa dovrei aggiungere?
ho provato di tutto...!!!!
Help!!!!!!!!
<%
var destinatario = "mia@email.it";
var ip = Request.ServerVariables("REMOTE_ADDR");
var annuncio = new String(Request.Form("annuncio"));
var html = new String(Request.Form("html"));
var oggi = new Date();
var data = oggi.getDate() + "/" + (oggi.getMonth() + 1) + "/" + oggi.getYear() + " alle ore " + oggi.getHours() + ":" + oggi.getMinutes();
var OggettoCDONTS = new ActiveXObject("CDONTS.NewMail");
OggettoCDONTS.From = email;
OggettoCDONTS.To = destinatario;
{
OggettoCDONTS.BodyFormat = 1;
OggettoCDONTS.MailFormat = 1;
OggettoCDONTS.Body = "Dati del mittente\n\nnome: " + nome + "\ncognome: " + cognome + "\nemail: " + email + "\n\nMessaggio spedito il " + data + "\n\nQuesto è il corpo del messaggio:\n\n" + annuncio;
OggettoCDONTS.BodyFormat = 0;
OggettoCDONTS.MailFormat = 0;
OggettoCDONTS.Send();
}

Rispondi quotando
