Re: won't [sendmail] inside of a [search]

This WebDNA talk-list message is from

2007


It keeps the original formatting.
numero = 69284
interpreted = N
texte = Thank you Matthew, That solution worked great. sfb ----- Original Message ----- From: Matthew A Perosi Date: Friday, September 14, 2007 10:36 am Subject: Re: won't [sendmail] inside of a [search] To: WebDNA Talk > Instead of trying to fight the error you could just work with it... > > [text]message=[/text] > [search > db=../reservations0708.db&geSKUdata=1&neLIVEdatarq=No&geFORMATTED_DATEdata= [date] > &asFORMATTED_DATEsort=1&FORMATTED_DATEtype=date] > [founditems] > > [showif [url][newvar][/url]=[url][FORMATTED_DATE][/url]] > [text]message= > > Event Reservation Database > >
This is an automated e-mail reminder of upcoming events > > [include the data I want about the upcoming event] > [/text] > [/showif] > > [/founditems] > [/search] > > [hideif [url][message][/url]=] > [sendmail > to=me@myemail.org&from=Theatre@www.oswego.org&subject=PerformanceReminder from Theatre > web page on [date] [TIME format=%I:%M:%S]&Content-Type=text/html] > [message] > [/sendmail] > [/hideif] > > Matthew A Perosi > Psi Prime, Inc. > http://www.psiprime.com > 323 Union Blvd. > Totowa, NJ 07512 > P: 973.413.8210 > F: 973.413.8217 > > > > sbraun1@twcny.rr.com wrote: > > Hi All, > > > > I've run into a problem where WebDNA won't execute a [sendmail] > command inside of a > > [search] process. > > > > Specifically, I have a .db of upcoming events to produce, and I > use a daily trigger to run a > > [search] command to > > find the next event(s). > > Then I use a [showif] to test for the upcoming date that I want. > This works fine. > > Then I use a [sendmail] to e-mail myself the data I need to > remind me of the upcoming > > event. > > The [sendmail] won't execute. > > In fact if I view the code in a web browser when it is not > working, it looks like this: endmail > > to=me@myemail.org&...etc...etc > > The "[s" characters are missing. > > > > The [sendmail] works when I move it outside of the [search], but > that sends me an e-mail > > each day, whether > > there is an upcoming event found in the .db or not. > > > > Can anyone come up with a work-around on how to solve this problem? > > Thanks in advance. > > sfb > > > > > > > > > > Here is my code: > > > > [search db=../ > > > reservations0708.db&geSKUdata=1&neLIVEdatarq=No&geFORMATTED_DATEdata=[date]> &asFORMATTED_DATEsort=1&FORMATTED_DATEtype=date&][founditems] > > [showif [newvar]=[FORMATTED_DATE]] > > > > [sendmail > to=me@myemail.org&from=Theatre@www.oswego.org&subject=Performance > > Reminder from Theatre > > web page on [date] [TIME format=%I:%M:%S]&Content-Type=text/html] > > > > > Event Reservation Database > > > >
This is an automated e-mail reminder of upcoming events > > > > [include the data I want about the upcoming event] [/showif] > > > > [/sendmail] > > [/showif] > > [/founditems] > > [/search] > > > > > > ------------------------------------------------------------- > > 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 digest@talk.smithmicro.com>> Web Archive of this list is at: > http://webdna.smithmicro.com/> > > > > > > ------------------------------------------------------------- > 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 digest@talk.smithmicro.com>Web Archive of this list is at: > http://webdna.smithmicro.com/ ------------------------------------------------------------- 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 Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: won't [sendmail] inside of a [search] ( sbraun1@twcny.rr.com 2007)
  2. Re: won't [sendmail] inside of a [search] ( Matthew A Perosi 2007)
  3. Re: won't [sendmail] inside of a [search] ( Chris 2007)
  4. won't [sendmail] inside of a [search] ( sbraun1@twcny.rr.com 2007)
Thank you Matthew, That solution worked great. sfb ----- Original Message ----- From: Matthew A Perosi Date: Friday, September 14, 2007 10:36 am Subject: Re: won't [sendmail] inside of a [search] To: WebDNA Talk > Instead of trying to fight the error you could just work with it... > > [text]message=[/text] > [search > db=../reservations0708.db&geSKUdata=1&neLIVEdatarq=No&geFORMATTED_DATEdata= [date] > &asFORMATTED_DATEsort=1&FORMATTED_DATEtype=date] > [founditems] > > [showif [url][newvar][/url]=[url][FORMATTED_DATE][/url]] > [text]message= > > Event Reservation Database > >
This is an automated e-mail reminder of upcoming events > > [include the data I want about the upcoming event] > [/text] > [/showif] > > [/founditems] > [/search] > > [hideif [url][message][/url]=] > [sendmail > to=me@myemail.org&from=Theatre@www.oswego.org&subject=PerformanceReminder from Theatre > web page on [date] [TIME format=%I:%M:%S]&Content-Type=text/html] > [message] > [/sendmail] > [/hideif] > > Matthew A Perosi > Psi Prime, Inc. > http://www.psiprime.com > 323 Union Blvd. > Totowa, NJ 07512 > P: 973.413.8210 > F: 973.413.8217 > > > > sbraun1@twcny.rr.com wrote: > > Hi All, > > > > I've run into a problem where WebDNA won't execute a [sendmail] > command inside of a > > [search] process. > > > > Specifically, I have a .db of upcoming events to produce, and I > use a daily trigger to run a > > [search] command to > > find the next event(s). > > Then I use a [showif] to test for the upcoming date that I want. > This works fine. > > Then I use a [sendmail] to e-mail myself the data I need to > remind me of the upcoming > > event. > > The [sendmail] won't execute. > > In fact if I view the code in a web browser when it is not > working, it looks like this: endmail > > to=me@myemail.org&...etc...etc > > The "[s" characters are missing. > > > > The [sendmail] works when I move it outside of the [search], but > that sends me an e-mail > > each day, whether > > there is an upcoming event found in the .db or not. > > > > Can anyone come up with a work-around on how to solve this problem? > > Thanks in advance. > > sfb > > > > > > > > > > Here is my code: > > > > [search db=../ > > > reservations0708.db&geSKUdata=1&neLIVEdatarq=No&geFORMATTED_DATEdata=[date]> &asFORMATTED_DATEsort=1&FORMATTED_DATEtype=date&][founditems] > > [showif [newvar]=[FORMATTED_DATE]] > > > > [sendmail > to=me@myemail.org&from=Theatre@www.oswego.org&subject=Performance > > Reminder from Theatre > > web page on [date] [TIME format=%I:%M:%S]&Content-Type=text/html] > > > > > Event Reservation Database > > > >
This is an automated e-mail reminder of upcoming events > > > > [include the data I want about the upcoming event] [/showif] > > > > [/sendmail] > > [/showif] > > [/founditems] > > [/search] > > > > > > ------------------------------------------------------------- > > 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 digest@talk.smithmicro.com>> Web Archive of this list is at: > http://webdna.smithmicro.com/> > > > > > > ------------------------------------------------------------- > 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 digest@talk.smithmicro.com>Web Archive of this list is at: > http://webdna.smithmicro.com/ ------------------------------------------------------------- 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 Web Archive of this list is at: http://webdna.smithmicro.com/ sbraun1@twcny.rr.com

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:

WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Ken's Data Manager (finally available I think ...) (2005) Looping control (1997) Cart# (1997) Where's Cart Created ? (1997) Img in goodpath (2001) Webmerchant (2000) WebCat2 - many [carts] on one template page? (1997) Raw Table View? (2006) Problems passing [SKU] with $Replace in 2.0 (1997) More DateMath problems (1997) quantity minimum problem (1997) & Problem in Textarea (1999) [BULK] [WebDNA] [BULK] WebDNA 7 - Ready or Not ?? I'm not sure... (2011) Rollovers (1999) Re:no template caching (1997) Math (1997) For those of you not on the WebCatalog Beta... (1997) form data submission gets truncated (1997) search comparison problem (2000)