Added mail processing tips (in shell)
authorTomas Zeman <tzeman@volny.cz>
Fri, 02 Sep 2011 17:01:42 +0200
changeset 28 4beaaa539ed9
parent 14 8ce422c2db6e
child 29 f76e13e69c95
Added mail processing tips (in shell)
mail/shell
mail/shell-decoding-headers
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/shell	Fri Sep 02 17:01:42 2011 +0200
@@ -0,0 +1,22 @@
+http://www.shelldorado.com/articles/mailattachments.html
+
+Sending e-mail using shell scripts
+
+File attachments with MIME
+  * mutt
+  * MetaMail: mailto, metasend ftp://ftp.research.telcordia.com/pub/nsb/)
+
+The most interesting command line arguments of metasend are listed in the
+following table [refer to metasend(1) for a complete list].
+
+-b	batch (non-interactive) mode
+-c cc	CC address (for copy of the mail)
+-f filename	Name of file to attach
+-m MIME-type	MIME content type, e.g. "text/plain" or "application/octet-stream"
+-s subject	Title (subject) of the mail message
+-t to	Recipient's address
+-n	Next file attachment (needed for multiple file attachments)
+-D description	Description of the file content
+-o outputfile	Name of an output file. If the -t option is given, the mail is sent directly to the addressee
+
+  * mpack ftp://ftp.andrew.cmu.edu/pub/mpack/
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/shell-decoding-headers	Fri Sep 02 17:01:42 2011 +0200
@@ -0,0 +1,8 @@
+http://cweiske.de/tagebuch/decode-mail-headers-on-shell.htm
+Decoding email headers on your shell
+
+http://people.eisenbits.com/~stf/fsd/conv2047/
+conv2047
+
+A very simple RFC 2047 Unicode e-mail header field converter. It is based on Encode Perl module.
+http://people.eisenbits.com/~stf/fsd/download/conv2047/conv2047-0.1.pl.tgz