LR_XML2MAIL.IN(1)

πŸ“¦ version 2.1.1, in arch rolling

πŸ’Œ 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 --merge option 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 is txt, 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 (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