Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

send(1mh) [ultrix man page]

send(1mh)																 send(1mh)

       send - send a message

       send [ options ] [ file ...  ]

       Use  to	send the draft message to the specified recipients.  You normally choose as one of the options from the program.  However, you can
       use just like any other MH command.

       If you do not have a draft folder set up, messages are created in a file called in your Mail directory.	The draft message remains  in  the
       file until it is either sent or deleted.  This means that you can only have one draft message at a time.  If you do have a draft folder set
       up, or if you have specified one using the -draftfolder option, the draft message is created in this folder, which  enables  you  to  store
       multiple draft messages.  For more information, see

       The command will normally search for the draft message in the file or in your draft folder and cause it to be delivered to each of the des-
       tinations in the To:, cc:, Bcc:, and Fcc: fields of the message.  If is	redistributing	a  message,  as  invoked  from	the  corresponding
       Resent-xxx (R)fields are examined instead.  The delivery is carried out using

       If  you	wish to send a named file instead of an existing draft message, you can specify the file as the file argument.	If you do not give
       an absolute pathname (one beginning with / or ./ or ../ ) assumes that the named file is in your Mail directory.  Note that the	file  must
       be  formatted  as  a legal mail message.  If you want to send an existing mail message rather than a named file, you should use the -draft-
       folder or -draftmessage option.

       Once the transport system has successfully received the message, the mail system will rename the file with a leading comma.  This allows it
       to  be retrieved until the next draft message is sent.  If there are errors in the formatting of the message, will abort and issue an error

       If the environment variable $SIGNATURE is set, then its value is used as your personal name when constructing the From: line  of  the  mes-
       sage.  If this variable is not set, then will consult the profile entry Signature: for this information.

       If  is  redistributing  a  message (when invoked by then the mail system will prepend Resent- to each of these fields: From, Date, and Mes-
       sage-ID.  If the message already contains a From: field, then the mail system will add a Sender: user@local field add as well.

       If an Fcc: field is encountered, the mail system copies the message to the specified folder for the  sender  in	the  format  in  which	it
       appears	to  any normal recipients of the message.  That is, it includes the fields appended by the mail system, and the fields are re-for-
       matted.	The Fcc: fields are removed from all outgoing copies of the message.

       If the message includes a Bcc: field, recipients in this field receive a new copy of the message, which includes the body text of the orig-
       inal message.  The new message has a minimal set of headers.  The Bcc: field does not appear on copies of the message sent to recipients in
       the To: and cc: fields.

       Prior to sending the message, the mail system appends Date: and From: to the headers in the message, for example:
       Date: Wed, 07 June 89 11:18:00 WET
       From: rabb@hostname

       -alias aliasfile
		 Directs to consult the named files for alias definitions.  More than one file, each  preceded by -alias, can be named.   See  for
		 more information.

       -draft	 Specifies  that  the current draft is the message to be sent.	If you do not give a file argument, will query whether the current
		 draft is the file that you intend to send.  You can suppress this question by using this option.

       -draftfolder +foldername
		 Specifies the draft folder from which the draft message is taken.  will search the specified folder for  the  draft  message  and
		 will  deliver	it to the specified recipients.  The current message in the named folder is used.  If you wish to use another mes-
		 sage, you can use the -draftmessage option with -draftfolder.	If there is no current draft message in the specified folder, will
		 display an error message.

       -draftmessage msg
		 Specifies the draft message to be used.  If you specify a folder with the -draftfolder option, the -draftmessage option takes the
		 number of a message in that folder.  If you do not specify a folder, -draftmessage takes the name of a file.  If you do not  give
		 an absolute pathname (one beginning with / or ./ or ../ ), -draftmessage assumes that the file is located in your Mail directory.

       -filter filterfile
       -nofilter Filters  (re-formats)	messages  sent to blind copy recipients.  Recipients named in the Bcc: field usually receive a new message
		 which includes a copy of a message sent to the other recipients.  If this option is given, this copy of the message  is  filtered
		 according to the instructions in the named file.  The default is -nofilter.

       -noformat Replaces  each  of  the  entries  in the To: and cc: fields with standard format entries.  This standard format is designed to be
		 usable by all of the message handlers on the various systems around the Internet.  If -noformat is given, then headers are output
		 exactly as they appear in the message draft.  The default is -format.

		 Forwards  a  copy  of a draft message that cannot be sent to the sender.  This option can only be used with the -push option.	If
		 you have specified -push and the draft message cannot be sent, a failure notice is generated and sent to you.	If you	also  give
		 this  option,	a  copy of the problem message is forwarded with the failure notice.  This differs from putting in the background,
		 because the output is trapped and analyzed by MH.  This is the default behavior.  It can be suppressed by specifying the  -nofor-
		 ward option.

       -help	 Prints a list of the valid options to this command.

       -nomsgid  Adds a Message-ID: field to the message.

       -mts smtp Specifies  the  mail  system  over which mail is sent.  The only value allowed is smtp, which is the standard ULTRIX mail system.
		 Additional values are supported only for use with other mail systems.

       -nopush	 Instructs to perform its actions in the background.  If a draft fails to be sent, a failure notice is generated and sent  to  the
		 sender of the problem message.  If you also specify the -forward option, the message is forwarded with the failure notice.

		 Informs the user of each step of the sending process, prior to actual delivery.

       -nowatch  Monitors  the delivery of local and network mail.  A large amount of information can be gathered about each step of the message's
		 entry into the transport system by specifyiing both this and the -verbose option.

       -width columns
		 Specifies the length of header lines containing addresses.

       The defaults for the command are:

	      file defaults to
	      -alias /usr/lib/mh/MailAliases
	      -mts smtp
	      -width 72

       For this version, the -mts option only supports the value smtp.	Additional values are supported for use only with other mail systems.

Profile Components
       Path:	       To determine the user's MH directory
       Draft-Folder:   To determine the default draft folder
       Signature:      To determine the user's mail signature
       mailproc:       Program to post failure notices
       postproc:       Program to post the message

       The user profile.

See Also
       comp(1mh), dist(1mh), forw(1mh), repl(1mh), mh-alias(5mh), post(8mh)

Man Page