Posted on 2005-03-29 12:31:44-08 by jenda in response to 267
Re: Mime Type Lost when Recipient List is Long

I think I know the reason and have it fixed.

Please try to add if (length($str)+length($hdr) > 997) { # header too long, max 1000 chars $str =~ s/(.{1,997}[;,])\s+/$1\x0D\x0A\t/g; } into the sub print_hdr() above the print $s "$hdr: $str\x0D\x0A"; line. (should be around line 182)

Let me know if this helps. I will release the fixed version to CPAN afterwards.

Jenda
Direct Responses: 833 | Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.