Skip Menu |

This queue is for tickets about the MailTools CPAN distribution.

Report information
The Basics
Id: 11382
Status: resolved
Priority: 0/
Queue: MailTools

Owner: Nobody in particular
Requestors: chris [...]

Bug Information
Severity: Important
Broken in: 1.62
Fixed in: (no value)

Subject: bug in as_string
Download (untitled) / with headers
text/plain 398b
The as_string method doesn't terminate lines correctly. Example: --- my $m = new Mail::Internet([ 'From: fish', 'To: soup', '', 'fish soup', 'is good for you' ]); print $m->as_mbox_string(); --- ends expected output: --- From: fish To: soup fish soup is good for you --- ends actual output: --- From: fish To: soup fish soupis good for you --- ends
Download (untitled) / with headers
text/plain 255b
According to the docs: The value of this option should be a reference to an array which contains the lines for the body of the message. Each line should be terminated with C<\n> (LF). So: terminate each of the lines in the array which you pass with a \n

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to