@ -29,7 +29,25 @@ fmail \- mail formatter
formats text read on standard input into a mail message
ready to be sent to a mail sending agent.
ready to be sent to a mail submission agent.
The formatting process includes: encoding the text body in
creating appropriate MIME parts for attachments and
OpenPGP signature; encoding attachments (in
depending on their type); adding appropriate mail headers.
The resulting message is printed on standard output and can
be piped directly to a program such as
to effectively send the message to a mail server.
The first lines of the input message, up to the first blank
line, are treated as mail headers; everything from the first
blank line to the end of file is treated as the mail body.