Home » Mail » Mail_Mime » Bug #1591
max 65530 Mails
Details
| Submitted | 2004-06-09 10:48 UTC |
|---|---|
| From | andre dot krumb at valentins dot de |
| Status | Wont fix |
| Package | Mail_Mime |
| PHP Version | 4.3.4 |
| OS | Linux mailing 2.4.19-4GB #1 Fri |
| Roadmaps | (Not assigned) |
Comments
[2004-06-09 10:48 UTC] andre dot krumb at valentins dot de
Description:
------------
Mail_Mime stops exactly after 65530(near the magic number of 65536) mails. We searched for a way to destroy the object after every send but php doesnt have this feature. Code works great but stops after this count.
Maybe a cache or buffer is the problem i think.
Reproduce code:
---------------
while ($row = mysql_fetch_array($result)) {
$crlf = "\r\n";
$hdrs = array(....................);//to long to post
$mime = new Mail_mime($crlf);
$mime->setTXTBody($plain_content);
$mime->setHTMLBody($html_content);
$mime->addAttachment($html_datei, 'text/html');
$body = $mime->get();
$hdrs = $mime->headers($hdrs);
$mail = &Mail::factory('smtp');
}
Expected result:
----------------
no comment
Actual result:
--------------
Mail_Mime stops after 65530 Mails
[2004-12-06 04:44 UTC] sean at caedmon dot net
This is a problem with PHP, and will not be fixed, see:
http://bugs.php.net/bug.php?id=27992
(in short: this is not a PEAR::Mail_Mime bug)
S