Visualizzazione dei risultati da 1 a 8 su 8

Discussione: gestione delle mail

  1. #1

    gestione delle mail

    devo inviare un form via mail con questo codice:
    <form action="MAILTO:xxxxx@com.it?subject=attivazione" method="post" enctype="text/plain"

    form="yes">

    <table border="0" width="524" height="85">
    <tr>
    <td width="341" height="6" align="right"><font face="Verdana" size="1">Quantità</font></td>
    <td width="169" height="6"><input type="text" name="Quantità" size="23" value=""></td>
    </tr>
    <tr>
    <td width="341" height="21" align="right"><font face="Verdana" size="1">Azienda</font></td>
    <td width="169" height="21"><input type="text" name="Azienda" size="23" value=""></td>
    </tr>
    <tr>
    <td width="341" height="21" align="right"><font face="Verdana" size="1">Nick</font></td>
    <td width="169" height="21"><input type="text" name="Nick" size="23" value=""></td>
    </tr>
    <tr>
    <td width="341" height="21" align="right"><font face="Verdana" size="1">Commerciale</font></td>
    <td width="169" height="21"><input type="text" name="Regione" size="23" value=""></td>
    </tr>
    <tr>
    <td width="341" height="21" align="right"><font face="Verdana" size="1">Area</font></td>
    <td width="169" height="21"><input type="text" name="Area" size="23" value=""></td>
    </tr>
    <td width="341" height="21" align="right"></td>
    <td width="169" height="21">
    <input style="FONT-SIZE: 8pt; BORDER-LEFT-COLOR: #000080; BORDER-BOTTOM-COLOR: #000080; COLOR: #ffffff;

    BORDER-TOP-STYLE: solid; BORDER-TOP-COLOR: #000080; FONT-FAMILY: Verdana; BORDER-RIGHT-STYLE: solid;

    BORDER-LEFT-STYLE: solid; BACKGROUND-COLOR: #000080; BORDER-RIGHT-COLOR: #000080; BORDER-BOTTOM-STYLE: solid"

    type="submit" value="INVIA CON E-MAIL" />
    </td>
    </table>
    </form>

    1.dove posso inserire del testo??
    2. come faccio a cambiare indirizzo mail mittente (amche manualmente) visto che l'invio avviene sempre con quello predefinito di Outlook?

    Grazie,

    Andrea

  2. #2
    Utente di HTML.it
    Registrato dal
    Feb 2005
    Messaggi
    2,245
    Ti conviene il php cosi non ti si apre outlook express.
    Fai una cosa un po' piu seria.

  3. #3
    il problema è proprio che non posso usare php e comunque ho la necessità di far aprire outlook...

  4. #4
    Utente di HTML.it
    Registrato dal
    Feb 2005
    Messaggi
    2,245
    Perche non lo puoi usare?
    Non hai il dominio?

  5. #5
    no..in realtà la pagina non va neanche su web...mi serve in locale per la compilazione rapida delle mail...(e sul computer non posso installare apache e php...)

  6. #6
    Utente di HTML.it
    Registrato dal
    Feb 2005
    Messaggi
    2,245
    Allora......... cediti il codice e modificalo



    <HTML>
    <HEAD>

    <!-- Codice scaricato gratuitamente da HTML.it, il sito italiano sul Web publishing
    http://www.html.it -->

    <TITLE>Esempi Javascript: esempio pratico </TITLE>

    <SCRIPT>

    <!-- Activate Cloaking Device

    //************************************************** *************

    // Multiple Email Addresses From A Dropdown Menu

    // by Tim Wallace (timothy@essex1.com)

    //

    // Copyright (C)1997 Timothy Wallace. All Rights Reserved.

    //************************************************** *************



    // Identify browser - not all browsers handle email the same.

    var browser=navigator.appName + " " + navigator.appVersion;



    // Add a message to the body for Netscape 4.0

    var message="";

    if(browser.substring(0, 12)=="Netscape 4.0")

    message="&body=This is for demonstration only... \n\n\n NON SPEDIRE QUESTO MESSAGGIO!";



    // Used to display and load email address

    var address="";



    // Called by onChange in select tag

    function setAddress()

    {

    // Sets myindex to index of selected menu item

    var myindex=document.email.address.selectedIndex;



    // If an item other than 0 has been chosen

    if (myindex>=1)

    {

    address=document.email.address.options[myindex].value;

    document.email.display.value=address;

    return true;

    }



    // If no item has been chosen

    else

    {

    document.email.display.value="Choose an address from the menu...";

    return false;

    }

    }



    // Called by View Mail Window button

    function doMail()

    {

    // Checks if an address has been selected

    if(setAddress())

    window.location="mailto:"+address+"?subject=Prova per menu multipli"+message;

    else

    {

    alert("\nYou must select an address from the menu first.");

    return false;

    }

    }



    // Called by Reset The Form button - impelmented for Netscape 2

    function resetForm()

    {

    document.email.address.options[0].selected = true;

    }



    // Called by About Netscape 2 button

    function aboutNet2()

    {

    alert("\nThe onChange used to display the address does not work right with Netscape 2.\n\nWith this browser, make a selection and then click within the frame to see the address.");

    }



    // Called by View Source button - displays text file of source.

    function viewSource()

    {

    alert("\nA text file with source will be loaded to the full window.\n\nUse your browser BACK button to return to the examples.");

    top.window.location.href="js-mail1.txt";

    }



    // Deactivate Cloaking -->

    </SCRIPT>


    </HEAD>

    <BODY bgcolor="white">


    <CENTER><FORM NAME="email">



    <SELECT NAME="address" SIZE=1 onChange="setAddress()">

    <OPTION SELECTED VALUE="">Selezione qui un indirizzo e-mail

    <OPTION VALUE="pippo@pluto.it">Pippo

    <OPTION VALUE="paperino@pluto.it">Paperino

    <OPTION VALUE="paperone@pluto.it">Paperone

    <OPTION VALUE="rossi@bianchi.com">Anonimo

    <OPTION VALUE="bianchi@rossi.it">Anonimo

    </SELECT>









    <INPUT TYPE="text" NAME="display" SIZE="40" VALUE="Scegli un indirizzo dal menu">










    <INPUT TYPE="button" VALUE="Scrivi una mail" onClick="doMail()">
    </CENTER>



    </body>
    </html>


  7. #7
    HO RISOLTO GRAZIE...

  8. #8
    Utente di HTML.it
    Registrato dal
    Feb 2005
    Messaggi
    2,245

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.