Internet Direct (Indy)
Home
PreviousUpNext
TIdSMTP.Verify Method

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

Pascal
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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.