[WebDNA] multi [sendmail] inside [search]

This WebDNA talk-list message is from

2012


It keeps the original formatting.
numero = 109289
interpreted = N
texte = Hi All, So I've built a timeclock for a customer to track employee hours online. He would like an email sent to him, whenever an employee exceeds 40 = hours. So I've written a script that is triggered each hour, and it does the = math to see when these limits are reached. All Ok so far. The problem is, WebDNA doesn't like using a [sendmail] tag inside of a = [search...][founditems] routine. I have it working to set these limits into a variable, and use the = [sendmail] outside of the [search] to send the variable,=20 but it only works with the last item found in the database. Example, 3 employees just exceeded 40 hours, but the only email that is = sent is for the third (found) employee. Any ideas on how to use several [sendmails] all outside of the [search]? Thanks for any insight? Steve Braun= Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] multi [sendmail] inside [search] (WebDNA Solutions 2012)
  2. Re: [WebDNA] multi [sendmail] inside [search] ("Terry Wilson" 2012)
  3. Re: [WebDNA] multi [sendmail] inside [search] (Stephen Braun 2012)
  4. Re: [WebDNA] multi [sendmail] inside [search] (William DeVaul 2012)
  5. Re: [WebDNA] multi [sendmail] inside [search] ("Terry Wilson" 2012)
  6. Re: [WebDNA] multi [sendmail] inside [search] (Govinda 2012)
  7. Re: [WebDNA] multi [sendmail] inside [search] (Stephen Braun 2012)
  8. Re: [WebDNA] multi [sendmail] inside [search] (Terry Wilson 2012)
  9. Re: [WebDNA] multi [sendmail] inside [search] (Stephen Braun 2012)
  10. Re: [WebDNA] multi [sendmail] inside [search] (WebDNA Solutions 2012)
  11. Re: [WebDNA] multi [sendmail] inside [search] (Stuart Tremain 2012)
  12. Re: [WebDNA] multi [sendmail] inside [search] (Stuart Tremain 2012)
  13. Re: [WebDNA] multi [sendmail] inside [search] (Govinda 2012)
  14. Re: [WebDNA] multi [sendmail] inside [search] (Terry Wilson 2012)
  15. Re: [WebDNA] multi [sendmail] inside [search] (Stephen Braun 2012)
  16. Re: [WebDNA] multi [sendmail] inside [search] (Stephen Braun 2012)
  17. RE: [WebDNA] multi [sendmail] inside [search] ("Michael A. DeLorenzo" 2012)
  18. Re: [WebDNA] multi [sendmail] inside [search] (Govinda 2012)
  19. Re: [WebDNA] multi [sendmail] inside [search] (WebDNA Solutions 2012)
  20. Re: [WebDNA] multi [sendmail] inside [search] (Tom Duke 2012)
  21. Re: [WebDNA] multi [sendmail] inside [search] (Stephen Braun 2012)
  22. Re: [WebDNA] multi [sendmail] inside [search] (WebDNA Solutions 2012)
  23. [WebDNA] multi [sendmail] inside [search] (Stephen Braun 2012)
Hi All, So I've built a timeclock for a customer to track employee hours online. He would like an email sent to him, whenever an employee exceeds 40 = hours. So I've written a script that is triggered each hour, and it does the = math to see when these limits are reached. All Ok so far. The problem is, WebDNA doesn't like using a [sendmail] tag inside of a = [search...][founditems] routine. I have it working to set these limits into a variable, and use the = [sendmail] outside of the [search] to send the variable,=20 but it only works with the last item found in the database. Example, 3 employees just exceeded 40 hours, but the only email that is = sent is for the third (found) employee. Any ideas on how to use several [sendmails] all outside of the [search]? Thanks for any insight? Steve Braun= 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:

[isfile] ? (1997) Some Questions (1997) 2.0 Info (1997) date math (2005) Tab Charactor (1997) RE: Price recalc based on quantity (1997) New WebDNA Example from Olin -- (1998) WebCatalog f2 Installation (1997) PCS Emailer's role ? (1997) Showing unopened cart (1997) File Uploads... (1997) Question about replacing words (1998) [countWords]? (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) FYI: virus alert (1996) WriteFile and returns... (2000) [/application] error? (1997) WCS Newbie question (1997) Am on the list? (1997) Field names beginning with Reg.. (2002)