Ver Mensaje Individual
  #5 (permalink)  
Antiguo 31/03/2011, 14:09
Avatar de SaveSolutions
SaveSolutions
 
Fecha de Ingreso: agosto-2009
Ubicación: El Salvador
Mensajes: 17
Antigüedad: 14 años, 8 meses
Puntos: 0
Respuesta: Añadir variable y condicionar

FUNCIONÓ!!!! Quedó así:

$bcc1 = '[email protected]';
$bcc2 = $_POST['email_bcc'];
$bcc3 = array();
$bcc3[]= $bcc2;
if ( ! empty($bcc2)) $bcc3[]= $bcc2;
else $bcc3 = join(';', $bcc2);
$email -> bcc = $bcc1.$bcc3;

Muchísimas gracias por tu ayuda!