PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Mail » Mail_Mime » Bug #1591

max 65530 Mails

Details

Submitted2004-06-09 10:48 UTC
Fromandre dot krumb at valentins dot de
StatusWont fix
PackageMail_Mime
PHP Version4.3.4
OSLinux 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