lr_xml2mail1
Formats a xml report and sends it by email
Usage
lr_xml2mail [options]
report.xml
recipieint ...
lr_xml2mail --version
lr_xml2mail --help
[{dlf-converters | output-formats | report-templates}]
Options
-
--help [section] -
If no argument is given, prints usage information and exits. Argument can be one of the following:
- dlf-converters
-
Prints the list of available DLF converters and exits.
- output-formats
-
Prints the list of available output formats and exits.
- report-templates
-
Prints the list of available report templates and exits.
--output-formatoutput format-
Selects the ouput format in which to generate the report.
-
--template name -
Uses the report configuration template named name to merge the reports. This option is required when using the
--mergeoption to merge reports.
-
--merge report_file -
Merge report_file before formatting the report. This option can be used multiple times to merge more than two reports.
-
--subject subject -
Sets the subject of the email message. Defaults to 'Your format report'.
-
--extra-file file -
An additional text file that will be sent along the report. If the output format is txt, it will be appended to the report.
Overview
lr_xml2mail formats the XML reports generated by Lire to various output format and sends it by email to the recipients specified as remaining arguments.
The command will make sure the report is MIME encapsulated properly depending on the output format chosen. For example, a PDF report will be sent as an attachment and (X)HTML output will appear as an HTML mail message. The content-type of the MIME message will also be set properly.
From and Reply-To headers are initialized from the "lr_from" and "lr_reply_to" configuration variables.
Version
$Id: lr_xml2mail.in,v 1.23 2006/07/23 13:16:33 vanbaal Exp $
Releases
6 releases since Debian 3.1 (Sarge); the text changed 5 times.