1Mail::Message::TransferUEsnecr::CSoenvterniBbiutt(e3d)PMearill:D:oMceusmseangtea:t:iTornansferEnc::SevenBit(3)
2
3
4
6 Mail::Message::TransferEnc::SevenBit - encode/decode 7bit message bod‐
7 ies
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
37 Mail::Message::TransferEnc::SevenBit->new(OPTIONS)
38
39 See "Constructors" in Mail::Reporter
40
41 The Encoder
42
43 Mail::Message::TransferEnc::SevenBit->addTransferEncoder(TYPE, CLASS)
44
45 See "The Encoder" in Mail::Message::TransferEnc
46
47 $obj->create(TYPE, OPTIONS)
48
49 See "The Encoder" in Mail::Message::TransferEnc
50
51 $obj->name
52
53 See "The Encoder" in Mail::Message::TransferEnc
54
55 Encoding
56
57 $obj->check(BODY, OPTIONS)
58
59 See "Encoding" in Mail::Message::TransferEnc
60
61 $obj->decode(BODY [, OPTIONS])
62
63 See "Encoding" in Mail::Message::TransferEnc
64
65 $obj->encode(BODY, OPTIONS)
66
67 See "Encoding" in Mail::Message::TransferEnc
68
69 Error handling
70
71 $obj->AUTOLOAD
72
73 See "Error handling" in Mail::Reporter
74
75 $obj->addReport(OBJECT)
76
77 See "Error handling" in Mail::Reporter
78
79 $obj->defaultTrace([LEVEL]⎪[LOGLEVEL, TRACELEVEL]⎪[LEVEL, CALLBACK])
80
81 Mail::Message::TransferEnc::SevenBit->defaultTrace([LEVEL]⎪[LOGLEVEL,
82 TRACELEVEL]⎪[LEVEL, CALLBACK])
83
84 See "Error handling" in Mail::Reporter
85
86 $obj->errors
87
88 See "Error handling" in Mail::Reporter
89
90 $obj->log([LEVEL [,STRINGS]])
91
92 Mail::Message::TransferEnc::SevenBit->log([LEVEL [,STRINGS]])
93
94 See "Error handling" in Mail::Reporter
95
96 $obj->logPriority(LEVEL)
97
98 Mail::Message::TransferEnc::SevenBit->logPriority(LEVEL)
99
100 See "Error handling" in Mail::Reporter
101
102 $obj->logSettings
103
104 See "Error handling" in Mail::Reporter
105
106 $obj->notImplemented
107
108 See "Error handling" in Mail::Reporter
109
110 $obj->report([LEVEL])
111
112 See "Error handling" in Mail::Reporter
113
114 $obj->reportAll([LEVEL])
115
116 See "Error handling" in Mail::Reporter
117
118 $obj->trace([LEVEL])
119
120 See "Error handling" in Mail::Reporter
121
122 $obj->warnings
123
124 See "Error handling" in Mail::Reporter
125
126 Cleanup
127
128 $obj->DESTROY
129
130 See "Cleanup" in Mail::Reporter
131
132 $obj->inGlobalDestruction
133
134 See "Cleanup" in Mail::Reporter
135
137 Error: Decoder for transfer encoding $type does not work: $@
138
139 Compiling the required transfer encoding resulted in errors, which
140 means that the decoder can not be used.
141
142 Warning: No decoder for transfer encoding $type.
143
144 A decoder for the specified type of transfer encoding is not imple‐
145 mented.
146
147 Error: Package $package does not implement $method.
148
149 Fatal error: the specific package (or one of its superclasses) does not
150 implement this method where it should. This message means that some
151 other related classes do implement this method however the class at
152 hand does not. Probably you should investigate this and probably
153 inform the author of the package.
154
156 This module is part of Mail-Box distribution version 2.070, built on
157 March 25, 2007. Website: http://perl.overmeer.net/mailbox/
158
160 Copyrights 2001-2007 by Mark Overmeer.For other contributors see
161 ChangeLog.
162
163 This program is free software; you can redistribute it and/or modify it
164 under the same terms as Perl itself. See
165 http://www.perl.com/perl/misc/Artistic.html
166
167
168
169perl v5.8.8 2007-0M3a-i2l5::Message::TransferEnc::SevenBit(3)