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

This WebDNA talk-list message is from

2012


It keeps the original formatting.
numero = 109307
interpreted = N
texte = Thanks to all of you who have tried to help me with this. I have tested my code literally 100 times and here is what I've found. The [sendmail] won't work if the 'to' address, or the 'from' address, or = the 'subject line' has too many characters. It works fine when the subject line is 7 characters, but not 8. It works fine when the 'to' or 'from' domain is 12 characters, but not = when it is 23 characters. Unfortunately, the domain name is 23 characters. Would this be a setting that my host has set up in his email control = panel? Thanks again to all of you who wrote back to me. Steve Braun On Jul 13, 2012, at 11:13 PM, WebDNA Solutions wrote: >> It does both of your [writefile] commands perfectly, with >> several of my test employees, but does not do the >> [sendmail] in between.=20 >=20 > How are you determining that the [sendmail] context is (or=20 > is not) writing the appropriate files to disk from inside the=20 > founditems context? >=20 > Are you checking the contents of the EMailProblem and=20 > EMailCompleted folders to see which folder the mail files are=20 > in? >=20 > Or are you assuming that the mail files are not being written=20 > to disk simply because you fail to receive the email=20 > messages in your inbox within a reasonable time? >=20 > What happens when you use a valid "From" address instead of=20 > the bogus "From" address you're using now? Some mail=20 > servers reject mail sent from a bogus "From" address. >=20 > What does the "Email Log.txt" file say about these emails?=20 >=20 >=20 >> I was told that it is because the [sendmail] is inside of >> the [search]. >=20 > Who told you this? Is it the same person who is hosting=20 > your site? =20 >=20 > Whoever told you this is giving you bad advice. He needs to=20 > learn how WebDNA really works before passing out any more=20 > bad advice. >=20 > If it's the same person who is hosting your site he needs to=20 > give you the data you request in order to debug this=20 > problem, too. >=20 >=20 >> I don't have access to the server to check any of the >> settings, or know the platform. >=20 > Try using [platform] and you'll know what the platform is. =20 > Also try [version] to learn which version of WebDNA is=20 > running. >=20 > At the very least your host should give you access to the=20 > Email Log.txt file, or send you a list of the [sendmail] files=20 > you're creating from inside the founditems context. >=20 > ------------ >=20 > My guess is that the mail files are being written but not=20 > being sent, which means they are being moved to the=20 > EMailProblem folder. Of course you need access to this=20 > folder in order to check and confirm this theory ... >=20 > Sincerely, > Kenneth Grome > WebDNA Solutions > http://www.webdnasolutions.com > WebDNA Programming and Linux Server Administration >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >> 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][/writefi >> le] [sendmail >> to=3Dsbraun1@twcny.rr.com&from=3DWebpage@mydomain.com&subjec >> t=3DTest Over 40 message (no reply)&content-type=3Dtext/html] >> [message_total_hours] >> [/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 >> On Jul 13, 2012, at 11:07 AM, WebDNA Solutions wrote: >>> There must be something wrong with your real code, >>> unless it's a temporary glitch that requires a reboot >>> to clear it up. >>>=20 >>> First reboot the server, then try your original code >>> again to see if it's working the way it should. If >>> not, try this as a test: >>>=20 >>> [search db=3D../login/website_users.db& >>> code..blah..code...] >>>=20 >>> [writefile testNumfound][numfound][/writefile] >>>=20 >>> [founditems] >>> code..blah..code... >>> [showif code..blah..code... >>>=20 >>> [loop start=3D[ =20 >>> code..blah..code...] >>>=20 >>> [text] message =3D >>>=20 >>> [showif =20 >>>=20 > code..blah..code.. >>> . [/showif] >>>=20 >>> [/text] >>>=20 >>> [/loop] >>>=20 >>> [/showif] >>>=20 >>> [writefile >>> testFounditemStart[index]][message][/writefile] >>>=20 >>> [sendmail >>>=20 >>> to=3Dtimeclock@domain.com&from=3DWebpage@domain.com&subject >>> =3DStaff Over 40 message (no >>> reply)&content-type=3Dtext/html] >>>=20 >>> [message] >>>=20 >>> [/sendmail] >>>=20 >>> [writefile >>> testFounditemEnd[index]][message][/writefile] >>>=20 >>> code..blah..code... >>> [/founditems] >>>=20 >>> [/search] >>>=20 >>> ... then see if the content of the testNumfound file >>> matches the number of testFounditemStart and >>> testFounditemEnd files -- and check the content of >>> these files to be sure they contain the correct >>> message. >>>=20 >>> Sincerely, >>> Kenneth Grome >>> WebDNA Solutions >>> http://www.webdnasolutions.com >>> WebDNA Programming and Linux Server Administration >>>=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]=20 >>>>>> routine. >>>>>=20 >>>>> Of course it does, I've been doing this for years. >>>>> 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& >>>>=20 >>>> code..blah..code...] [founditems] >>>>=20 >>>> code..blah..code... >>>> [showif code..blah..code... >>>> =09 >>>> [loop start=3D[ code..blah..code...] >>>> =09 >>>> [text] message =3D >>>> =09 >>>> [showif code..blah..code... >>>> [/showif] >>>> =09 >>>> [/text] >>>> =09 >>>> [/loop] >>>> =09 >>>> [/showif] >>>> =09 >>>>  [sendmail >>>>=20 >>>> to=3Dtimeclock@domain.com&from=3DWebpage@domain.com&subjec >>>> t=3D Staff Over 40 message (no >>>> reply)&content-type=3Dtext/html] [message] >>>>=20 >>>> [/sendmail] >>>> code..blah..code... >>>> [/founditems] >>>> =09 >>>> [/search] >>>>=20 >>>> But this does work, but with only the last item >>>> found.... >>>>=20 >>>> [search db=3D../login/website_users.db& >>>>=20 >>>> code..blah..code...] [founditems] >>>>=20 >>>> code..blah..code... >>>> [showif code..blah..code... >>>> =09 >>>> [loop start=3D[ code..blah..code...] >>>> =09 >>>> [text] message =3D >>>> =09 >>>> [showif code..blah..code... >>>> [/showif] >>>> =09 >>>> [/text] >>>> =09 >>>> [/loop] >>>> =09 >>>> [/showif] >>>> code..blah..code... >>>> [/founditems] >>>> =09 >>>> [/search] >>>> =09 >>>> [sendmail to=3Dtimeclock@domain.com&from=3DWebpage@ >>>>=20 >>>> domain.com&subject=3DStaff Over 40 message (no >>>> reply)&content-type=3Dtext/html] [message] >>>>=20 >>>> [/sendmail] >>>> =09 >>>>> 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 >>>=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 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)
Thanks to all of you who have tried to help me with this. I have tested my code literally 100 times and here is what I've found. The [sendmail] won't work if the 'to' address, or the 'from' address, or = the 'subject line' has too many characters. It works fine when the subject line is 7 characters, but not 8. It works fine when the 'to' or 'from' domain is 12 characters, but not = when it is 23 characters. Unfortunately, the domain name is 23 characters. Would this be a setting that my host has set up in his email control = panel? Thanks again to all of you who wrote back to me. Steve Braun On Jul 13, 2012, at 11:13 PM, WebDNA Solutions wrote: >> It does both of your [writefile] commands perfectly, with >> several of my test employees, but does not do the >> [sendmail] in between.=20 >=20 > How are you determining that the [sendmail] context is (or=20 > is not) writing the appropriate files to disk from inside the=20 > founditems context? >=20 > Are you checking the contents of the EMailProblem and=20 > EMailCompleted folders to see which folder the mail files are=20 > in? >=20 > Or are you assuming that the mail files are not being written=20 > to disk simply because you fail to receive the email=20 > messages in your inbox within a reasonable time? >=20 > What happens when you use a valid "From" address instead of=20 > the bogus "From" address you're using now? Some mail=20 > servers reject mail sent from a bogus "From" address. >=20 > What does the "Email Log.txt" file say about these emails?=20 >=20 >=20 >> I was told that it is because the [sendmail] is inside of >> the [search]. >=20 > Who told you this? Is it the same person who is hosting=20 > your site? =20 >=20 > Whoever told you this is giving you bad advice. He needs to=20 > learn how WebDNA really works before passing out any more=20 > bad advice. >=20 > If it's the same person who is hosting your site he needs to=20 > give you the data you request in order to debug this=20 > problem, too. >=20 >=20 >> I don't have access to the server to check any of the >> settings, or know the platform. >=20 > Try using [platform] and you'll know what the platform is. =20 > Also try [version] to learn which version of WebDNA is=20 > running. >=20 > At the very least your host should give you access to the=20 > Email Log.txt file, or send you a list of the [sendmail] files=20 > you're creating from inside the founditems context. >=20 > ------------ >=20 > My guess is that the mail files are being written but not=20 > being sent, which means they are being moved to the=20 > EMailProblem folder. Of course you need access to this=20 > folder in order to check and confirm this theory ... >=20 > Sincerely, > Kenneth Grome > WebDNA Solutions > http://www.webdnasolutions.com > WebDNA Programming and Linux Server Administration >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >> 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][/writefi >> le] [sendmail >> to=3Dsbraun1@twcny.rr.com&from=3DWebpage@mydomain.com&subjec >> t=3DTest Over 40 message (no reply)&content-type=3Dtext/html] >> [message_total_hours] >> [/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 >> On Jul 13, 2012, at 11:07 AM, WebDNA Solutions wrote: >>> There must be something wrong with your real code, >>> unless it's a temporary glitch that requires a reboot >>> to clear it up. >>>=20 >>> First reboot the server, then try your original code >>> again to see if it's working the way it should. If >>> not, try this as a test: >>>=20 >>> [search db=3D../login/website_users.db& >>> code..blah..code...] >>>=20 >>> [writefile testNumfound][numfound][/writefile] >>>=20 >>> [founditems] >>> code..blah..code... >>> [showif code..blah..code... >>>=20 >>> [loop start=3D[ =20 >>> code..blah..code...] >>>=20 >>> [text] message =3D >>>=20 >>> [showif =20 >>>=20 > code..blah..code.. >>> . [/showif] >>>=20 >>> [/text] >>>=20 >>> [/loop] >>>=20 >>> [/showif] >>>=20 >>> [writefile >>> testFounditemStart[index]][message][/writefile] >>>=20 >>> [sendmail >>>=20 >>> to=3Dtimeclock@domain.com&from=3DWebpage@domain.com&subject >>> =3DStaff Over 40 message (no >>> reply)&content-type=3Dtext/html] >>>=20 >>> [message] >>>=20 >>> [/sendmail] >>>=20 >>> [writefile >>> testFounditemEnd[index]][message][/writefile] >>>=20 >>> code..blah..code... >>> [/founditems] >>>=20 >>> [/search] >>>=20 >>> ... then see if the content of the testNumfound file >>> matches the number of testFounditemStart and >>> testFounditemEnd files -- and check the content of >>> these files to be sure they contain the correct >>> message. >>>=20 >>> Sincerely, >>> Kenneth Grome >>> WebDNA Solutions >>> http://www.webdnasolutions.com >>> WebDNA Programming and Linux Server Administration >>>=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]=20 >>>>>> routine. >>>>>=20 >>>>> Of course it does, I've been doing this for years. >>>>> 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& >>>>=20 >>>> code..blah..code...] [founditems] >>>>=20 >>>> code..blah..code... >>>> [showif code..blah..code... >>>> =09 >>>> [loop start=3D[ code..blah..code...] >>>> =09 >>>> [text] message =3D >>>> =09 >>>> [showif code..blah..code... >>>> [/showif] >>>> =09 >>>> [/text] >>>> =09 >>>> [/loop] >>>> =09 >>>> [/showif] >>>> =09 >>>>  [sendmail >>>>=20 >>>> to=3Dtimeclock@domain.com&from=3DWebpage@domain.com&subjec >>>> t=3D Staff Over 40 message (no >>>> reply)&content-type=3Dtext/html] [message] >>>>=20 >>>> [/sendmail] >>>> code..blah..code... >>>> [/founditems] >>>> =09 >>>> [/search] >>>>=20 >>>> But this does work, but with only the last item >>>> found.... >>>>=20 >>>> [search db=3D../login/website_users.db& >>>>=20 >>>> code..blah..code...] [founditems] >>>>=20 >>>> code..blah..code... >>>> [showif code..blah..code... >>>> =09 >>>> [loop start=3D[ code..blah..code...] >>>> =09 >>>> [text] message =3D >>>> =09 >>>> [showif code..blah..code... >>>> [/showif] >>>> =09 >>>> [/text] >>>> =09 >>>> [/loop] >>>> =09 >>>> [/showif] >>>> code..blah..code... >>>> [/founditems] >>>> =09 >>>> [/search] >>>> =09 >>>> [sendmail to=3Dtimeclock@domain.com&from=3DWebpage@ >>>>=20 >>>> domain.com&subject=3DStaff Over 40 message (no >>>> reply)&content-type=3Dtext/html] [message] >>>>=20 >>>> [/sendmail] >>>> =09 >>>>> 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 >>>=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 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:

Size limit for tmpl editor ? (1997) shipcost vs shiptotal (1998) RE: Formulas.db + Users.db (1997) Cross-platform file names? (2000) Multi-processor Mac info ... (1997) WCS Newbie question (1997) HELP WITH DATES (1997) Shopping carts and reloading pages (1997) Sort Order on a page search (1997) denied access (1997) bug in [SendMail] (1997) Shared conversion under WebTen (1998) New Mac Public Beta Available (1997) Help!!!! (1997) HTML Editors (1997) all records returned. (1997) Displaying text and populating form fields (again) (2005) Laying an egg. (1998) wild question (1998) No subject given (2000)