ezmailnotificationtransport.php

Author Message

Clive Flatau

Thursday 03 February 2005 11:14:24 am

Anybody know why the receiver in this mail module us set to null? This seem to be the last time the receiver address is set before the SMTP server is contacted and could be my notification problem.

        ......
        $mail->extractEmail( $addressItem, $email, $name );
            $mail->addBcc( $email, $name );
        }
        $mail->setReceiver( '' );
        $mail->setSender( $emailSender );
        $mail->setSubject( $subject );
        $mail->setBody( $body );
        .....

Hans Melis

Thursday 03 February 2005 11:25:14 am

That's a security/privacy feature. Everyone who should receive the email is set in the BCC field. The call to setReceiver() would put them in the TO field which would mean everyone could see those email addresses.

Hans
http://blog.hansmelis.be

Clive Flatau

Thursday 03 February 2005 2:05:23 pm

ah yes - red herring - thanks

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.