RE: [PHP-DB] FW: [PHP-WIN] mime in php

From: Date: Tue, 20 Mar 2001 03:55:55 +0000
Subject: RE: [PHP-DB] FW: [PHP-WIN] mime in php
References: 1  Groups: php.db php.windows 
Request: Send a blank email to php-db+get-7624@lists.php.net to get a copy of this message
i forgot to mention that in my example one must populate the $coverletter variable with a string over 4K in length so that the header will break. -f -----Original Message----- From: Free Beachler [mailto:bfree1@uswest.net] Sent: Monday, March 19, 2001 8:08 PM To: Php-Db; Php-Windows Subject: [PHP-DB] FW: [PHP-WIN] mime in php somebody please help!!! I've posted a number of messages about this with no reply. Here are the findings from my research: on windows 2000 under iis 5.0 this is breaking: mail($to, '', '', substr($coverletter, 0, 3990)); while this works: mail($to, $subject, '', substr($coverletter, 0, 3989)); where $coverletter is a message header. I intend this message header to be a mime multipart message. but, for testing purposes, i've tried just any old string in the header. It seems that the mail() function breaks if the length of the header parameter passed to it is too long !!! can someone try this on apache or a unix environment to see if the above line that breaks for me also breaks for you. BEWARE:::if $coverletter contains email addresses those persons might also get the mail. MAKE SURE $coverletter HAS NO EMAIL ADDRESSES! -f -free -----Original Message----- From: Free Beachler [mailto:bfree1@uswest.net] Sent: Monday, March 19, 2001 6:01 PM To: Php-Windows Subject: [PHP-WIN] mime in php Has anyone done mime multipart in nt 4+ using iis 4+ (preferrably iis 5)? I can't figure out if my mail() send is breaking because of message length or mime format or what. I think my mail conforms to specification. -free bfree1@uswest.net -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net For additional commands, e-mail: php-windows-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net For additional commands, e-mail: php-db-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.db (#7624) next »