Originariamente inviato da Innavoig
sul mio sito statico , vorrei lasciare un form agli utenti dove possono lasciarmi il lore nome e indirizzo email , per poterli tenere informati tramite la news letter , come posso realizzare ciò ?
codice:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Form Mail</title>
</head>

<body>

<form action="mailto:tua_mail@tuo_server" method="post" enctype="text/plain" name="formail" target="_self" id=".form1">
<label id="label1">Lascia il tuo indirizzo e-mail</label>

<label id="label2">Tua Mail:</label>
<input name="text1" type="text" id="text1" value="tua mail" size="30" />


<label id="label3">Nome:</label>
<input name="text2" type="text" id="text2" value="Nome" size="30" />


<input name="b1" type="submit" id="b1" value="Invia Dati" />
<input name="b2" type="reset" id="b2" value="Cancella Dati" />
</form>

</body>
</html>