Date: 01/16/01
- Next message: ahasenack <email protected>: "[PHP-DEV] PHP 4.0 Bug #8736 Updated: Return value of umask() not an octal number"
- Previous message: lsiewfat: "[PHP-DEV] Re: PHP 4.0 Bug #8735 Updated: imagecreatefromgif() becomes an undefined function after upgrading to php4"
- Next in thread: wayne.cope <email protected>: "[PHP-DEV] PHP 4.0 Bug #8734 Updated: Unable to send large emails, causes a GPF - small email work fine."
- Maybe reply: wayne.cope <email protected>: "[PHP-DEV] PHP 4.0 Bug #8734 Updated: Unable to send large emails, causes a GPF - small email work fine."
- Maybe reply: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #8734 Updated: Unable to send large emails, causes a GPF - small email work fine."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 8734
User Update by: wayne.cope <email protected>
Status: Open
Bug Type: *Mail Related
Description: Unable to send large emails, causes a GPF - small email work fine.
I have checked the source code for the Windows version of the mail() function and have determined that there is a 4K limit to the mail buffer - which is nowhere near enough. The line is:
#define MAIL_BUFFER_SIZE (1024*4) /* 4k buffer */
Which can be found in "sendmail.h" under the Win32 compilation.
I can't compile the code to check for sure, but it does look like this is the problem.
C'ya !
Wayne Cope
Previous Comments:
---------------------------------------------------------------------------
[2001-01-16 07:40:01] wayne.cope <email protected>
When sending attached files (test file is only 14K), a GPF is caused by the mail() function. When the file is small (e.g. 1K) the function works fine.
I have checked the ini file settings and all seems fine, and have run the same code on version 4.0.4 and it also crashes then too. I am unable to check on any other versions. I would guess it's a similar problem to the other "malloc problem" in this section (bug report: 8360) as it would appear to be a memory issue.
Let me know if you need any more info...
Wayne Cope.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=8734
-- 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>
- Next message: ahasenack <email protected>: "[PHP-DEV] PHP 4.0 Bug #8736 Updated: Return value of umask() not an octal number"
- Previous message: lsiewfat: "[PHP-DEV] Re: PHP 4.0 Bug #8735 Updated: imagecreatefromgif() becomes an undefined function after upgrading to php4"
- Next in thread: wayne.cope <email protected>: "[PHP-DEV] PHP 4.0 Bug #8734 Updated: Unable to send large emails, causes a GPF - small email work fine."
- Maybe reply: wayne.cope <email protected>: "[PHP-DEV] PHP 4.0 Bug #8734 Updated: Unable to send large emails, causes a GPF - small email work fine."
- Maybe reply: sniper <email protected>: "[PHP-DEV] PHP 4.0 Bug #8734 Updated: Unable to send large emails, causes a GPF - small email work fine."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

