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:[EMAIL PROTECTED]]
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:[EMAIL PROTECTED]]
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
[EMAIL PROTECTED]


--
PHP Windows 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]



--
PHP Database 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]



-- 
PHP Windows 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]

Reply via email to