verify email address

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 17777
interpreted = N
texte = Does someone have a good solution to check the syntax of email addresses after user input?I have a working piece of code now but I'm not happy with it. It runs through the address with [getchars] and does a lookup for each character in a database to find out wether it is allowed or not. And It checks the presence of @ and a dot. Now, while making this better, it grows and grows... I would have to add two or three sets of characters for different platforms. And I want to check for multiple @, for trailing dots, and so on - long code for a rather simple task. I wonder if I am on the right way - any ideas? Maybe there is a hidden feature [ValidEmail] which works like [ValidCard]...;-)TIA, Peter __________________________________________ Peter Ostry - po@ostry.com - www.ostry.com Ostry & Partner - Ostry Internet Solutions Auhofstrasse 29 A-1130 Vienna Austria fon ++43-1-8777454 fax ++43-1-8777454-21 Associated Messages, from the most recent to the oldest:

    
  1. Re: verify email address (Brian B. Burton 1998)
  2. verify email address (Peter Ostry 1998)
  3. RE: How to verify email address (Marc Eagle 1997)
  4. How to verify email address (Rob Schmidt 1997)
  5. How to verify email address (Rob Schmidt 1997)
  6. How to verify email address (Rob Schmidt 1997)
Does someone have a good solution to check the syntax of email addresses after user input?I have a working piece of code now but I'm not happy with it. It runs through the address with [getchars] and does a lookup for each character in a database to find out wether it is allowed or not. And It checks the presence of @ and a dot. Now, while making this better, it grows and grows... I would have to add two or three sets of characters for different platforms. And I want to check for multiple @, for trailing dots, and so on - long code for a rather simple task. I wonder if I am on the right way - any ideas? Maybe there is a hidden feature [ValidEmail] which works like [validcard]...;-)TIA, Peter __________________________________________ Peter Ostry - po@ostry.com - www.ostry.com Ostry & Partner - Ostry Internet Solutions Auhofstrasse 29 A-1130 Vienna Austria fon ++43-1-8777454 fax ++43-1-8777454-21 Peter Ostry

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Security (2006) how do I delete 1 of 2 identical records? (2003) I've been thinking (2002) Code sample - links.tpl (2002) question: webdelivery folder and file (1997) Alternating colors (1997) A little syntax help (1997) Help with nested search (1998) How much is too much? I can never remember the answer. (2002) Bug Report, maybe (1997) DomainList (2005) Creating comums (1998) Nav. 4 probs with cart (1997) Fields/Forms Processing (1998) Showing specific [cart] contents (1998) Limiting user access to .tmpl files (1997) Purchased cart being overwritten - still !?? (1997) Various Problems (1997) Emailer Set Up (1997) Bad File: DeleteCommand.html (1998)