Justtechjobs.com Find a programming school near you






Online Campus Both


php-developer-list | 2001041

[PHP-DEV] PHP 4.0 Bug #10207: Crash sending files as attachment From: anh <email protected>
Date: 04/06/01

From: anh <email protected>
Operating system: NT Server
PHP version: Earlier? Upgrade first!
PHP Bug Type: Mail related
Bug description: Crash sending files as attachment

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

-- 
Edit Bug report at: http://bugs.php.net/?id=10207&edit=1

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>