NAME

Mail::Message::TransferEnc::SevenBit - encode/decode 7bit message bodies

CLASS INHERITANCE

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.

METHODS

Initiation

new OPTIONS

See Mail::Message::TransferEnc::new()

The Encoder

addTransferEncoder TYPE, CLASS

See Mail::Message::TransferEnc::addTransferEncoder()

create TYPE, OPTIONS

See Mail::Message::TransferEnc::create()

name

See Mail::Message::TransferEnc::name()

Encoding

check BODY, OPTIONS

See Mail::Message::TransferEnc::check()

decode BODY [, OPTIONS]

See Mail::Message::TransferEnc::decode()

encode BODY, OPTIONS

See Mail::Message::TransferEnc::encode()

Logging and Tracing

defaultTrace [LEVEL, [LEVEL]

See Mail::Reporter::defaultTrace()

errors

See Mail::Reporter::errors()

log [LEVEL [,STRINGS]]

See Mail::Reporter::log()

report [LEVEL]

See Mail::Reporter::report()

reportAll [LEVEL]

See Mail::Reporter::reportAll()

trace [LEVEL]

See Mail::Reporter::trace()

warnings

See Mail::Reporter::warnings()

Other Methods

AUTOLOAD

See Mail::Reporter::AUTOLOAD()

DESTROY

See Mail::Reporter::DESTROY()

inGlobalDestruction

See Mail::Reporter::inGlobalDestruction()

logPriority LEVEL

See Mail::Reporter::logPriority()

logSettings

See Mail::Reporter::logSettings()

notImplemented

See Mail::Reporter::notImplemented()

SEE ALSO

A good start to read is Mail::Box-Overview. More documentation and a mailinglist are available from the project's website at http://perl.overmeer.net/mailbox/.

AUTHOR

Mark Overmeer (mark@overmeer.net) with the help of many.

VERSION

This code is beta, version 2.025.

Copyright (c) 2001-2002 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.