Re: Verify Email

Giganews Newsgroups
Subject: Re: Verify Email
Posted by:  Remy Lebeau \(Indy Team\) (no.spam@no.spam.com)
Date: Mon, 27 Jul 2009

"Alexandre" <alexandrepires20…@yahoo.com.br> wrote in message
news:23045B4E958AE340alexandrepires20…@yahoo.com.br...

> Remy, I need verify some emails. how can I do this with Indy ?

Use the TIdSMTP.Verify() method for that, which uses the standard VRFY
command, ie:

IdSMTP1.Host := 'e.mx.mail.yahoo.com';
IdSMTP1.Connect;
try
  IdSMTP1.Verify('alexandrepires20…@yahoo.com.br');
  Verified := True;
except
  Verified := False;
end;
IdSMTP1.Disconnect;

--
Remy Lebeau (TeamB)

Replies

In response to

Verify Email posted by Alexandre on Mon, 27 Jul 2009