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:

[WebDNA] WebDNA.us Website ?'s (2008) Separate SSL Server (1997) [WebDNA] encrypt files/directories (2011) Country & Ship-to address & other fields ? (1997) Best way to add data to .db (1999) [WebDNA] Sorry WebDNA server not running. (2015) [taxRate] [TaxTotal] ? (1997) Server Load (2000) [WebDNA] IIS 7 test site on webserver IIS issue (2012) stumped on simple sort (1999) Close Databases Crash? (1998) [WebDNA] WebDNA FastCGI (2012) Format of Required fields error message (1997) Netscape v. IE (1997) Two submit buttons ? (1997) randomness (1997) Format date.... (2003) The Send Mail Button is the Best Troubleshooter (1998) Robust WebDNA Job Manager / Accountant (2006) php vs WebCatalog (2000)