NAME
Mail::Message::Convert::TextAutoformat - Reformat plain text messages
CLASS INHERITANCE
Mail::Message::Convert::TextAutoformat is a Mail::Message::Convert is a Mail::Reporter
SYNOPSIS
use Mail::Message::Convert::TextAutoformat;
my $af = Mail::Message::Convert::TextAutoformat->new;
my $beautified_body = $af->autoformatBody($body);
DESCRIPTION
Play trics with plain text, for instance bodies with type text/plain
using Damian Conways Text::Autoformat.
METHODS
Initiation
- new OPTIONS
-
OPTION DEFAULT fields <see description> log 'WARNINGS' options { all => 1 } trace 'WARNINGS'
Converting
- autoformatBody BODY
-
Formats a single message body (a Mail::Message::Body object) into a new body object using Text::Autoformat. If the Text::Autoformat is not installed,
undef
is returned. - selectedFields HEAD
-
See Mail::Message::Convert::selectedFields()
Logging and Tracing
- defaultTrace [LEVEL, [LEVEL]
-
See Mail::Reporter::defaultTrace()
- errors
-
See Mail::Reporter::errors()
- log [LEVEL [,STRINGS]]
-
See Mail::Reporter::log()
- report [LEVEL]
-
See Mail::Reporter::report()
- reportAll [LEVEL]
-
See Mail::Reporter::reportAll()
- trace [LEVEL]
-
See Mail::Reporter::trace()
- warnings
-
See Mail::Reporter::warnings()
Other Methods
- AUTOLOAD
-
See Mail::Reporter::AUTOLOAD()
- DESTROY
-
See Mail::Reporter::DESTROY()
- inGlobalDestruction
-
See Mail::Reporter::inGlobalDestruction()
- logPriority LEVEL
-
See Mail::Reporter::logPriority()
- logSettings
-
See Mail::Reporter::logSettings()
- notImplemented
-
See Mail::Reporter::notImplemented()
SEE ALSO
A good start to read is Mail::Box-Overview. More documentation and a mailinglist are available from the project's website at http://perl.overmeer.net/mailbox/.
AUTHOR
Mark Overmeer (mark@overmeer.net) with the help of many.
VERSION
This code is beta, version 2.022.
Copyright (c) 2001-2002 Mark Overmeer. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.