FunctionPackage: net.post-officeToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version

test-email-address

Arguments: email-address

For reasons that are included in the discussion below, use of this function is deprecated. (The reasons include dependence on the VRFY feature which most mail servers no longer support, and the inadequate choice of server on which to test the address.)

This function attempts to determine whether email-address could be a valid email address on the machine it names. email-address should be a string like "user@machine.com". test-email-address contacts the mail server and uses the VRFY command from smtp and returns t if the address is verified. The mail server contacted is the machine to which the domain part of the email address resolves, or localhost if there is no domain part.

Note that most mail servers don't implement VRFY and test-email-address also returns t if VRFY doesn't work.

test-email-address returns nil if VRFY indicates the address is bad or if the machine cannot be contacted (which might be a transient problem, of course).

See imap.htm for more information.


Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version