Topic Path: Symbol Reference > Classes > TIdSMTP Class > TIdSMTP Methods > Verify Method
ContentsIndexHome
PreviousUpNext
TIdSMTP.Verify Method

Verifies that an alias or name is a user mailbox on the SMTP server.

function Verify(
    AUserName: String
): String; virtual;
Parameters 
Description 
AUserName 
Value to be verified. 

String - Fully qualified User name and email address.

Verify is a String function used to verify that the User specified in AUsername has a valid address on the SMTP server. 

Verify calls SendCmd to send the SMTP VRFY command with the value specified in AUsername. 

Verify returns the fully specified User name and email address on success using the initial line found in LastCmdResult

Use Expand to determine the membership in a mailing list.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.