Mail-Sender - Re: Mime Type Lost when Recipient List is Long

Posted on Tue Mar 29 15:31:44 2005 by jenda in response to 267 (See the whole thread of 3)
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