I wrote a PHP script to send a lot of emails, some of them with lots of bytes that comes from a URL-fopen()'ed ASP page... the script works fine... but when a large (I don't mean huge... just some 50k worth of HTML data) email is going to be sent, PHP crashes with an error like this "error in emalloc() couldn't alloc -274843 bytes" or something. So I installed the SAPI version instead... and the error persisted only changing the error message to something like "segment fault in PHP" and crashed again. Details: I'm running Win2k Server and I made this tests both in IIS 5 and Apache 1.3.19. (when in Apache, the error messages didn't even show and the HTTP connection was lost - which in my opinion is far worse to debug) So I wrote a mail function that talks directly to my SMTP server and now it's working... Well... just to report something that might be a bug or something. -- PHP General 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]