1Mail::Message::Convert:U:sTeerxtCAounttorfiobrumtaetdM(a3Pi)elr:l:MDeoscsuamgeen:t:aCtoinovnert::TextAutoformat(3)
2
3
4

NAME

6       Mail::Message::Convert::TextAutoformat - Reformat plain text messages
7

INHERITANCE

9        Mail::Message::Convert::TextAutoformat
10          is a Mail::Message::Convert
11          is a Mail::Reporter
12

SYNOPSIS

14        use Mail::Message::Convert::TextAutoformat;
15        my $af = Mail::Message::Convert::TextAutoformat->new;
16
17        my $beautified_body = $af->autoformatBody($body);
18

DESCRIPTION

20   Converters between message objects
21   Other converters
22       Play trics with plain text, for instance bodies with type "text/plain"
23       using Damian Conway's Text::Autoformat.
24

METHODS

26   Constructors
27       Mail::Message::Convert::TextAutoformat->new(OPTIONS)
28            -Option --Defined in     --Default
29             fields   Mail::Message::Convert  <see description>
30             log      Mail::Reporter   'WARNINGS'
31             options                   { (all, 1) }
32             trace    Mail::Reporter   'WARNINGS'
33
34           fields => NAMES|ARRAY-OF-NAMES|REGEXS
35           log => LEVEL
36           options => HASH-REF
37             Options to pass to Text::Autoformat, when its "autoformat" method
38             is called.
39
40           trace => LEVEL
41
42   Converting
43       $obj->autoformatBody(BODY)
44           Formats a single message body (a Mail::Message::Body object) into a
45           new body object using Text::Autoformat.  If the Text::Autoformat is
46           not installed, "undef" is returned.
47
48       $obj->selectedFields(HEAD)
49           See "Converting" in Mail::Message::Convert
50
51   Error handling
52       $obj->AUTOLOAD
53           See "Error handling" in Mail::Reporter
54
55       $obj->addReport(OBJECT)
56           See "Error handling" in Mail::Reporter
57
58       $obj->defaultTrace([LEVEL]|[LOGLEVEL, TRACELEVEL]|[LEVEL, CALLBACK])
59           Mail::Message::Convert::TextAutoformat->defaultTrace([LEVEL]|[LOGLEVEL,
60           TRACELEVEL]|[LEVEL, CALLBACK])
61
62           See "Error handling" in Mail::Reporter
63
64       $obj->errors
65           See "Error handling" in Mail::Reporter
66
67       $obj->log([LEVEL [,STRINGS]])
68           Mail::Message::Convert::TextAutoformat->log([LEVEL [,STRINGS]])
69
70           See "Error handling" in Mail::Reporter
71
72       $obj->logPriority(LEVEL)
73           Mail::Message::Convert::TextAutoformat->logPriority(LEVEL)
74
75           See "Error handling" in Mail::Reporter
76
77       $obj->logSettings
78           See "Error handling" in Mail::Reporter
79
80       $obj->notImplemented
81           See "Error handling" in Mail::Reporter
82
83       $obj->report([LEVEL])
84           See "Error handling" in Mail::Reporter
85
86       $obj->reportAll([LEVEL])
87           See "Error handling" in Mail::Reporter
88
89       $obj->trace([LEVEL])
90           See "Error handling" in Mail::Reporter
91
92       $obj->warnings
93           See "Error handling" in Mail::Reporter
94
95   Cleanup
96       $obj->DESTROY
97           See "Cleanup" in Mail::Reporter
98
99       $obj->inGlobalDestruction
100           See "Cleanup" in Mail::Reporter
101

DIAGNOSTICS

103       Error: Package $package does not implement $method.
104           Fatal error: the specific package (or one of its superclasses) does
105           not implement this method where it should. This message means that
106           some other related classes do implement this method however the
107           class at hand does not.  Probably you should investigate this and
108           probably inform the author of the package.
109

SEE ALSO

111       This module is part of Mail-Box distribution version 2.097, built on
112       January 26, 2011. Website: http://perl.overmeer.net/mailbox/
113

LICENSE

115       Copyrights 2001-2011 by Mark Overmeer. For other contributors see
116       ChangeLog.
117
118       This program is free software; you can redistribute it and/or modify it
119       under the same terms as Perl itself.  See
120       http://www.perl.com/perl/misc/Artistic.html
121
122
123
124perl v5.12.3                      2011M-a0i1l-:2:6Message::Convert::TextAutoformat(3)
Impressum