Difference between revisions of "MAIL()"
From Recital Documentation Wiki
Helengeorge (Talk | contribs) (→Class) |
Helengeorge (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | |||
− | |||
==Purpose== | ==Purpose== | ||
Function to return the last mail message | Function to return the last mail message | ||
Line 29: | Line 27: | ||
==Products== | ==Products== | ||
− | Recital | + | Recital (OpenVMS only) |
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] |
Latest revision as of 17:30, 2 December 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 (OpenVMS only)