Difference between revisions of "MAILERROR()"

From Lianjapedia
Jump to: navigation, search
 
Line 22: Line 22:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:Mail Functions]]
 
[[Category:Mail Functions]]
 +
[[Category:Lianja VFP Extensions]]
 +
[[Category:VFP Function Extensions]]

Latest revision as of 06:57, 10 December 2012

Purpose

Function to return last mail error

Syntax

MAILERROR()

See Also

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