FW: [PHP-WIN] mime in php

From: Date: Tue, 20 Mar 2001 03:08:04 +0000
Subject: FW: [PHP-WIN] mime in php
Groups: php.db php.windows 
Request: Send a blank email to php-db+get-7623@lists.php.net to get a copy of this message
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

« previous php.db (#7623) next »