MAILNODENAME()

From Lianjapedia
Jump to: navigation, search

Purpose

Function to return the node name of the currently connected mail server

Syntax

MAILNODENAME()

See Also

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

Description

The MAILNODENAME() function will return the node name of the currently connected mail server, or an empty string if there is no connection.

Example

? mailopen("mailserver.company.com","username","password")
.T.
? mailnodename()
mailserver.company.com