Difference between revisions of "MAILUSERNAME()"

From Lianjapedia
Jump to: navigation, search
m (1 revision)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
 
Function to return current user name
 
Function to return current user name
 
  
 
==Syntax==
 
==Syntax==
 
MAILUSERNAME()
 
MAILUSERNAME()
 
  
 
==See Also==
 
==See Also==
 
[[CLOSEMAIL()]], [[COUNTMAIL()]], [[DELETEMAIL()]], [[MAILATTACH()]], [[MAILCLOSE()]], [[MAILCOUNT()]], [[MAILDELETE()]], [[MAILERROR()]], [[MAILHEADER()]], [[MAILNODENAME()]], [[MAILOPEN()]], [[MAILREAD()]], [[MAILSAVEAS()]], [[MAILSEND()]], [[OPENMAIL()]], [[READMAIL()]], [[SENDMAIL()]]
 
[[CLOSEMAIL()]], [[COUNTMAIL()]], [[DELETEMAIL()]], [[MAILATTACH()]], [[MAILCLOSE()]], [[MAILCOUNT()]], [[MAILDELETE()]], [[MAILERROR()]], [[MAILHEADER()]], [[MAILNODENAME()]], [[MAILOPEN()]], [[MAILREAD()]], [[MAILSAVEAS()]], [[MAILSEND()]], [[OPENMAIL()]], [[READMAIL()]], [[SENDMAIL()]]
 
  
 
==Description==
 
==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.
 
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==
 
==Example==
Line 23: Line 19:
 
</code>
 
</code>
  
 
==Products==
 
Recital Server, Recital
 
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
[[Category:Mail]]
 
 
[[Category:Mail Functions]]
 
[[Category:Mail Functions]]
 +
[[Category:Lianja VFP Extensions]]
 +
[[Category:VFP Function Extensions]]

Latest revision as of 06:59, 10 December 2012

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