MAIL()
From Recital Documentation Wiki
Revision as of 11:59, 23 March 2009 by Yvonnemilne (Talk | contribs)
Class
Disk and File Utilities
Purpose
Function to return the last mail message
Syntax
MAIL([<expN>])
See Also
Description
The MAIL() function returns the last mail message received at the current terminal. The optional parameter <expN> is a numeric expression that must equal 1. This option causes the MAIL() function to return the sender name. The SET MAIL command must be ON in order to trap mail messages. When SET MAIL is OFF, mail messages are ignored.
Example
// Trap mail messages set mail on on mail do mail_proc with mail(), mail(1) use demo browse on mail
Products
Recital Terminal Developer (OpenVMS only)