PHP 4.0 Bug #10207 Updated: Crash sending files as attachment

From: Date: Fri, 06 Apr 2001 15:15:37 +0000
Subject: PHP 4.0 Bug #10207 Updated: Crash sending files as attachment
Groups: php.dev 
Request: Send a blank email to php-dev+get-51043@lists.php.net to get a copy of this message
ID: 10207 Updated by: sniper Reported By: anh@maersk-it.dk Old-Status: Open Status: Feedback Bug Type: Mail related Assigned To: Comments: And what is the version of PHP 4 you're using? If it's not PHP 4.0.4pl1 then upgrade! --Jani Previous Comments: --------------------------------------------------------------------------- [2001-04-06 08:55:19] anh@maersk-it.dk I'm trying to attach a file to a mail, that I'm sending with the mail()-function. To attach the file I'm using the class named Mime_Mail.inc (Comes from Wrox: Pro. PHP programming). But when the files gets a size about 1000 bytes, php.exe comes with this error-message: ------------------------------------------ OleMainThreadName: php.exe - Application Error The instruction at "0x00449bc4" referenced memory at "0x0048a000". The memory could not be "written". ------------------------------------------ I'm using fopen() and fread() to read the content of my files into a string. Then I give this string to the Mime_Mail class. And when it try to send the Multiparted mail with Mail() the above error raises. Yours, Anders Hansen System Developer Maersk-IT - Denmark --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10207&edit=2

« previous php.dev (#51043) next »