Small improvement by checking the validity of the emails as the duplication of the characters '@' & '.' like "aa@@aa@a.a.com" will be accepted as valid email unless you have function to check the duplication and also you can check for the special characters as well (#$%^&*()!+- ... etc).
JG
Main Topics
Browse All Topics





by: ThievingSixPosted on 2009-08-11 at 23:14:03ID: 25076076
This will work, it did with the example link you gave.
: TObject): mails) Then [I]);
Usage example:
procedure TForm1.Button1Click(Sender
var
Emails: TStringList;
I : Integer;
begin
If ExtractEmails(Edit1.Text,E
begin
For I := 0 To Emails.Count - 1 Do
begin
ShowMessage(Emails.Strings
end;
Emails.Free;
end;
end;
Select allOpen in new window