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:

WebCatalog for guestbook ? (1997) bannerads example idiot (1997) Opinion: [input] should be called [output] ... (1997) followup to ws3 vs ws2.1 speed (1998) Calendar Snippet Problems (1998) PCS Frames-Default page is solution! (1997) more trouble with [showif] in [search] = busted [shownext] (2000) Getting Total Quantity (1997) Mac 2.1b4 unknown error: BadSuffix (1997) can you reassign loop index? (1998) html in a database (1998) TCPConnect to query for Domain expiration (2000) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) Re[2]: POSTing to a secure server ... (2000) webcat2b12 CGI -- Date comparisons (1997) Hiding HTML and page breaks (1997) Help with getting rpm file (2002) Quit revisited (1997) Getting total number of items ordered (1997) Single Link browsing (1997)