Re: Sendmail question [Newbie]

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 23507
interpreted = N
texte = Instead of using triggers, which is/was known to cause some problems, you could do it two ways....Either do a WhenAUserEnters.tpl where it search through the ads, and makes an calculation of the date then in the founditems, use a showif theAdDate=currentdate-60daysThe other way, is to make the add append to a special database with only the sku of the add, and the date.... then make the same search as above but in this (probably much smaller database)/Martin>I'm trying to build a classified ad system that will automatically email >buyers and tell them it is time to renew the ad. > >So, essentially, I want a bulld a form that will create a new record -- and >send an email 60 days later. > >Which commands or contexts do I use to trigger Sendmail after 60 days? > >Thanks! > >Signed, >Overwhelmed Associated Messages, from the most recent to the oldest:

    
  1. Re: Sendmail question [Newbie] (PCS Technical Support 1999)
  2. Re: Sendmail question [Newbie] (Peter Ostry 1999)
  3. Re: Sendmail question [Newbie] (Martin Bech 1999)
  4. Re: Sendmail question [Newbie] (John Winningham 1999)
  5. Re: Sendmail question [Newbie] (The Mooseman 1999)
  6. Sendmail question [Newbie] (Phil Herring 1999)
Instead of using triggers, which is/was known to cause some problems, you could do it two ways....Either do a WhenAUserEnters.tpl where it search through the ads, and makes an calculation of the date then in the founditems, use a showif theAdDate=currentdate-60daysThe other way, is to make the add append to a special database with only the sku of the add, and the date.... then make the same search as above but in this (probably much smaller database)/Martin>I'm trying to build a classified ad system that will automatically email >buyers and tell them it is time to renew the ad. > >So, essentially, I want a bulld a form that will create a new record -- and >send an email 60 days later. > >Which commands or contexts do I use to trigger Sendmail after 60 days? > >Thanks! > >Signed, >Overwhelmed Martin Bech

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:

What generates Problem With Your Order email? (2000) WebCommerce: Folder organization ? (1997) syntax question, not in online refernce (1997) Feature req. (2002) [dos] command and [math] (1998) WebCat2 - [format thousands] (1997) Is there a max number of fields? (1998) Another question (1997) values being mis-placed in results (2000) cookie question (2002) Was 5.0 Pricing, now Sandbox versus Website and ruminating (2003) PCS Frames (1997) RAM problems, [appendfile] problems (1998) Bad URL reference? (1997) Almost a there but..bye bye NetCloak (1997) Not really WebCat (1997) webcat NT with [dos] command (1997) WebCat2b12 CGI Mac -- Problems propagating the cart through frames...still (1997) Bug? (1997) Webcat causing crashes left and right! (1997)