NAME
mailbox2html - EXPERIMENTAL: convert mail-folders into an html-structure
SYNOPSIS
mail2html [-src folder] [-dest directory] [-norecurse]
DESCRIPTION
Convert various kinds of mail-folders to html, permitting it to be read by a browser.
Options:
- -cleanup => BOOLEAN
-
(or
-cleanup
or-nocleanup
) removes the directory, before generating the data. - -dest => DIRECTORY
-
Where the output has to go to. 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 in/var/tmp
, or/tmp
. - -folderpage => FILENAME
-
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 in the directory where the web-server falls back onto, when the user specifies only the name of the directory to get data from. By default, this is set to
index.html
. - -messagepage => FILENAME
-
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>) Go recursive through subfolders. By default, recursive production is enabled. - -src => FILE | DIRECTORY
-
Start with the folder(-directory) which can be found on the specified location. The type of folder is auto-detected. By default, the content of the
MAIL
ormail
environment-variable is taken. If these are not defined,HOME
andhome
are checked for a sub-directory namedMail
. If that is unsuccessful too, the current directory is taken. - -verbose => BOOLEAN
-
(or
-verbose
or-noverbose
) Be verbose about the progress of the program. 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 1.322