Ver Mensaje Individual
  #1 (permalink)  
Antiguo 21/04/2010, 03:27
Avatar de axdds34
axdds34
 
Fecha de Ingreso: diciembre-2005
Ubicación: Tei Chua - China
Mensajes: 214
Antigüedad: 18 años, 4 meses
Puntos: 4
Envio de Email's con Checkbox.

Hola a todos, estaba buscando como hacer para enviar un email con outlook previamente habiendo seleccionado de una lista de checkbox's algunas direcciones.

Tengo el siguiente codigo:

Código:
<html>
 <head>
  <script language="JavaScript">
   function verifica(){
    var todoOk = false;
    with (document.frm){
     todoOk = todoOk || (check1.checked);
     todoOk = todoOk || (check2.checked);
     todoOk = todoOk || (check3.checked);
     todoOk = todoOk || (check4.checked);
     todoOk = todoOk || (check5.checked);
    }
    if (!todoOk)
     alert("Debes seleccionar al menos un destinatario");
    else
     document.frm.submit();
   }
  </script>
 </head>
 <body>
  <form name="frm">
   <table border="0">
    <tr>
     <td>
      <input type="checkbox" name="check1">
     </td>
     <td>
      [email protected]
     </td>
    </tr>
    <tr>
     <td>
      <input type="checkbox" name="check2">
     </td>
     <td>
      [email protected]</td>
    </tr>
    <tr>
     <td>
      <input type="checkbox" name="check3">
     </td>
     <td>
      [email protected]</td>
    </tr>
    <tr>
     <td>
      <input type="checkbox" name="check4">
     </td>
     <td>
      [email protected]</td>
    </tr>
    <tr>
     <td>
      <input type="checkbox" name="check5">
     </td>
     <td>
      [email protected]</td>
    </tr>
    <tr>
     <td colspan="2" align="center">
      <input type="submit" name="envia" value="Enviar" onClick="verifica()">
     </td>
    </tr>
   </table>
  </form>
 </body>
</html>
Y lo que quiero es que al darle al boton enviar, todas las direcciones seleccionadas se envien al campo PARA: del nuevo email de outlook.

Esto se puede hacer?

Saludos