hi,

when i do a $mail->addBcc the recipient is not hidden.
e.g. 
$mail->addTo([EMAIL PROTECTED]);
$mail->addBcc([EMAIL PROTECTED]);

both, a and b will receive an email where both recipients are visible.
how come? any cure?
if i send a bcc with a regular email client through the same mail-server it
works fine.
i'm using ZF 1.0.1 
the mailserver is running qmail.

here's the send function:

 public function send_text_mail($from, $from_name="", $to, $subject,
$message, $cc=0, $bcc=0)
    {
        $mail = new Zend_Mail();

        $mail->setFrom  (trim($from), trim($from_name));
        $mail->addTo    (trim($to));
        if(trim($cc))   $mail->addCc(trim($cc));
        if(trim($bcc))  $mail->addBcc(trim($bcc));
        $mail->setSubject       (trim($subject));
        $mail->setBodyText      ( "\r\n" . $this->wrap_text(trim($message), 70) 
 );
        
        $result = $mail->send();                
        return $result;
    }


thanx
  mike
-- 
View this message in context: 
http://www.nabble.com/Zend_Mail---BCC-not-hidden----tf4381255s16154.html#a12489418
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to