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