.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Mail::Message::TransferEnc::SevenBit 3" .TH Mail::Message::TransferEnc::SevenBit 3 2024-01-06 "perl v5.38.1" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME Mail::Message::TransferEnc::SevenBit \- encode/decode 7bit message bodies .SH INHERITANCE .IX Header "INHERITANCE" .Vb 3 \& Mail::Message::TransferEnc::SevenBit \& is a Mail::Message::TransferEnc \& is a Mail::Reporter .Ve .SH SYNOPSIS .IX Header "SYNOPSIS" .Vb 3 \& my Mail::Message $msg = ...; \& my $decoded = $msg\->decoded; \& my $encoded = $msg\->encode(transfer => \*(Aq7bit\*(Aq); .Ve .SH DESCRIPTION .IX Header "DESCRIPTION" Encode or decode message bodies for 7bit transfer encoding. This is only very little encoding. According to the specs: .PP RFC\-2045 Section 2.7 defines legal `7bit' data: .PP .Vb 6 \& "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. .Ve .PP As you can safely conclude: decoding of these bodies is no work at all. .PP Extends "DESCRIPTION" in Mail::Message::TransferEnc. .SH METHODS .IX Header "METHODS" Extends "METHODS" in Mail::Message::TransferEnc. .SH DIAGNOSTICS .IX Header "DIAGNOSTICS" .ie n .IP "Error: Decoder for transfer encoding $type does not work: $@" 4 .el .IP "Error: Decoder for transfer encoding \f(CW$type\fR does not work: $@" 4 .IX Item "Error: Decoder for transfer encoding $type does not work: $@" Compiling the required transfer encoding resulted in errors, which means that the decoder can not be used. .ie n .IP "Warning: No decoder for transfer encoding $type." 4 .el .IP "Warning: No decoder for transfer encoding \f(CW$type\fR." 4 .IX Item "Warning: No decoder for transfer encoding $type." A decoder for the specified type of transfer encoding is not implemented. .ie n .IP "Error: Package $package does not implement $method." 4 .el .IP "Error: Package \f(CW$package\fR does not implement \f(CW$method\fR." 4 .IX Item "Error: Package $package does not implement $method." Fatal error: the specific package (or one of its superclasses) does not implement this method where it should. This message means that some other related classes do implement this method however the class at hand does not. Probably you should investigate this and probably inform the author of the package. .SH "SEE ALSO" .IX Header "SEE ALSO" This module is part of Mail-Message distribution version 3.015, built on December 11, 2023. Website: \fIhttp://perl.overmeer.net/CPAN/\fR .SH LICENSE .IX Header "LICENSE" Copyrights 2001\-2023 by [Mark Overmeer ]. For other contributors see ChangeLog. .PP This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See \fIhttp://dev.perl.org/licenses/\fR