Re: [WebDNA] Email syntax checking code?

This WebDNA talk-list message is from

2015


It keeps the original formatting.
numero = 112289
interpreted = N
texte = Thank you Stuart! Regards, Kenneth Grome WebDNA Solutions http://www.webdnasolutions.com Web Database Systems and Linux Server Administration On 05/07/2015 07:04 PM, Stuart Tremain wrote: > [!]------------------- EMAIL CHECK ----------------- > [/!][TEXT]emailvalid=T[/TEXT][!] > [/!][TEXT]cleanthis=[Grep search= &replace=][_EMAIL][/Grep][/TEXT][!] > [/!][if ("[url][CleanThis][/url]"="")][!] > [/!][THEN][TEXT]emailvalid=F[/TEXT][/THEN][!] > [/!][else][!] > [/!][TEXT]emailvalid=T[/TEXT][!] > [/!][showif [url][CleanThis][/url]=][TEXT]EmailValid=F[/TEXT][/showif][!] > [/!][if ("[url][CleanThis][/url]"^"[url]^[/url]")|("[url][CleanThis][/url]"^"[url]![/url]")][then][TEXT]EmailValid=F[/TEXT][/Then][/If][!] > [/!][hideif [emailvalid]=F][!] > [/!][hideif [url][CleanThis][/url]^.][TEXT]emailvalid=F[/TEXT][/Hideif][!] > [/!][hideif [emailvalid]=F][!] > [/!][hideif [grep search=[-aA-zZ0-9_.]*@[-aA-zZ0-9_.]*[-aA-zZ0-9_.]*[-aA-zZ0-9_.]*&replace=ú][CleanThis][/grep]=ú][TEXT]EmailValid=F[/TEXT][/Hideif][!] > [/!][/hideif][!] > [/!][/hideif][!] > [/!][/else][!] > [/!][/if][!] > [/!][ShowIf [emailvalid]=F][TEXT multi=T]EMAILERROR=T[/TEXT][/showif] > > > > > > > Kind regards > > Stuart Tremain > IDFK Web Developments > AUSTRALIA > webdna@idfk.com.au > > > > > >> On 8 May 2015, at 08:46, Kenneth Grome wrote: >> >> That didn't take long. Two hours ago I ended the bad relationship >> with my former client, and I just got a new client who has hired >> me to build him a custom mobile website. >> >> :) >> >> If anyone has some code that checks the syntax of an email address >> please send or post it if you're willing to share it. >> >> I won't have any trouble writing it myself, but if someone has >> theirs handy it might save me a little time. Thanks. >> >> Regards, >> Kenneth Grome >> WebDNA Solutions >> http://www.webdnasolutions.com >> Web Database Systems and Linux Server Administration >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> Bug Reporting: support@webdna.us > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us > Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Email syntax checking code? (Kenneth Grome 2015)
  2. Re: [WebDNA] Email syntax checking code? (Stuart Tremain 2015)
  3. [WebDNA] Email syntax checking code? (Kenneth Grome 2015)
Thank you Stuart! Regards, Kenneth Grome WebDNA Solutions http://www.webdnasolutions.com Web Database Systems and Linux Server Administration On 05/07/2015 07:04 PM, Stuart Tremain wrote: > [!]------------------- EMAIL CHECK ----------------- > [/!][text]emailvalid=T[/TEXT][!] > [/!][text]cleanthis=[Grep search= &replace=][_EMAIL][/Grep][/TEXT][!] > [/!][if ("[url][CleanThis][/url]"="")][!] > [/!][THEN][text]emailvalid=F[/TEXT][/THEN][!] > [/!][else][!] > [/!][text]emailvalid=T[/TEXT][!] > [/!][showif [url][CleanThis][/url]=][text]EmailValid=F[/TEXT][/showif][!] > [/!][if ("[url][CleanThis][/url]"^"[url]^[/url]")|("[url][CleanThis][/url]"^"[url]![/url]")][then][text]EmailValid=F[/TEXT][/Then][/If][!] > [/!][hideif [emailvalid]=F][!] > [/!][hideif [url][CleanThis][/url]^.][text]emailvalid=F[/TEXT][/Hideif][!] > [/!][hideif [emailvalid]=F][!] > [/!][hideif [grep search=[-aA-zZ0-9_.]*@[-aA-zZ0-9_.]*[-aA-zZ0-9_.]*[-aA-zZ0-9_.]*&replace=ú][CleanThis][/grep]=ú][text]EmailValid=F[/TEXT][/Hideif][!] > [/!][/hideif][!] > [/!][/hideif][!] > [/!][/else][!] > [/!][/if][!] > [/!][ShowIf [emailvalid]=F][TEXT multi=T]EMAILERROR=T[/TEXT][/showif] > > > > > > > Kind regards > > Stuart Tremain > IDFK Web Developments > AUSTRALIA > webdna@idfk.com.au > > > > > >> On 8 May 2015, at 08:46, Kenneth Grome wrote: >> >> That didn't take long. Two hours ago I ended the bad relationship >> with my former client, and I just got a new client who has hired >> me to build him a custom mobile website. >> >> :) >> >> If anyone has some code that checks the syntax of an email address >> please send or post it if you're willing to share it. >> >> I won't have any trouble writing it myself, but if someone has >> theirs handy it might save me a little time. Thanks. >> >> Regards, >> Kenneth Grome >> WebDNA Solutions >> http://www.webdnasolutions.com >> Web Database Systems and Linux Server Administration >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> Bug Reporting: support@webdna.us > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us > Kenneth Grome

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:

Sort Order on a page search (1997) Encrypted links ... (2000) [Fwd: Rotating Banners ... (was LinkExchange)] (1997) [/application] error? (1997) select multiple 2 more cents (1997) [math] with first letter in field? (1997) can WC render sites out? (1997) Thanks Grant (1997) Up and running ... at last !! (1997) An Isnumeric function of some kind (2001) hideif [x]=1,2,3.. (2003) hidden (phantom) file downloads (2000) [WebDNA] WebDNA7 and mod_fcgi (2013) [quantity] within formulas (1997) Tax on shipping (1998) Format question WC Mac f3 (1997) WebDNA tags in WebMerchant email templates ... (1997) Locking up with WebCatalog... (1997) WebCat2 - Getting to the browser's username/password data (1997) [sendmail] questions... (1997)