Skip Menu |
 

This queue is for tickets about the MailTools CPAN distribution.

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

People
Owner: Nobody in particular
Requestors: chris [...] ex-parrot.com
Cc:
AdminCc:

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



Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
MIME-Version: 1.0
X-Mailer: MIME-tools 5.415 (Entity 5.415)
Subject: bug in as_string
X-RT-Original-Encoding: iso-8859-1
Content-Length: 398
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
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
MIME-Version: 1.0
X-Mailer: MIME-tools 5.415 (Entity 5.415)
X-RT-Original-Encoding: iso-8859-1
Content-Length: 255
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 Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.