Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.10.12

Bug #6663 Notice about reference passing
Submitted: 2006-02-02 07:41 UTC
From: yonman at nsa dot co dot il Assigned: cipri
Status: Closed Package: Mail_Mime (version 1.3.1)
PHP Version: 5.1.1 OS: Windows xp
Roadmaps: 1.4.0    
Subscription  


 [2006-02-02 07:41 UTC] yonman at nsa dot co dot il
Description: ------------ When using the Mail mime class normaly, two notices are displayed about incorrect reference passing from methods within the Mail mime class. Test script: --------------- $message = new Mail_mime( SYSTEM_MAIL_MIME_CRLF ); $message->_build_params[ 'html_charset' ]= 'UTF-8'; $message->_build_params[ 'text_charset' ]= 'UTF-8'; $message->_build_params[ 'head_charset' ]= 'UTF-8'; $message->setTXTBody( $strText ); $message->setHTMLBody( $strHTML ); $body = $message->get( ); $extraheaders = array( "From" => 'someone@somewhere.foo' , "Subject"=> 'subject' ); $headers = $message->headers( $extraheaders ); $mail = Mail::factory( "mail" ); $mixedResponse = $mail->send( $mixedTo, $headers, $body); Expected result: ---------------- Mail should be sent silently and normally. Actual result: -------------- <b>Notice</b>: Only variable references should be returned by reference in <b>E:\Program Files\xampp\php\pear\Mail\mime.php</b> on line <b>375</b><br /> <b>Notice</b>: Only variable references should be returned by reference in <b>E:\Program Files\xampp\php\pear\Mail\mime.php</b> on line <b>593</b><br />

Comments

 [2006-02-02 13:22 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2007-05-05 15:09 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!