Subject: | body method cannot handle blank lines |
Date: | Thu, 25 Jul 2013 17:10:22 -0700 |
To: | bug-Email-Simple [...] rt.cpan.org |
From: | Brian Moran <bmoran [...] onehub.com> |
Perl version v5.12.3 (on Windows)
Summary: if a body is provided via create, and it has a blank line, the
message will be truncated after that line.
Example:
$body => "Summary:\n\nHere are some data that won't make it into the email"
Perhaps it's an interaction with Email::Sender, as I recall invoking mail,
and typing a message into it, a message is terminated when given an empty
line.
Work Around: split the message on \n, join array of lines on "\n ", then
pass to body.
--
e: bmoran@onehub.com
p: +1 206 390 4376
Onehub, Inc.
www.onehub.com