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

Bug #17942 Mail sending broken on servers without SIZE feature
Submitted: 2010-10-11 11:53 UTC
From: alec Assigned: jon
Status: Closed Package: Net_SMTP (version 1.4.3)
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  


 [2010-10-11 11:53 UTC] alec (Aleksander Machniak)
Description: ------------ Patch from ticket http://pear.php.net/bugs/bug.php?id=17887 uses $size variable which isn't set when server doesn't use SIZE feature.

Comments

 [2010-10-11 11:56 UTC] alec (Aleksander Machniak)
@@ -974,6 +974,8 @@ } } } else { + if (!isset($size)) + $size = strlen($data); /* * Break up the data by sending one chunk (up to 512k) at a time. * This approach reduces our peak memory usage.
 [2010-10-19 14:28 UTC] cweiske (Christian Weiske)
$size should also include the header length. This is a serious bug!
 [2010-10-20 11:48 UTC] jon (Jon Parise)
-Status: Open +Status: Closed -Assigned To: +Assigned To: jon
This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.