Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Valid email addresses (after the @)
Message
 
 
To
15/03/2004 10:36:32
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00886270
Message ID:
00886337
Views:
79
>Hi Sergey,
> I got the html document you suggested, thanks. I went to the web site you suggested--how would I use it to determine whether or not an email address is valid? Thanks.

In VFP you can use WSH as shown below.
* FUNCTION ValidateEmailAddress
LPARAMETERS tcEmailAddr
LOCAL loRegExp
loRegExp = CreateObject("VBScript.RegExp")
loRegExp.IgnoreCase = .T.
loRegExp.Pattern = '< Email Validation pattern you prefer here >'
RETURN loRegExp.Test(tcEmailAddr)
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform