Difference between revisions of "MAILSAVEAS()"
From Lianjapedia
Helen.george (Talk | contribs) |
Helen.george (Talk | contribs) |
||
Line 11: | Line 11: | ||
The MAILSAVEAS() function saves the specified mail message, <expN>, to the file named in <expC>. MAILSAVEAS() returns .T. (true) if the mail message is saved successfully and .F. (false) otherwise. | The MAILSAVEAS() function saves the specified mail message, <expN>, to the file named in <expC>. MAILSAVEAS() returns .T. (true) if the mail message is saved successfully and .F. (false) otherwise. | ||
− | {| class="wikitable" width=100% | + | {| class="wikitable" width="100%" |
− | !width=15%|Parameters||width=15%| Required||width=15%| Default||Description | + | !width="15%"|Parameters||width="15%"| Required||width="15%"| Default||Description |
|- | |- | ||
|valign="top"|<expN>||valign="top"|Yes||valign="top"|None||Numeric value specifying the mail message to read | |valign="top"|<expN>||valign="top"|Yes||valign="top"|None||Numeric value specifying the mail message to read |
Revision as of 12:53, 1 February 2013
Contents
Purpose
Function to save the body of a mail message to a file
Syntax
MAILSAVEAS(<expN>, <expC>)
See Also
CLOSEMAIL(), COUNTMAIL(), DELETEMAIL(), MAILATTACH(), MAILCLOSE(), MAILCOUNT(), MAILDELETE(), MAILERROR(), MAILHEADER(), MAILNODENAME(), MAILOPEN(), MAILREAD(), MAILSEND(), MAILUSERNAME(), OPENMAIL(), READMAIL(), SENDMAIL()
Description
The MAILSAVEAS() function saves the specified mail message, <expN>, to the file named in <expC>. MAILSAVEAS() returns .T. (true) if the mail message is saved successfully and .F. (false) otherwise.
Parameters | Required | Default | Description |
---|---|---|---|
<expN> | Yes | None | Numeric value specifying the mail message to read |
Example
if mailsaveas(1, "mailmes.txt") vi mailmes.txt else ? "Mail message could not be saved." endif