rendered paste body<?phpif (!isset($_POST['Submit']){?><form id="form1" name="form1" method="post" action=""> <p> Nombre: <input type="text" name="textfield0" /> </p> <p> Apellido: <input type="text" name="textfield1" /> </p> <p>Email: <input type="text" name="textfield2" /> </p> <p> Telefono: <input type="text" name="textfield3" /> </p> <p> <textarea name="textarea" cols="100" rows="10"></textarea> </p> <p> <input type="submit" name="Submit" value="Enviar"> </p></form><?php} else {$mensaje = "Nombre: $textfield0\nApellido: $textfield1\nEmail: $textfield2\nTelefono: $textfield3\nComentarios: $textarea\n";// En caso de que cualquier linea tenga mas de 70 caracteres, habria// que usar wordwrap()$mensaje = wordwrap($mensaje, 70);// Enviarmail('cafeinado@example.com', 'Mi Asunto', $mensaje)}?>