mhmail - send or read mail (only available within the message
handling system, mh)
mhmail [addrs...] [options]
Specifies the text of the message. If it is specified,
then the standard input is not read. Specifies addresses
to be placed in the cc: field of the message. Specifies
the content of the From: header of the draft. The address
given is placed in the From: field of the message. The
Sender: field is filled in correctly by post. Prints a
list of the valid options for this command. Specifies the
mail system over which mail is sent. The only value
allowed is smtp, which is the standard mail system. Additional
values are supported only for use with other mail
systems. Provides the text of the Subject: field of the
The mhmail program is intended as a replacement for the
standard mail programs, bellmail and ucbmail. See binmail(1) and mail(1) for more details of these mail programs.
When invoked without arguments, it simply invokes
inc to incorporate new messages from the user's maildrop.
When one or more users is specified, a message is read
from the standard input and spooled to a temporary file.
The mhmail program then invokes post with the name of the
temporary file as its argument to deliver the message to
the specified user.
Normally, people will use comp and send to send messages.
Messages with a null body part will not be sent by mhmail.
You must include some body text in all messages to be sent
For this version, the -mts option only supports the value
smtp. Additional values are supported for use only with
other mail systems.
Program to incorporate a maildrop into a folder. Program
to deliver a message. Temporary copy of message.
[ Back ]