Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages


home | help
MPACK(1)		    General Commands Manual		      MPACK(1)

       mpack - pack a file in MIME format

       mpack  [	 -s  subject ] [ -d descriptionfile ] [	-m maxsize ] [ -c con-
       tent-type ] file	address	...
       mpack [ -s subject ] [ -d descriptionfile ] [ -m	maxsize	]  [  -c  con-
       tent-type ] -o outputfile file
       mpack  [	 -s  subject ] [ -d descriptionfile ] [	-m maxsize ] [ -c con-
       tent-type ] -n newsgroups file

       The mpack program encodes the the named file in one or more  MIME  mes-
       sages.	The  resulting	messages are mailed to one or more recipients,
       written to a named file or set of files,	or posted to a	set  of	 news-

       -s subject
	      Set the Subject header field to Subject.	By default, mpack will
	      prompt for the contents of the subject header.

       -d descriptionfile
	      Include the contents of the file descriptionfile in an introduc-
	      tory section at the beginning of the first generated message.

       -m maxsize
	      Split the	message	(if necessary) into partial messages, each not
	      exceeding	maxsize	characters.  The default limit is the value of
	      the  SPLITSIZE environment variable, or no limit if the environ-
	      ment variable does not exist.  Specifying	a maxsize of  0	 means
	      there is no limit	to the size of the generated message.

       -c content-type
	      Label  the  included  file  as  being of MIME type content-type,
	      which must be a subtype of application, audio, image, or	video.
	      If  this	switch is not given, mpack examines the	file to	deter-
	      mine its type.

       -o outputfile
	      Write the	generated message to the file outputfile.  If the mes-
	      sage has to be split, the	partial	messages will instead be writ-
	      ten to the files outputfile.01, outputfile.02, etc.

       -n newsgroups
	      Post the generated message(s)  to	 the  comma-separated  netnews

       file   Encode the named file.

       address ...
	      Mail the generated messages to the specified addresses.

       TMPDIR Directory	to store temporary files.  Default is /tmp.

	      Default value of the -m switch.



Want to link to this manual page? Use this URL:

home | help