💾 Archived View for freeshell.de › tldr › mail.gmi captured on 2023-09-28 at 16:40:18. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

mail

The command operates on the user's mailbox if no argument is given.
To send an email the message body is built from standard input.

More information.

mail --subject="{subject line}" {to_user@example.com}
mail --subject="{$HOSTNAME filename.txt}" {to_user@example.com} < {path/to/filename.txt}
tar cvzf - {path/to/directory1 path/to/directory2} | uuencode {data.tar.gz} | mail --subject="{subject_line}" {to_user@example.com}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY