EMAILADDRCHECK (FTP server) statement

Use the EMAILADDRCHECK statement to control the extent to which the FTP server validates e-mail addresses entered by FTP clients while logging in to the FTP server.

Restriction: This statement is meaningful only when ANONYMOUSLEVEL is 3 or greater.

Syntax

Read syntax diagramSkip visual syntax diagram
   .-EMAILADDRCHECK NO-----------.   
>>-+-----------------------------+-----------------------------><
   '-EMAILADDRCHECK--+-NO------+-'   
                     +-FAIL----+     
                     '-WARNING-'     

Parameters

NO
The FTP server does not validate the e-mail address entered by the FTP client. Whatever the user entered is accepted and the user can log in. This is the default.
FAIL
The FTP server verifies that the e-mail address entered by the FTP client is a valid e-mail address before allowing the user to log in. The FTP server rejects the login if the e-mail address is not valid.
WARNING
The FTP server inspects the e-mail address entered by the FTP client. Any value the client enters is accepted as valid; however, the FTP server returns a warning reply to the client if the e-mail address is not plausible. In either case, the FTP server allows the FTP client to log in.

Examples

To ensure that only anonymous users entering valid e-mail addresses are allowed successful login, set the following parameter in FTP.DATA:
EMAILADDRCHECK FAIL; Requires anonymous users to enter a valid email address.

Usage notes

The FTP server prompts anonymous users for an e-mail address instead of a password when ANONYMOUSLEVEL is 3.

Related topics