Wrox Home  
 
Search P2P Archive for  go

More Wrox Resources

  Return to Index  

asp_web_howto thread: Sending one email a day instead of multiple.


Message #1 by "Christopher Cote" <cotec@s...> on Sun, 20 Jan 2002 01:25:50
I'm not sure whether this is a javascript or an ASP question, so I'll ask 

it in both places.  I have a site that has a questionnaire for fans of our 

team to enter their name and addresses.  Instead of having each person's 

info being sent separately, I'd like to save their data in a database and 

have each day's entries sent at the end of the day.  Is there a way to do 

this with scripting?  If not, how would I accomplish this?



Chris
Message #2 by "Alfredo Yong" <alfredo_yong_linux@h...> on Sun, 20 Jan 2002 13:00:20 -0500
Hi Chris,



Usually you need to have

1. The HTML form to collect data, who submit the form to:

2. A server side script, to receive the form and  to store the data in the

database

3. An ASP/HTML or php/HTML script to show you the entries of the database,

so you can invoke it once a day. (an ASP or php  script to automatically

send you the entries may be problematic. (But, you can do this: each time

you receive a form, compare its date with the last-received form. If day

difference is > 0, the send the consolidated mail. Problem is, if one day

youi don't receive mail, you don receive the last days' messages )



This is a very simple setup, but you need to program to accomplish it, and

your hosting plan must include server side scripting. Brinkster

www.brinkster.com have free plans and example code, but those plans can be

unreliable.



More help, jusy ask.



Alfredo



Christopher Cote <cotec@s...> escribió en el mensaje de noticias

137639@a..._web_howto...

>

> I'm not sure whether this is a javascript or an ASP question, so I'll ask

> it in both places.  I have a site that has a questionnaire for fans of our

> team to enter their name and addresses.  Instead of having each person's

> info being sent separately, I'd like to save their data in a database and

> have each day's entries sent at the end of the day.  Is there a way to do

> this with scripting?  If not, how would I accomplish this?

>

> Chris

>

>






  Return to Index