Mark Overmeer > Mail-Box-2.109 > mailbox2html

Download:
Mail-Box-2.109.tar.gz

Annotate this POD

CPAN RT

New  2
Open  16
View/Report Bugs
Source   Latest Release: Mail-Box-2.115

NAME ^

mailbox2html - EXPERIMENTAL: convert mail folders into an HTML structure

SYNOPSIS ^

mailbox2html [-src folder] [-dest directory] [-norecurse]

DESCRIPTION ^

Convert various kinds of mail folders to HTML, permitting them to be read by a web browser.

Options:

-cleanup => BOOLEAN

(or -cleanup or -nocleanup) removes the directory before generating the data.

-dest => DIRECTORY

The output directory. When this option is not specified, the program will try to create a sub-directory named mail2html in the directory pointed to by the environment variable TMPDIR or tmpdir, otherwise the output will be in /var/tmp or /tmp.

-folderpage => FILENAME

# DWC Hm... 2nd sentence doesn't make sense The template which is used to create folder pages. See the examples with the distribution of this code for examples.

-help => BOOLEAN

(or -help or -?) Print a brief help

-index => FILENAME

The filename which the web server loads when the user specifies only the name of the directory in a URL. This option is set to index.html by default.

-messagepage => FILENAME

# DWC Hm... 2nd sentence doesn't make sense The template which is used to create one page per message. See the examples with the distribution of this code for examples.

-recurse => BOOLEAN

(or -recurse or <-norecurse>) Recurse through subfolders. By default, recursive production is enabled.

-src => FILE | DIRECTORY

Start with the folder(-directory) which can be found at the specified location. The type of folder is auto-detected. By default, the contents of the directory specified by the MAIL or mail environment variable are used. If these variables are not defined, HOME and home are checked for a sub-directory named Mail. If these are unsuccessful as well, the current directory is used.

-verbose => BOOLEAN

(or -verbose or -noverbose) Be verbose about the progress of the program. This is especially useful for debugging purposes.

AUTHOR ^

Mark Overmeer (Mark@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.107

syntax highlighting: