MAILTEXTBODY(1)

πŸ“¦
version 0.1.5 Β· 2 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’Œ mailtextbody β€” bestie, it gets the body of your email πŸ’Œ

okay so picture this: you got a raw email sitting there, headers and all, and you just want the actual message, right? that's literally what mailtextbody is for. it's a section 1 User Command, so it's a real one, and it's about to be your new fave. 🫢


✨ SYNOPSIS ✨

mailtextbody [OPTION...] mailtextbody < rawmail > textplain

no cap, that's the whole vibe: feed it raw mail on stdin, get plain text out the other side. πŸŽ€


🌸 DESCRIPTION 🌸

so mailtextbody is a program that returns the body of an email message. that's it. that's the whole job. it reads your mail, it finds the body, it hands it over. iconic behaviour, honestly. πŸ’…

here's every single option, and yes we're doing all of them:

  • -m, --mimetype=value β€” the MIME type you want it to go looking for. the default is "text/plain". that's the one you get if you don't say anything, bestie. πŸ¦‹
  • -?, --help β€” give this help list. it's giving "help me help you". 😭
  • --usage β€” give a short usage message. short and sweet, the way we like it. ✨
  • -V, --version β€” print program version. so you know exactly which queen you're working with. πŸ‘‘
real talk though: mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options. so like, if the long one needs a value, the short one needs it too. they match. they're a set. don't separate them. πŸ’€

πŸ› REPORTING BUGS πŸ›

found a bug? don't be shy, tell on it β€” report bugs to <toast@toastfreeware.priv.at>. they wanna know, fr fr. πŸ™ˆ


🌈 that's a wrap 🌈

this whole thing is mailtextbody version 0.1.5, and it was living its truth back in April 2024. go forth and extract some bodies, bestie β€” you got this. πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from