NAME

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

CLASS HIERARCHY

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.

METHOD INDEX

Methods prefixed with an abbreviation are described in Mail::Reporter (MR), Mail::Message::Convert (MMC).

The general methods for Mail::Message::Convert::TextAutoformat objects:

MR errors                            MR report [LEVEL]
MR log [LEVEL [,STRINGS]]            MR reportAll [LEVEL]
   new OPTIONS                       MR trace [LEVEL]

The extra methods for extension writers:

MR AUTOLOAD                          MR logPriority LEVEL
MR DESTROY                           MR logSettings
   autoformatBody BODY               MR notImplemented
MR inGlobalDestruction              MMC selectedFields HEAD

METHODS

new OPTIONS
OPTION      DESCRIBED IN            DEFAULT
options     M::M::C::TextAutoformat { all => 1 }
log         Mail::Reporter          'WARNINGS'
trace       Mail::Reporter          'WARNINGS'
  • options => HASH-REF

    Options to pass to Text::Autoformat, when its autoformat method is called.

METHODS for extension writers

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.

SEE ALSO

Mail::Box-Overview

For support and additional documentation, see http://perl.overmeer.net/mailbox/

AUTHOR

Mark Overmeer (mailbox@overmeer.net). All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

VERSION

This code is beta, version 2.015.

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.