ID: 10207 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Mail related Description: Crash sending files as attachment Shall I e-mail the source? Previous Comments: --------------------------------------------------------------------------- [2001-04-10 09:38:37] [EMAIL PROTECTED] Shall I e-mail the source? --------------------------------------------------------------------------- [2001-04-09 07:27:48] [EMAIL PROTECTED] I have now upgraded to PHP4, but that only resulted in, that PHP raised one more error. I lookes like this: ---------- New Error ----------------- OleMainThreadName: php.exe - Application Error The instruction at "0x00449bc4" referenced memory at "0x0048a000". The memory could not be "read". -------------------------------------- ---------- Old error ------------------ OleMainThreadName: php.exe - Application Error The instruction at "0x00459bc4" referenced memory at "0x0048a000". The memory could not be "written". --------------------------------------- Im using PWS 4.0 on a NT workstation. PHP Version 4.0.4pl1 CGI edition Should I send you the sourcecode for my example. It's not very big? /Anders --------------------------------------------------------------------------- [2001-04-06 11:15:36] [EMAIL PROTECTED] And what is the version of PHP 4 you're using? If it's not PHP 4.0.4pl1 then upgrade! --Jani --------------------------------------------------------------------------- [2001-04-06 08:55:19] [EMAIL PROTECTED] 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 --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=10207 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]