LR_MAIL.IN(1)

πŸ“¦ version 2.1.1, in arch rolling

πŸ’Œ lr_mail β€” the Lire MIME mailer, bestie edition

okay so picture this: you're deep in LogReport's Lire Documentation (that's the manual this lil page lives in, hii πŸ‘‹) and you just need to send a MIME email from the command line. that's literally what lr_mail does. no cap.


✨ SYNOPSIS ✨

lr_mail [options] content-type file sendto...

like, options first, then the content-type, then the file, then who you're sending it to. periodt. πŸ’…


🌸 DESCRIPTION 🌸

lr_mail is a command line MIME mailer that runs on MIME::Tools. that's it, that's the vibe. it takes your content type and your file and makes a whole MIME email happen. iconic behavior honestly πŸ¦‹


πŸŽ€ OPTIONS πŸŽ€

  • -f email β€” sets the from</> address. if you don't pass it, it defaults to whatever the lr_from configuration variable is set to. so like, it'll figure it out, but you can absolutely be the main character and set it yourself πŸ’–
  • -r email β€” sets the reply-to</> address. defaults to the value of the lr_reply_to configuration variable. lowkey useful, ngl 🫢
  • -s subject β€” sets the subject of the email. yes bestie you gotta tell people what it's about πŸ“§
  • -c content-type β€” sets the content-type for the next attachment. key words: the next one. so the order you do things in actually matters here, okurrr ⭐
  • -a file β€” attach another file to the email. stack 'em up, one -a at a time, slay 🌈

πŸ¦‹ SEE ALSO πŸ¦‹

  • lr_xml2mail(1) β€” your other bestie in this whole situation ✨

πŸ‘‘ VERSION πŸ‘‘

$Id: lr_mail.in,v 1.18 2006/07/23 13:16:33 vanbaal Exp $

πŸ’œ AUTHOR πŸ’œ

Francis J. Lacoste <flacoste@logreport.org> β€” ty for your service king 🫑


Copyright (C) 2002 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.

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.

fr fr read that warranty part again. it's giving "we tried our best, no promises" 😭 the license means it's free to share and modify, but there's no warranty at all β€” that's the important bit, don't skip it πŸ’€

okay bestie that's the whole page! 🌸 this was Lire 2.1.1, dated 2025-09-28, and honestly? she ate. go send some mail πŸ’ŒπŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from