mail/shell
changeset 28 4beaaa539ed9
equal deleted inserted replaced
14:8ce422c2db6e 28:4beaaa539ed9
       
     1 http://www.shelldorado.com/articles/mailattachments.html
       
     2 
       
     3 Sending e-mail using shell scripts
       
     4 
       
     5 File attachments with MIME
       
     6   * mutt
       
     7   * MetaMail: mailto, metasend ftp://ftp.research.telcordia.com/pub/nsb/)
       
     8 
       
     9 The most interesting command line arguments of metasend are listed in the
       
    10 following table [refer to metasend(1) for a complete list].
       
    11 
       
    12 -b	batch (non-interactive) mode
       
    13 -c cc	CC address (for copy of the mail)
       
    14 -f filename	Name of file to attach
       
    15 -m MIME-type	MIME content type, e.g. "text/plain" or "application/octet-stream"
       
    16 -s subject	Title (subject) of the mail message
       
    17 -t to	Recipient's address
       
    18 -n	Next file attachment (needed for multiple file attachments)
       
    19 -D description	Description of the file content
       
    20 -o outputfile	Name of an output file. If the -t option is given, the mail is sent directly to the addressee
       
    21 
       
    22   * mpack ftp://ftp.andrew.cmu.edu/pub/mpack/