1Mail::Message::TransferUEsnecr::CSoenvterniBbiutt(e3d)PMearill:D:oMceusmseangtea:t:iTornansferEnc::SevenBit(3)
2
3
4
6 Mail::Message::TransferEnc::SevenBit - encode/decode 7bit message
7 bodies
8
10 Mail::Message::TransferEnc::SevenBit
11 is a Mail::Message::TransferEnc
12 is a Mail::Reporter
13
15 my Mail::Message $msg = ...;
16 my $decoded = $msg->decoded;
17 my $encoded = $msg->encode(transfer => '7bit');
18
20 Encode or decode message bodies for 7bit transfer encoding. This is
21 only very little encoding. According to the specs:
22
23 RFC-2045 Section 2.7 defines legal `7bit' data:
24
25 "7bit data" refers to data that is all represented as relatively
26 short lines with 998 octets or less between CRLF line separation
27 sequences [RFC-821]. No octets with decimal values greater than 127
28 are allowed and neither are NULs (octets with decimal value 0). CR
29 (decimal value 13) and LF (decimal value 10) octets only occur as
30 part of CRLF line separation sequences.
31
32 As you can safely conclude: decoding of these bodies is no work at all.
33
35 Constructors
36 Mail::Message::TransferEnc::SevenBit->new(OPTIONS)
37 See "Constructors" in Mail::Reporter
38
39 The Encoder
40 Mail::Message::TransferEnc::SevenBit->addTransferEncoder(TYPE, CLASS)
41 See "The Encoder" in Mail::Message::TransferEnc
42
43 $obj->create(TYPE, OPTIONS)
44 See "The Encoder" in Mail::Message::TransferEnc
45
46 $obj->name
47 See "The Encoder" in Mail::Message::TransferEnc
48
49 Encoding
50 $obj->check(BODY, OPTIONS)
51 See "Encoding" in Mail::Message::TransferEnc
52
53 $obj->decode(BODY [, OPTIONS])
54 See "Encoding" in Mail::Message::TransferEnc
55
56 $obj->encode(BODY, OPTIONS)
57 See "Encoding" in Mail::Message::TransferEnc
58
59 Error handling
60 $obj->AUTOLOAD
61 See "Error handling" in Mail::Reporter
62
63 $obj->addReport(OBJECT)
64 See "Error handling" in Mail::Reporter
65
66 $obj->defaultTrace([LEVEL]|[LOGLEVEL, TRACELEVEL]|[LEVEL, CALLBACK])
67 Mail::Message::TransferEnc::SevenBit->defaultTrace([LEVEL]|[LOGLEVEL,
68 TRACELEVEL]|[LEVEL, CALLBACK])
69
70 See "Error handling" in Mail::Reporter
71
72 $obj->errors
73 See "Error handling" in Mail::Reporter
74
75 $obj->log([LEVEL [,STRINGS]])
76 Mail::Message::TransferEnc::SevenBit->log([LEVEL [,STRINGS]])
77
78 See "Error handling" in Mail::Reporter
79
80 $obj->logPriority(LEVEL)
81 Mail::Message::TransferEnc::SevenBit->logPriority(LEVEL)
82
83 See "Error handling" in Mail::Reporter
84
85 $obj->logSettings
86 See "Error handling" in Mail::Reporter
87
88 $obj->notImplemented
89 See "Error handling" in Mail::Reporter
90
91 $obj->report([LEVEL])
92 See "Error handling" in Mail::Reporter
93
94 $obj->reportAll([LEVEL])
95 See "Error handling" in Mail::Reporter
96
97 $obj->trace([LEVEL])
98 See "Error handling" in Mail::Reporter
99
100 $obj->warnings
101 See "Error handling" in Mail::Reporter
102
103 Cleanup
104 $obj->DESTROY
105 See "Cleanup" in Mail::Reporter
106
107 $obj->inGlobalDestruction
108 See "Cleanup" in Mail::Reporter
109
111 Error: Decoder for transfer encoding $type does not work: $@
112 Compiling the required transfer encoding resulted in errors, which
113 means that the decoder can not be used.
114
115 Warning: No decoder for transfer encoding $type.
116 A decoder for the specified type of transfer encoding is not
117 implemented.
118
119 Error: Package $package does not implement $method.
120 Fatal error: the specific package (or one of its superclasses) does
121 not implement this method where it should. This message means that
122 some other related classes do implement this method however the
123 class at hand does not. Probably you should investigate this and
124 probably inform the author of the package.
125
127 This module is part of Mail-Box distribution version 2.097, built on
128 January 26, 2011. Website: http://perl.overmeer.net/mailbox/
129
131 Copyrights 2001-2011 by Mark Overmeer. For other contributors see
132 ChangeLog.
133
134 This program is free software; you can redistribute it and/or modify it
135 under the same terms as Perl itself. See
136 http://www.perl.com/perl/misc/Artistic.html
137
138
139
140perl v5.12.3 2011-0M1a-i2l6::Message::TransferEnc::SevenBit(3)