Difference between revisions of "MAILCLOSE()"

From Recital Documentation Wiki
Jump to: navigation, search
 
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Class==
 
Mail
 
 
 
 
==Purpose==
 
==Purpose==
 
Function to disconnect from mail server
 
Function to disconnect from mail server
Line 12: Line 8:
  
 
==See Also==
 
==See Also==
[[CLOSEMAIL()]], [[COUNTMAIL()]], [[DELETEMAIL()]], [[MAILCOUNT()]], [[MAILDELETE()]], [[MAILERROR()]], [[MAILHEADER()]], [[MAILNODENAME()]], [[MAILOPEN()]], [[MAILREAD()]], [[MAILSEND()]], [[MAILUSERNAME()]], [[OPENMAIL()]], [[READMAIL()]], [[SENDMAIL()]]
+
[[CLOSEMAIL()]], [[COUNTMAIL()]], [[DELETEMAIL()]], [[MAILATTACH()]], [[MAILCOUNT()]], [[MAILDELETE()]], [[MAILERROR()]], [[MAILHEADER()]], [[MAILNODENAME()]], [[MAILOPEN()]], [[MAILREAD()]], [[MAILSAVEAS()]], [[MAILSEND()]], [[MAILUSERNAME()]], [[OPENMAIL()]], [[READMAIL()]], [[SENDMAIL()]]
  
  
Line 18: Line 14:
 
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.
 
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.
+
The MAILERROR() function can be used to return the error message if the MAILCLOSE() fails.
  
  
Line 28: Line 24:
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital, Recital Server
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
[[Category:Mail]]
 +
[[Category:Mail Functions]]

Latest revision as of 14:26, 6 July 2011

Purpose

Function to disconnect from mail server


Syntax

MAILCLOSE()


See Also

CLOSEMAIL(), COUNTMAIL(), DELETEMAIL(), MAILATTACH(), MAILCOUNT(), MAILDELETE(), MAILERROR(), MAILHEADER(), MAILNODENAME(), MAILOPEN(), MAILREAD(), MAILSAVEAS(), 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.

The MAILERROR() function can be used to return the error message if the MAILCLOSE() fails.


Example

mailclose()


Products

Recital, Recital Server