Nemutagk gracias por responder 
 
este es mi codigo    
Código HTML:
Ver original- <meta http-equiv="content-type" content="text/html; charset=utf-8" /> 
- <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"> 
-   
- <script type='text/javascript'> 
- //<![CDATA[ 
- $(document).on('ready',function() { 
-                 $('#chk_todos').on('click', function() { 
-                     $('input[type=checkbox]').each(function() { 
-                         if ($(this).attr('name') == 'opcion[]') { 
-                             if ($(this).attr('checked') != 'checked') { 
-                                 $(this).attr('checked','checked'); 
-                             }else { 
-                                 $(this).removeAttr('checked'); 
-                             } 
-                         } 
-                     }); 
-                 }); 
-                  
-                 $('#enviar').on('click',function() { 
-                     var arrayOpt = new Array; 
-                     $('input[type=checkbox]').each(function() { 
-                         if ($(this).attr('name') == 'opcion[]') { 
-                             if ($(this).attr('checked') == 'checked') { 
-                                 arrayOpt.push($(this).val()); 
-                             } 
-                         } 
-                     }); 
-                      
-                     $.ajax({ 
-                         url:'recibio.php', 
-                         type:'get', 
-                         data: 'opciones='+arrayOpt, 
-                         success: function(datos) { 
-                             $('#respuesta').html(datos); 
-                                                     } 
-                     }); 
-                      
-                     return false; 
-                 }); 
-             }); 
-   
- //]]> 
-   
-                      
-                    
-       
- <form id="form1"  style="width: 50%;" name="form1"> 
- <fieldset><label for="nombre">- Nombre </label> <input type="text" name="nombre" id="nombre" class="text ui-widget-content ui-corner-all" />
 
- <table border="0" id="users"> 
- Oscar Montes  
-   
-   
-   
-   
- <td><label><input type='checkbox' id='chk_todos' value="checkbox" /> 
-   <input name="contador" id="contador" type="text" value="ninguno" /> 
-   <input type="submit" name="Submit" value="Enviar" id="enviar"/> 
-   
y el recibio.php    
Código PHP:
Ver original- nombre = $_POST["nombre"]; 
- echo $nombre; 
- echo "<br>"; 
- $contador = $_POST["contador"]; 
- echo $contador; 
- echo "<br>"; 
- $destinatarios = explode(',',$_POST['opcion']); 
-   
- $servidor = 'localhost'; 
- $bd = 'insert'; 
- $usuario = 'postgres'; 
- $contrasenia = 'hoe798cs'; 
-      
- global $servidor, $bd, $usuario, $contrasenia; 
- $db = new PDO('pgsql:host=' . $servidor . ';dbname=' . $bd, $usuario, $contrasenia); 
-   
-   
- $consulta = $db->prepare("INSERT INTO ensayo (id,nombre,destinatarios)  
-                                  VALUES (nextval('ensayo_id_seq'),'".$nombre."','$destinatarios')"); 
- $consulta->execute(); 
-   
-   
-   
- require_once('phpMailer/class.phpmailer.php'); 
- require_once("phpMailer/class.smtp.php"); // optional, gets called from within class.phpmailer.php if not already loaded 
-   
- $mail = new PHPMailer(true); // the true param means it will throw exceptions on errors, which we need to catch 
-   
- $mail->IsSMTP(); // telling the class to use SMTP 
-   
-   
-   $mail->Host       = "smtp.live.com"; // SMTP server 
-   $mail->SMTPDebug  = 2;                     // enables SMTP debug information (for testing) 
-   $mail->SMTPAuth   = true;                  // enable SMTP authentication 
-   //$mail->Host       = "mail.yourdomain.com"; // sets the SMTP server 
-   
-   $mail->SMTPSecure = "tls"; 
-   $mail->Port       = 25;                    // set the SMTP port for the GMAIL server 
-   $mail->Password   = "oscarydiana";        // SMTP account password 
-   foreach($_POST['opcion'] as $destinatarios) { 
-    
-       $mail->addAddress($destinatarios); 
-       //o bcc 
-       $mail->addBcc($destinatarios); 
- } 
-   $mail->Subject = 'Calendario Actividades Ingeominas'; 
-   $mail->AltBody = 'To view the message, please use an HTML compatible email viewer!'; // optional - MsgHTML will create an alternate automatically 
-   $mail->MsgHTML(" 
- Estimado Usuario:<br /> 
- <br /><table width='36%' border='1' cellpadding='0' cellspacing='0' bordercolor='#E0ECFF' class='Estilo1'> 
- <tr> 
- <td colspan='2' bordercolor='#E0ECFF' bgcolor='#FFFFFF'><div align='center'><strong>Actividad</strong></div></td> 
- </tr> 
- <tr align='center'> 
- <td width='102' bordercolor='#E0ECFF' bgcolor='#FFFFFF'><div align='left'><strong>Evento</strong></div></td> 
- <td width='289' bordercolor='#E0ECFF' bgcolor'#FFFFFF'>".$nombre."</td> 
- </tr> 
- <tr align='center'> 
-   <td bordercolor='#E0ECFF' bgcolor='#FFFFFF'><div align='left'><strong>Hora Inicio</strong></div></td> 
-   <td bordercolor='#E0ECFF' bgcolor'#FFFFFF'>".$nombre."</td> 
-   </tr> 
- <tr align='center'> 
-   <td bordercolor='#E0ECFF' bgcolor='#FFFFFF'><div align='left'><strong>Hora Fin</strong></div></td> 
-   <td bordercolor='#E0ECFF' bgcolor'#FFFFFF'>".$nombre."</td> 
-   </tr> 
- </table>"); 
- $mail->Send(); 
no se que estoy haciendo mal? 
gracias por la ayuda.