MAILUSERNAME()

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

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

Purpose

Function to return current user name

Syntax

MAILUSERNAME()

See Also

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

Description

The MAILUSERNAME() function will return the name of the user who is currently connected to the mail server, or an empty string if there is no connection. This function only operates with POP3 connections.

Example

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