Email::Simple::OneLineHeaders - same as Email::Simple but without the folding
my $mail = Email::Simple::OneLineHeaders->new($text); print $mail->as_string;
The original Email::Simple might output something like this:
Received: from [10.10.10.178] (account jonathan [10.10.10.178] verified) by imiinc.com (CommuniGate Pro SMTP 4.3.4) with ESMTPA id 130117 for jonathan@imiinc.com; Wed, 27 Jul 2005 23:01:07 -0700
But this module outputs one line headers:
Same as Email::Simple
Email::Simple handles only RFC2822 formatted messages. This means you cannot expect it to cope well as the only parser between you and the outside world, say for example when writing a mail filter for invocation from a .forward file (for this we recommend you use Email::Filter anyway). For more information on this issue please consult RT issue 2478, http://rt.cpan.org/NoAuth/Bug.html?id=2478 .
Jonathan Buhacoff <jonathan@pnc.net>
This derivative work is Copyright (C) 2005 Jonathan Buhacoff <jonathan@pnc.net>
Original work is Copyright 2004 by Casey West Copyright 2003 by Simon Cozens
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Email::Simple 1.92, by Casey West
Perl Email Project, http://pep.kwiki.org .
To install Email::Simple::OneLineHeaders, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Email::Simple::OneLineHeaders
CPAN shell
perl -MCPAN -e shell install Email::Simple::OneLineHeaders
For more information on module installation, please visit the detailed CPAN module installation guide.