NAME
Mail::Message::TransferEnc::SevenBit - encode/decode 7bit message bodies
CLASS HIERARCHY
Mail::Message::TransferEnc::SevenBit
is a Mail::Message::TransferEnc
is a Mail::Reporter
SYNOPSIS
my Mail::Message $msg = ...;
my $decoded = $msg->decoded;
my $encoded = $msg->encode(transfer => '7bit');
DESCRIPTION
Encode or decode message bodies for 7bit transfer encoding. This is only very little encoding. According to the specs:
RFC-2045 Section 2.7 defines legal `7bit' data:
"7bit data" refers to data that is all represented as relatively
short lines with 998 octets or less between CRLF line separation
sequences [RFC-821]. No octets with decimal values greater than 127
are allowed and neither are NULs (octets with decimal value 0). CR
(decimal value 13) and LF (decimal value 10) octets only occur as
part of CRLF line separation sequences.
As you can safely conclude: decoding of these bodies is no work at all.
METHOD INDEX
The general methods for Mail::Message::TransferEnc::SevenBit
objects:
MMT check BODY [, OPTIONS] MMT name
MMT create TYPE, OPTIONS new OPTIONS
MMT decode BODY [, OPTIONS] MR report [LEVEL]
MMT encode BODY [, OPTIONS] MR reportAll [LEVEL]
MR errors MR trace [LEVEL]
MR log [LEVEL [,STRINGS]] MR warnings
The extra methods for extension writers:
MR AUTOLOAD MR inGlobalDestruction
MR DESTROY MR logPriority LEVEL
MMT addTransferEncoder TYPE, CLASS MR logSettings
Methods prefixed with an abbreviation are described in the following manual-pages:
MR = L<Mail::Reporter>
MMT = L<Mail::Message::TransferEnc>
METHODS
- new OPTIONS
-
OPTION DESCRIBED IN DEFAULT log Mail::Reporter 'WARNINGS' trace Mail::Reporter 'WARNINGS'
METHODS for extension writers
SEE ALSO
AUTHOR
Mark Overmeer (mailbox@overmeer.net). All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
VERSION
This code is beta, version 2.003.
Copyright (c) 2001 Mark Overmeer. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.