CLOSEMAIL()

From Lianjapedia
Revision as of 06:55, 10 December 2012 by Admin (Talk | contribs)

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

Purpose

Function to disconnect from mail server

Syntax

CLOSEMAIL()

See Also

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

Description

The CLOSEMAIL() 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 CLOSEMAIL() fails.

Example

closemail()