MAILCLOSE()

From Recital Documentation Wiki
Revision as of 11:58, 23 March 2009 by Yvonnemilne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Class

Mail


Purpose

Function to disconnect from mail server


Syntax

MAILCLOSE()


See Also

CLOSEMAIL(), COUNTMAIL(), DELETEMAIL(), MAILCOUNT(), MAILDELETE(), MAILERROR(), MAILHEADER(), MAILNODENAME(), MAILOPEN(), MAILREAD(), MAILSEND(), MAILUSERNAME(), OPENMAIL(), READMAIL(), SENDMAIL()


Description

The MAILCLOSE() function will disconnect you from the mail server. If you are not connected to a mail server, it will return an error. You can use the MAILUSERNAME() (POP3 only) or MAILNODENAME() function to check if you are connected.

If successful the MAILCLOSE() will return .T., otherwise .F.. The MAILERROR() function can be used to return the error message if the MAILCLOSE() fails.


Example

mailclose()


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer