Difference between revisions of "MAIL()"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Helengeorge (Talk | contribs) (→Class) |
||
Line 1: | Line 1: | ||
− | |||
− | |||
Revision as of 15:04, 28 October 2009
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)