LR_XML2MAIL.IN(1)
π NAME π
okay so bestie, meet lr_xml2mail β it takes your XML report, formats it, and literally sends it by email. It's the manual page for lr_xml2mail.in(1), from LogReport's Lire Documentation, and yes we're reading it together π«Ά
β¨ SYNOPSIS β¨
lr_xml2mail [options] report.xml recipieint...
lr_xml2mail --version
lr_xml2mail --help [dlf-converters|output-formats|report-templates]
(yes, recipieint β that's literally how it's spelled up there, we do not touch it π
)
π OPTIONS π
--help [section]β with no argument, prints the usage info and dips out. But if you give it an argument, it can be exactly one of these cuties: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-format output formatβ picks the ouput format your report gets generated in. (Their spelling, not mine, periodt π)--template nameβ uses the report configuration template called name to merge the reports together. Heads up: this one is required when you're using the--mergeoption to merge reports. No template, no merging, that's the rule β¨--merge report_fileβ merges report_file in before formatting the report. You can use this option multiple times, so yes, you can merge more than two reports β go off π--subject subjectβ sets the subject of the email message. Defaults to'Your format report'.--extra-file fileβ an extra text file that gets sent along with the report. And if the output format istxt, it gets appended to the report. Cute little bonus file π
π¦ DESCRIPTION π¦
So what does lr_xml2mail actually do? It formats the XML reports generated by Lire into various output formats, then emails them to the recipients you list as the remaining arguments. Main character energy, honestly π
The command makes sure your report is MIME encapsulated properly, depending on the output format you chose. Like β a PDF report gets sent as an attachment, and (X)HTML output shows up as an HTML mail message. The content-type of the MIME message gets set properly too. It's giving attention to detail β¨
The From and Reply-To headers are initialized from the "lr_from" and "lr_reply_to" configuration variables.
πΈ SEE ALSO πΈ
lr_log2mail(1), lr_log2report(1), lr_xml2report(1), lire(1), lire(7), and the documentation in the Lire User Manual. Go read them, iykyk π
π AUTHOR π
Francis J. Lacoste <flacoste@logreport.org> β icon, legend, the moment.
β VERSION β
$Id: lr_xml2mail.in,v 1.23 2006/07/23 13:16:33 vanbaal Exp $
π COPYRIGHT π
Copyright (C) 2002-2004 Stichting LogReport Foundation LogReport@LogReport.org
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. (fr fr, read the fine print on this one π)
You should have received a copy of the GNU General Public License along with this program (see COPYING); if not, check with http://www.gnu.org/copyleft/gpl.html.
okay that's the whole page bestie, no notes π this was Lire 2.1.1, dated 2025-09-28, and the page is LR_XML2MAIL.IN(1) β slay, go send some emails πβ¨
π¦ where this page comes from
- arch rolling: lire 2.1.1-8 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms