This queue is for tickets about the MailTools CPAN distribution.

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

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

BugTracker
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
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
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 runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

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