Re: [WebDNA] multi [sendmail] inside [search]

This WebDNA talk-list message is from

2012


It keeps the original formatting.
numero = 109304
interpreted = N
texte = Does it have anything to do with your or your clients SMTP server being = hit with a number of emails in quick succession. Check your email log. On 14/07/2012, at 5:21 AM, Stephen Braun wrote: > Kenneth, >=20 > Here is my test code. > It does both of your [writefile] commands perfectly, with several of = my test employees, but does not do the [sendmail] in between. > I was told that it is because the [sendmail] is inside of the [search] >=20 > [writefile = testFounditemStart[index]][message_total_hours][/writefile] > [sendmail = to=3Dsbraun1@twcny.rr.com&from=3DWebpage@mydomain.com&subject=3DTest = Over 40 message (no reply)&content-type=3Dtext/html] = =20 > [message_total_hours] =20 > [/sendmail] > [writefile = testFounditemEnd[index]][message_total_hours][/writefile] >=20 > I don't have access to the server to check any of the settings, or = know the platform. >=20 >=20 >=20 >=20 >=20 > On Jul 13, 2012, at 11:07 AM, WebDNA Solutions wrote: >=20 >> There must be something wrong with your real code,=20 >> unless it's a temporary glitch that requires a reboot=20 >> to clear it up. =20 >>=20 >> First reboot the server, then try your original code=20 >> again to see if it's working the way it should. If not,=20 >> try this as a test: =20 >>=20 >> [search db=3D../login/website_users.db& code..blah..code...] >>=20 >> [writefile testNumfound][numfound][/writefile] >>=20 >> [founditems] =20 >> code..blah..code... >> [showif code..blah..code... >> [loop start=3D[ code..blah..code...] = = =20 >> [text] message =3D >> [showif code..blah..code... >> [/showif] >> [/text] >> [/loop] >> [/showif] =20 >>=20 >> [writefile testFounditemStart[index]][message][/writefile] >>=20 >> [sendmail=20 >> to=3Dtimeclock@domain.com&from=3DWebpage@domain.com&subject=3DStaff = Over=20 >> 40 message (no reply)&content-type=3Dtext/html] >> [message] >> [/sendmail] >>=20 >> [writefile testFounditemEnd[index]][message][/writefile] >>=20 >> code..blah..code... >> [/founditems] >> [/search] >>=20 >> ... then see if the content of the testNumfound file matches=20 >> the number of testFounditemStart and testFounditemEnd=20 >> files -- and check the content of these files to be sure they=20 >> contain the correct message. =20 >>=20 >> Sincerely, >> Kenneth Grome >> WebDNA Solutions >> http://www.webdnasolutions.com >> WebDNA Programming and Linux Server Administration >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >>> 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.=20 >>>> What seems to be the problem that causes you to say >>>> this? >>>=20 >>> The simple problem is that it won't work... >>> Here's a sample.... >>>=20 >>> [search db=3D../login/website_users.db& >>> code..blah..code...] [founditems] >>> code..blah..code... >>> [showif code..blah..code... >>> [loop start=3D[ code..blah..code...] >>> [text] message =3D >>> [showif code..blah..code... >>> [/showif] >>> [/text] >>> [/loop] >>> [/showif] >>>  [sendmail >>> to=3Dtimeclock@domain.com&from=3DWebpage@domain.com&subject=3D >>> Staff Over 40 message (no reply)&content-type=3Dtext/html] >>> [message] >>> [/sendmail] >>> code..blah..code... >>> [/founditems] >>> [/search] >>>=20 >>> But this does work, but with only the last item found.... >>>=20 >>> [search db=3D../login/website_users.db& >>> code..blah..code...] [founditems] >>> code..blah..code... >>> [showif code..blah..code... >>> [loop start=3D[ code..blah..code...] >>> [text] message =3D >>> [showif code..blah..code... >>> [/showif] >>> [/text] >>> [/loop] >>> [/showif] >>> code..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 >>>=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 >> --------------------------------------------------------- >> 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 >=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:

    
  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)
Does it have anything to do with your or your clients SMTP server being = hit with a number of emails in quick succession. Check your email log. On 14/07/2012, at 5:21 AM, Stephen Braun wrote: > Kenneth, >=20 > Here is my test code. > It does both of your [writefile] commands perfectly, with several of = my test employees, but does not do the [sendmail] in between. > I was told that it is because the [sendmail] is inside of the [search] >=20 > [writefile = testFounditemStart[index]][message_total_hours][/writefile] > [sendmail = to=3Dsbraun1@twcny.rr.com&from=3DWebpage@mydomain.com&subject=3DTest = Over 40 message (no reply)&content-type=3Dtext/html] = =20 > [message_total_hours] =20 > [/sendmail] > [writefile = testFounditemEnd[index]][message_total_hours][/writefile] >=20 > I don't have access to the server to check any of the settings, or = know the platform. >=20 >=20 >=20 >=20 >=20 > On Jul 13, 2012, at 11:07 AM, WebDNA Solutions wrote: >=20 >> There must be something wrong with your real code,=20 >> unless it's a temporary glitch that requires a reboot=20 >> to clear it up. =20 >>=20 >> First reboot the server, then try your original code=20 >> again to see if it's working the way it should. If not,=20 >> try this as a test: =20 >>=20 >> [search db=3D../login/website_users.db& code..blah..code...] >>=20 >> [writefile testNumfound][numfound][/writefile] >>=20 >> [founditems] =20 >> code..blah..code... >> [showif code..blah..code... >> [loop start=3D[ code..blah..code...] = = =20 >> [text] message =3D >> [showif code..blah..code... >> [/showif] >> [/text] >> [/loop] >> [/showif] =20 >>=20 >> [writefile testFounditemStart[index]][message][/writefile] >>=20 >> [sendmail=20 >> to=3Dtimeclock@domain.com&from=3DWebpage@domain.com&subject=3DStaff = Over=20 >> 40 message (no reply)&content-type=3Dtext/html] >> [message] >> [/sendmail] >>=20 >> [writefile testFounditemEnd[index]][message][/writefile] >>=20 >> code..blah..code... >> [/founditems] >> [/search] >>=20 >> ... then see if the content of the testNumfound file matches=20 >> the number of testFounditemStart and testFounditemEnd=20 >> files -- and check the content of these files to be sure they=20 >> contain the correct message. =20 >>=20 >> Sincerely, >> Kenneth Grome >> WebDNA Solutions >> http://www.webdnasolutions.com >> WebDNA Programming and Linux Server Administration >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >>> 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.=20 >>>> What seems to be the problem that causes you to say >>>> this? >>>=20 >>> The simple problem is that it won't work... >>> Here's a sample.... >>>=20 >>> [search db=3D../login/website_users.db& >>> code..blah..code...] [founditems] >>> code..blah..code... >>> [showif code..blah..code... >>> [loop start=3D[ code..blah..code...] >>> [text] message =3D >>> [showif code..blah..code... >>> [/showif] >>> [/text] >>> [/loop] >>> [/showif] >>>  [sendmail >>> to=3Dtimeclock@domain.com&from=3DWebpage@domain.com&subject=3D >>> Staff Over 40 message (no reply)&content-type=3Dtext/html] >>> [message] >>> [/sendmail] >>> code..blah..code... >>> [/founditems] >>> [/search] >>>=20 >>> But this does work, but with only the last item found.... >>>=20 >>> [search db=3D../login/website_users.db& >>> code..blah..code...] [founditems] >>> code..blah..code... >>> [showif code..blah..code... >>> [loop start=3D[ code..blah..code...] >>> [text] message =3D >>> [showif code..blah..code... >>> [/showif] >>> [/text] >>> [/loop] >>> [/showif] >>> code..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 >>>=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 >> --------------------------------------------------------- >> 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 >=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 Stuart Tremain

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] SHA-512 How To Do It (2014) Multiple Ad databases? (1997) Card clearance, problems - solutions? (1997) html email again... (2001) [shippingtotal] in Formulas.db (2002) Multicolumn table layout (was Variable Math) (1998) Problems with [Applescript] (1997) Hello??? (1997) RE: Can a database get stomped by simultaneous access? (1997) Upgrade Cost?? $$$ (2000) Erotic Sites (1997) Multiple Newcarts (1996) Generating unique SKU from [cart] - Still Stumped... (1997) WebDNA emailer details (2005) WebCat2 several catalogs? (1997) WebCatalog 3.0.8 Mac OS (2000) [WebDNA] Bug in [thisurlplusget] on v7 (2011) PSC recommends what date format yr 2000??? (1997) [WebDNA] how to purge webdna cache of templates? (2009) Locking up with WebCatalog... (1997)