Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ send(1m) — AIX PS/2 1.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ali

comp

dist

forw

post

sendmail, mailq, newaliases

mh-alias

mh-format

mh-profile



SEND(1m,C)                  AIX Commands Reference                   SEND(1m,C)



-------------------------------------------------------------------------------
send



PURPOSE

Sends a message.

SYNTAX


        +-----------------------+   +-----------------+
send ---|        one of         |---| +-------------+ |--->
        | +-------------------+ |   +-| -alias file |-+
        +-| file              |-+     | -width num  |
          | -draft            |       +-------------+
          | -draftmessage msg |
          +-------------------+

    +--------------------------------+
>---| +----------------------------+ |---|
    +-| -[no]draft folder + folder |-+
      | -[no]filter file           |
      | -[no]format file           |
      | -[no]forward               |
      | -[no]push                  |
      | -[no]verbose               |
      | -[no]watch                 |
      | -[no]msgid                 |
      +----------------------------+

send --- -help ---|


Warning: See restrictions, Chapter 18, AIX Programming Tools and Interfaces.

DESCRIPTION

The send command is used to route messages to the mail delivery system by way
of the post command or the spost command.  send is part of the Message Handling
(MH) package and can be used with other MH and AIX commands.

The send command causes From: and Date:  fields to be added to each specified
message.  send places the sender's address in the From:  field unless a
$SIGNATURE environment variable is set or a signature: profile entry is
present.  In either of these cases send uses the signature.  send puts the
current date in the Date: field.  If the dist command calls send, send prepends
Resent- to the From:, Date:, and Message-ID: fields.

The send command then takes each of the specified message files and calls the
post command or the spost command to deliver them.  After successful delivery,



Processed November 8, 1990        SEND(1m,C)                                  1





SEND(1m,C)                  AIX Commands Reference                   SEND(1m,C)



send renames the message file by placing a comma in front of the file name.
This comma removes the message from the folder without actually deleting the
file.  The file is retrievable until you send another message.  If the delivery
fails, send displays an error message.

FLAGS

-alias file            Specifies that file is a mail alias file to be searched
                       for aliases.  The default alias file is
                       /usr/lib/mh/MailAliases.

-draft                 Uses the current draft message if no file is specified.
                       Without this flag, send asks the user if the current
                       draft message is the one to use when no file is
                       specified.

-draftfolder +folder   Specifies the draft folder that contains the draft
                       message to be sent.  If -draftfolder +folder is followed
                       by msg, msg represents the -draftmessage attribute.

-draftmessage msg      Specifies the draft message to be sent.  You can use one
                       of the following message references as msg:

                       num                    sequence                   first
                       prev                   cur                        .
                       next                   last                       new

                       The default draft message is cur.

-filter file           Uses the format instructions in the specified file to
                       reformat copies of the message sent to Bcc: recipients.

-format                Puts all recipient addresses in a standard format for
                       the delivery transport system.  This flag is the
                       default.

-forward               Adds a failure message to the draft message and returns
                       it to the sender if the send command fails to deliver
                       the draft.  This flag is the default.

-help                  Displays help information for the command.

-nodraftfolder         Undoes the last occurrence of -draftfolder +folder.
                       This flag is the default.

-nofilter              Removes the Bcc: header from the message for recipients
                       listed in the To: and cc: fields, and sends the message
                       with minimal headers to recipients listed in the Bcc:
                       field.  This flag is the default.

-noformat              Does not alter the format of the recipient addresses.




Processed November 8, 1990        SEND(1m,C)                                  2





SEND(1m,C)                  AIX Commands Reference                   SEND(1m,C)



-noforward             Does not return the draft message to the sender if
                       delivery fails.

-nopush                Runs the send command in the foreground (see the -push
                       flag).  This flag is the default.

-noverbose             Does not display information during the delivery of the
                       message to the sendmail command.  This flag is the
                       default.

-nowatch               Does not display information during delivery by the
                       sendmail command.  This flag is the default.

-push                  Runs the send command in the background.  send does not
                       display error messages on the terminal if delivery
                       fails.  You can use the -forward flag to return messages
                       to you that fail on delivery.

-verbose               Displays information during the delivery of the message
                       to the sendmail command.  This information allows you to
                       monitor the steps involved.

-watch                 Displays information during the delivery of the message
                       by the sendmail command.  This information allows you to
                       monitor the steps involved.

-width num             Sets the width of components that contain addresses.
                       The default is 72 columns.

PROFILE ENTRIES

Draft-Folder:    Sets your default folder for drafts.
mailproc:        Specifies the program used to post failure notices.
Path:            Specifies your user_mh_directory.
postproc:        Specifies the program used to post messages.
Signature:       Sets your mail signature.

FILES

.profile
$HOME/.mh_profile   The MH user profile.

RELATED INFORMATION

See the following commands:  "ali,"  "comp,"  "dist," "forw,"  "post," and
"sendmail, mailq, newaliases."

See the mh-alias, mh-format, and mh-profile files in AIX Operating System
Technical Reference.

See "Overview of the Message Handling Package" in Managing the AIX Operating
System.



Processed November 8, 1990        SEND(1m,C)                                  3



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026