| author | Tomas Zeman <tomas@functionals.cz> |
| Fri, 31 Dec 2021 12:25:17 +0100 | |
| changeset 41 | c4f9f37e9a28 |
| parent 28 | 4beaaa539ed9 |
| permissions | -rw-r--r-- |
|
28
4beaaa539ed9
Added mail processing tips (in shell)
Tomas Zeman <tzeman@volny.cz>
parents:
diff
changeset
|
1 |
http://www.shelldorado.com/articles/mailattachments.html |
|
4beaaa539ed9
Added mail processing tips (in shell)
Tomas Zeman <tzeman@volny.cz>
parents:
diff
changeset
|
2 |
|
|
4beaaa539ed9
Added mail processing tips (in shell)
Tomas Zeman <tzeman@volny.cz>
parents:
diff
changeset
|
3 |
Sending e-mail using shell scripts |
|
4beaaa539ed9
Added mail processing tips (in shell)
Tomas Zeman <tzeman@volny.cz>
parents:
diff
changeset
|
4 |
|
|
4beaaa539ed9
Added mail processing tips (in shell)
Tomas Zeman <tzeman@volny.cz>
parents:
diff
changeset
|
5 |
File attachments with MIME |
|
4beaaa539ed9
Added mail processing tips (in shell)
Tomas Zeman <tzeman@volny.cz>
parents:
diff
changeset
|
6 |
* mutt |
|
4beaaa539ed9
Added mail processing tips (in shell)
Tomas Zeman <tzeman@volny.cz>
parents:
diff
changeset
|
7 |
* MetaMail: mailto, metasend ftp://ftp.research.telcordia.com/pub/nsb/) |
|
4beaaa539ed9
Added mail processing tips (in shell)
Tomas Zeman <tzeman@volny.cz>
parents:
diff
changeset
|
8 |
|
|
4beaaa539ed9
Added mail processing tips (in shell)
Tomas Zeman <tzeman@volny.cz>
parents:
diff
changeset
|
9 |
The most interesting command line arguments of metasend are listed in the |
|
4beaaa539ed9
Added mail processing tips (in shell)
Tomas Zeman <tzeman@volny.cz>
parents:
diff
changeset
|
10 |
following table [refer to metasend(1) for a complete list]. |
|
4beaaa539ed9
Added mail processing tips (in shell)
Tomas Zeman <tzeman@volny.cz>
parents:
diff
changeset
|
11 |
|
|
4beaaa539ed9
Added mail processing tips (in shell)
Tomas Zeman <tzeman@volny.cz>
parents:
diff
changeset
|
12 |
-b batch (non-interactive) mode |
|
4beaaa539ed9
Added mail processing tips (in shell)
Tomas Zeman <tzeman@volny.cz>
parents:
diff
changeset
|
13 |
-c cc CC address (for copy of the mail) |
|
4beaaa539ed9
Added mail processing tips (in shell)
Tomas Zeman <tzeman@volny.cz>
parents:
diff
changeset
|
14 |
-f filename Name of file to attach |
|
4beaaa539ed9
Added mail processing tips (in shell)
Tomas Zeman <tzeman@volny.cz>
parents:
diff
changeset
|
15 |
-m MIME-type MIME content type, e.g. "text/plain" or "application/octet-stream" |
|
4beaaa539ed9
Added mail processing tips (in shell)
Tomas Zeman <tzeman@volny.cz>
parents:
diff
changeset
|
16 |
-s subject Title (subject) of the mail message |
|
4beaaa539ed9
Added mail processing tips (in shell)
Tomas Zeman <tzeman@volny.cz>
parents:
diff
changeset
|
17 |
-t to Recipient's address |
|
4beaaa539ed9
Added mail processing tips (in shell)
Tomas Zeman <tzeman@volny.cz>
parents:
diff
changeset
|
18 |
-n Next file attachment (needed for multiple file attachments) |
|
4beaaa539ed9
Added mail processing tips (in shell)
Tomas Zeman <tzeman@volny.cz>
parents:
diff
changeset
|
19 |
-D description Description of the file content |
|
4beaaa539ed9
Added mail processing tips (in shell)
Tomas Zeman <tzeman@volny.cz>
parents:
diff
changeset
|
20 |
-o outputfile Name of an output file. If the -t option is given, the mail is sent directly to the addressee |
|
4beaaa539ed9
Added mail processing tips (in shell)
Tomas Zeman <tzeman@volny.cz>
parents:
diff
changeset
|
21 |
|
|
4beaaa539ed9
Added mail processing tips (in shell)
Tomas Zeman <tzeman@volny.cz>
parents:
diff
changeset
|
22 |
* mpack ftp://ftp.andrew.cmu.edu/pub/mpack/ |