Visualizzazione dei risultati da 1 a 5 su 5

Discussione: problema Luke mail

  1. #1

    problema Luke mail

    Microsoft JScript runtime error '800a01ad'

    Automation server can't create object

    /email.asp, line 27

    Ciao ragazzi, quello lì in alto è il messaggio che mi compare quando mando l'e-mail utilizzando luke mail..
    Cosa vuol dire?
    Dov'è il problema?
    Grazie

    Ps: come faccio ad utilizzare Access su un imac? :bubu:

  2. #2
    ragazzi mi potete dare una mano?

  3. #3
    Posta il tuo codice.

  4. #4

    :)

    <%@LANGUAGE = JScript%>
    <%

    var destinatario = "info@bagliodicarcitella.com";

    var nome = new String(Request.Form("nome"));
    var cognome = new String(Request.Form("cognome"));
    var email = new String(Request.Form("email"));
    var oggetto = new String(Request.Form("oggetto"));
    var importanza = new String(Request.Form("importanza"));
    var messaggio = new String(Request.Form("messaggio"));
    var html = new String(Request.Form("html"));

    var valida = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-]{2,})+\.)+([a-zA-Z0-9]{2,})+$/;

    var oggi = new Date();
    var data = oggi.getDate() + "/" + (oggi.getMonth() + 1) + "/" + oggi.getYear() + " alle ore " + oggi.getHours() + ":" + oggi.getMinutes();

    var ip = Request.ServerVariables("REMOTE_ADDR");

    if ((nome == "") || (nome == "undefined")) Response.Redirect("errore.htm?id=1");
    if ((cognome == "") || (cognome == "undefined")) Response.Redirect("errore.htm?id=2");
    if (!valida.test(email)) Response.Redirect("errore.htm?id=3");
    if ((oggetto == "") || (oggetto == "undefined")) Response.Redirect("errore.htm?id=4");
    if ((messaggio == "") || (messaggio == "undefined")) Response.Redirect("errore.htm?id=5");

    var OggettoCDONTS = new ActiveXObject("CDONTS.NewMail");
    OggettoCDONTS.Importance = importanza;
    OggettoCDONTS.From = email;
    OggettoCDONTS.To = destinatario;
    OggettoCDONTS.Subject = oggetto;
    if ((html == "") || (html == "undefined")) {
    OggettoCDONTS.BodyFormat = 1;
    OggettoCDONTS.MailFormat = 1;
    OggettoCDONTS.Body = "Dati del mittente\n\nNome: " + nome + "\nCognome: " + cognome + "\nEmail: " + email + "\nIP: " + ip + "\n\nMessaggio spedito il " + data + "\n\nQuesto è il corpo del messaggio:\n\n" + messaggio;
    }
    else {
    OggettoCDONTS.BodyFormat = 0;
    OggettoCDONTS.MailFormat = 0;
    OggettoCDONTS.Body = "Dati del mittente

    Nome:
    " + nome + "
    Cognome: " + cognome + "
    Email: " + email + "
    IP: " + ip + "

    Messaggio spedito il " + data + "

    Questo è il corpo del messaggio:

    " + messaggio;
    }
    OggettoCDONTS.Send();

    Response.Redirect("conferma.htm");
    %>

  5. #5
    Utente di HTML.it L'avatar di albis
    Registrato dal
    May 2002
    Messaggi
    912
    si direbbe che sul server non è installato cdonts
    chiedi al tuo provider
    Forza la magica ROMA

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 © 2025 vBulletin Solutions, Inc. All rights reserved.