playground:s-nail
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
playground:s-nail [2021/11/01 01:24] – zilog | playground:s-nail [2021/11/03 01:20] – zilog | ||
---|---|---|---|
Line 7: | Line 7: | ||
One of the great features of //mailx// is it behaves like most traditional Unix commands; you can pipe the output of other commands to it or use it in a shell script or crontab. | One of the great features of //mailx// is it behaves like most traditional Unix commands; you can pipe the output of other commands to it or use it in a shell script or crontab. | ||
- | < | + | < |
The sender will generally be prompted to enter a // | The sender will generally be prompted to enter a // | ||
Line 13: | Line 13: | ||
To further automate sending simple messages the subject and an input file can generally be specified on the command line like so: | To further automate sending simple messages the subject and an input file can generally be specified on the command line like so: | ||
- | < | + | < |
Most //mailx// implementations allow multiple addressees as well as CC / BCC recipients to be specified on the command line which makes it's fairly easy to automate the sending of regular broadcast-type emails. | Most //mailx// implementations allow multiple addressees as well as CC / BCC recipients to be specified on the command line which makes it's fairly easy to automate the sending of regular broadcast-type emails. | ||
Line 49: | Line 49: | ||
Each of the 3 mailx programs are sufficently different that beyond the very basics they need to be covered separately in this tutorial. | Each of the 3 mailx programs are sufficently different that beyond the very basics they need to be covered separately in this tutorial. | ||
- | headers | + | ^ mailx cmd ^ description |
- | Reply/reply [msg] | + | | header |
- | mail [recepient] | + | | type | prints message(s); accepts range. |
- | file/folder [mail_folder] | + | | forward |
- | folders | + | | |
- | delete | + | | mail | compose a mew message; accepts multiple addrs | |
- | save [msg range] [folder] | + | | write | write message(s) to file; allows MIME splits |
+ | | reply | reply to sender(s); use Reply for just primary | | ||
+ | | list | list all mailx commands | ||
+ | Typing '' | ||
+ | |||
+ | Similarly, in composition mode there are several tilde commands that are common to all mailx clients: | ||
+ | |||
+ | ^ tilde cmd ^ description | ||
+ | | ~p | print current header and body of message buffer | ||
+ | | ~f | read in a message; accepts range, curr. default | ||
+ | | ~d | read in contents of dead.letter (DEAD) | ||
+ | | ~m | read message in as ref.; usually prefixed with '>' | ||
+ | | ~e | open message buffer in default editor | ||
+ | | ~h | edit the message headers; use ~c, ~b for CC and BCC| | ||
+ | | ~r | read a local file into message buffer | ||
+ | | ~? | list all tilde commands and their usage | | ||
+ | |||
+ | Once a composed message is ready to be sent an EOF ('' | ||
+ | |||
+ | |||
+ | ====Specific mailx Client Configurations and Usage==== | ||
[[playground: | [[playground: | ||
- | [[playground: | + | |
+ | [[playground: | ||
[[playground: | [[playground: | ||