Re: [sendmail] v. [writefile]
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 30079
interpreted = N
texte = > If the end-user fills out the email address incorrectly, the mail does not> go through. I'm figuring that Emailer sees that the from address is not> valid, and dumps the email off into a black hole.Use an include that will check if the email address is in the A@b.c format,which will allow the mail to leave.Here is a solution. Careful with forced cropping.include: EmailCheck.incPlace it into your globals folder.usage: [include file=^ EmailCheck.inc&email=[EmailAddress]]Returns [EmailCheckError]=0 if ok =1 if not.[!] tests the field email and returns an error if not valid [/!][math show=f]EmailCheckError =0[/math][text show=f]EmailBeginning=[middleendbefore=@][EmailAddress][/middle][/text][text show=f]EmailEnding=[middle startafter=@][EmailAddress][/middle][/text][text show=f]EmailEnding 1=[middle endbefore=.][EmailEnding][/middle][/text][text show=f]EmailEnding 2=[middlestartafter=.][EmailEnding][/middle][/text][showif [EmailBeginning]=][math show=f]EmailCheckError=1[/math][/showif][hideif [EmailEnding]^.][math show=f]EmailCheckError=1[/math][/hideif][showif [EmailEnding 1]=][math show=f]EmailCheckErro =1[/math][/showif][showif [EmailEnding 2]=][math show=f]EmailCheckError=1[/math][/showif]-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
Associated Messages, from the most recent to the oldest:
> If the end-user fills out the email address incorrectly, the mail does not> go through. I'm figuring that Emailer sees that the from address is not> valid, and dumps the email off into a black hole.Use an include that will check if the email address is in the A@b.c format,which will allow the mail to leave.Here is a solution. Careful with forced cropping.include: EmailCheck.incPlace it into your globals folder.usage: [include file=^ EmailCheck.inc&email=[EmailAddress]]Returns [EmailCheckError]=0 if ok =1 if not.[!] tests the field email and returns an error if not valid [/!][math show=f]EmailCheckError =0[/math][text show=f]EmailBeginning=[middleendbefore=@][EmailAddress][/middle][/text][text show=f]EmailEnding=[middle startafter=@][EmailAddress][/middle][/text][text show=f]EmailEnding 1=[middle endbefore=.][EmailEnding][/middle][/text][text show=f]EmailEnding 2=[middlestartafter=.][EmailEnding][/middle][/text][showif [EmailBeginning]=][math show=f]EmailCheckError=1[/math][/showif][hideif [EmailEnding]^.][math show=f]EmailCheckError=1[/math][/hideif][showif [EmailEnding 1]=][math show=f]EmailCheckErro =1[/math][/showif][showif [EmailEnding 2]=][math show=f]EmailCheckError=1[/math][/showif]-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
Nicolas Verhaeghe
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:
interesting (2003)
What am I missing (1997)
[Replace] really replaces? (2000)
Resume Catalog ? (1997)
A Global Variable (1997)
Help getting [shownext] to increment (2003)
Price Not Appearing (2000)
multiple file uploads (2002)
unable to launch acgi in WebCat (1997)
WCS Newbie question (1997)
problems with 2 tags (1997)
Max Record length restated as maybe bug (1997)
Duplicates (1998)
Multiple database stuff... (1999)
RE: WebCat cannot handle compatible search parameters? (1997)
Need help with search title (1998)
multipart part 2 (2004)
Using Currencies other than Dollars (1997)
WebCatalog dying in NT (1998)
[WebDNA] Processor Maxing out (2010)