Re: [WebDNA] multi [sendmail] inside [search]
This WebDNA talk-list message is from 2012
It keeps the original formatting.
numero = 109291
interpreted = N
texte = On Jul 13, 2012, at 10:04 AM, WebDNA Solutions wrote:>> The problem is, WebDNA doesn't like using a [sendmail]>> tag inside of a [search...][founditems] routine.>=20> Of course it does, I've been doing this for years. What=20> seems to be the problem that causes you to say this?The simple problem is that it won't work...Here's a sample....[search db=3D../login/website_users.db& code..blah..code...][founditems] =20code..blah..code...[showif code..blah..code...[loop start=3D[ code..blah..code...]===09[text] message =3D[showif code..blah..code...[/showif][/text][/loop][/showif] =20 [sendmail =to=3Dtimeclock@domain.com&from=3DWebpage@domain.com&subject=3DStaff Over =40 message (no reply)&content-type=3Dtext/html][message][/sendmail]code..blah..code...[/founditems][/search]But this does work, but with only the last item found....[search db=3D../login/website_users.db& code..blah..code...][founditems] =20code..blah..code...[showif code..blah..code...[loop start=3D[ code..blah..code...]===09[text] message =3D[showif code..blah..code...[/showif][/text][/loop][/showif] =20code..blah..code...[/founditems][/search] =20 [sendmail to=3Dtimeclock@domain.com&from=3DWebpage@ =domain.com&subject=3DStaff Over 40 message (no =reply)&content-type=3Dtext/html][message][/sendmail]>=20> Sincerely,> Kenneth Grome> WebDNA Solutions> http://www.webdnasolutions.com> WebDNA Programming and Linux Server Administration>=20> ---------------------------------------------------------> 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:
On Jul 13, 2012, at 10:04 AM, WebDNA Solutions wrote:>> The problem is, WebDNA doesn't like using a [sendmail]>> tag inside of a [search...][founditems] routine.>=20> Of course it does, I've been doing this for years. What=20> seems to be the problem that causes you to say this?The simple problem is that it won't work...Here's a sample....[search db=3D../login/website_users.db& code..blah..code...][founditems] =20code..blah..code...[showif code..blah..code...[loop start=3D[ code..blah..code...]===09[text] message =3D[showif code..blah..code...[/showif][/text][/loop][/showif] =20 [sendmail =to=3Dtimeclock@domain.com&from=3DWebpage@domain.com&subject=3DStaff Over =40 message (no reply)&content-type=3Dtext/html][message][/sendmail]code..blah..code...[/founditems][/search]But this does work, but with only the last item found....[search db=3D../login/website_users.db& code..blah..code...][founditems] =20code..blah..code...[showif code..blah..code...[loop start=3D[ code..blah..code...]===09[text] message =3D[showif code..blah..code...[/showif][/text][/loop][/showif] =20code..blah..code...[/founditems][/search] =20 [sendmail to=3Dtimeclock@domain.com&from=3DWebpage@ =domain.com&subject=3DStaff Over 40 message (no =reply)&content-type=3Dtext/html][message][/sendmail]>=20> Sincerely,> Kenneth Grome> WebDNA Solutions> http://www.webdnasolutions.com> WebDNA Programming and Linux Server Administration>=20> ---------------------------------------------------------> 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
Stephen Braun
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:
Getting Emailer to send mail (1997)
Package Prices (2000)
code to phantom spacing (2001)
How to verify email address (1997)
Re[2]: 2nd WebCatalog2 Feature Request (1996)
Shipping.db (1998)
whole word search bringing irrelevant results.. (2000)
[OT] MACWORLD (2003)
Webcatalog [blank] Problem (1999)
WebCat hosting providers? (1997)
Replace with Producteditor.tpl (2000)
[WebDNA] More wish-list requests implemented (2016)
Error:Too many nested [xxx] contexts (1997)
Variables for chat (1997)
[WebDNA] Convert Math Date in Excel (2010)
HELP WITH DATES (1997)
Quickie question on the email templates (1997)
help needed: Non-english characters in WebCatalog (1997)
Line items in table cells (1997)
WebCat2b13MacPlugin - [math][date][/math] problem (1997)