WOberon10.Scn.Fnt>ParcElemsAllocw, - Mailer - the HP_Oberon mailing tool on top of Unix mail Mailer.Mailbox ~ Mailer.Mailbox ^ Mailer.Send * Mailer.Append file * Mailer.Quote ^ Mailer.Post * Mailer.Mailbox (~ | ^ | name) without an argument moves all mails from the user's Unix mail file into the user's mbox file. The mail file is searched in /var/spool/mail/$USER or in the file specified by the environment variable MAIL (if present). The mbox file is searched in $HOME/mbox or in the file specified by the environment variable MBOX (if present). After moving the mails, a mailbox viewer with a list of all mails currently in the mbox file is opened. A "+" sign in the mailbox viewer signals a newly arrived mail. With a file name argument the named file is taken as the mbox file and the Unix mail file remains unchanged. The menu line of the mailbox viewer contains the commands Show, Delete, and Store. Mailer.Show displays the mail referred to by the start of a text selection. Mailer.Reply may be used to generate a reply mail header. If a text selection exists, it is quoted and copied into the reply mail text. Mailer.Send may be used to send the reply mail (after deleting the exclamation mark). Mailer.Delete deletes all selected mails from the mailbox viewer without actually changing the mbox file. Mailer.Store stores the modified mbox file to the file specified in the menu line. Note that System.Close closes the mailbox viewer without storing any changes. Mailer.Send * interpretes the text of the star marked viewer as an SMTP mail and sends it by invoking sendmail -t. The mail syntax is as follows: mail = header body. header = {to | cc | bcc | subject}. to = "To:" {any} {"," {any}} cc = "Cc:" {any} {"," {any}} bcc = "Bcc:" {any} {"," {any}} subject = "Subject:" {any} body = {any}. e.g.: To: name1@host1, name2@host2 Cc: name3@host3 Subject: mailtest mail body Mailer.Post * posts the text of the star marked viewer as an article to usenet by invoking /usr/lib/news/inews -h. The article syntax is described in "man 5 news". Note : if inews is not available on your machine, you can get it via anonymous FTP from the "Software Porting And Archive Centre": Anonymous FTP address: ftp.csc.liv.ac.uk (138.253.42.172) German mirror site: hpux.ask.uni-karlsruhe.de (129.13.200.57) e.g.: Newsgroups: comp.lang.oberon Distribution: world Sender: oberon@inf.ethz.ch Subject: HP-OBERON 4.0 announcement article body Mailer.Quote ^ prefixes the selected lines with "> ". Mailer.Append file * appends the star marked text to file.