MAILERROR()

From Recital Documentation Wiki
Revision as of 15:07, 28 October 2009 by Helengeorge (Talk | contribs)

Jump to: navigation, search


Purpose

Function to return last mail error


Syntax

MAILERROR()


See Also

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


Description

The MAILERROR() function will return the last error message if there was one, or an empty string if no error occurred.


Example

? mailopen("mailserver.company.com","username","password")
.F.
? mailerror()
Host name 'mailserver.company.com' not found.


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer