User Tools

Site Tools


playground:s-nail

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
playground:s-nail [2021/11/01 04:48] zilogplayground:s-nail [2021/11/03 01:20] zilog
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:
  
-<code>$ mailx -s "simple test" //some_user// < myfile </code>+<code>$ mailx -s "simple test" some_user < myfile </code>
  
 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 50: Line 50:
  
 ^ mailx cmd  ^ description                                    ^ ^ mailx cmd  ^ description                                    ^
-| header     | lists message headers; accepts range and +/-   | + header    | lists message headers; accepts range and +/-   | 
-| type       | prints message(s); accepts range.              | + type      | prints message(s); accepts range.              | 
-| forward    | forwards current message with all headers      | + forward   | forwards current message with all headers      | 
-| delete     | deletes mesaages; accepts range                | + delete    | deletes mesaages; accepts range                | 
-| mail       | compose a mew message; accepts multiple addrs  | + mail      | compose a mew message; accepts multiple addrs  | 
-| write      | write message(s) to file; allows MIME splits   | + write     | write message(s) to file; allows MIME splits   | 
-| reply      | reply to sender(s); use Reply for just primary | + reply     | reply to sender(s); use Reply for just primary | 
-| list       | list all mailx commands                        |+ list      | list all mailx commands                        |
  
-Most mailx commands can be abbreviated to their first letter and several aliases exist, for example //type// and //print// are the same, so are //file// and //folder//.  See the **Mail Command Reference** document for more info.+Typing ''help'' within an active mailx session will list the most common commands and their usage.  Most mailx commands can be abbreviated to their first letter and several aliases exist, for example ''type'' and ''print'' are the same, so are ''file'' and ''folder''.  See the **Mail Command Reference** document for more info.
  
 Similarly, in composition mode there are several tilde commands that are common to all mailx clients: Similarly, in composition mode there are several tilde commands that are common to all mailx clients:
  
-^ tilde cmd ^ description                                      +^ tilde cmd ^ description                                        
-|    ~p     | print current header and body of message buffer  +|    ~p     | print current header and body of message buffer    
-|    ~f     | read in a message; accepts range, curr. default  +|    ~f     | read in a message; accepts range, curr. default    
-|    ~d     | read in contents of dead.letter (DEAD)           +|    ~d     | read in contents of dead.letter (DEAD)             
-|    ~m     | read message in as ref.; usually prefixed w/   +|    ~m     | read message in as ref.; usually prefixed with '>
-|    ~e     | open message buffer in default editor            +|    ~e     | open message buffer in default editor              
-|    ~h     | edit the message headers; use ~c, ~b for CC/BCC  +|    ~h     | edit the message headers; use ~c, ~b for CC and BCC| 
-|    ~r     | read a local file into message buffer            +|    ~r     | read a local file into message buffer              
-|    ~?     | list all tilde commands and their usage          |+|    ~?     | list all tilde commands and their usage            |
  
 Once a composed message is ready to be sent an EOF (''CTRL+D'') is entered on a new line (traditionally BSD mail also accepts a single "." (dot) on a new line; enable the ''bsdcompat'' option in the config file for this behavor).  See the **Mail Tilde Command Ref** document and the manpages for additional info. Once a composed message is ready to be sent an EOF (''CTRL+D'') is entered on a new line (traditionally BSD mail also accepts a single "." (dot) on a new line; enable the ''bsdcompat'' option in the config file for this behavor).  See the **Mail Tilde Command Ref** document and the manpages for additional info.
  
  
-====Specific mailx Client Configurations====+====Specific mailx Client Configurations and Usage====
  
 [[playground:native Mail|playground:NetBSD Mailx (mail)]] [[playground:native Mail|playground:NetBSD Mailx (mail)]]