473,385 Members | 1,356 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Automating email reports

A friend would like to have a signup form on his site. Anyone that
signs up will be entered into a database and automatically sent an
email report. This much I can do!

However, he'd then like the person to recieve a further 2 reports with
a specified delay (say a week) between each email. He'd like this
process to be automated - sending anyone who signs up the three reports
with a week between each emailing.

Any ideas on how this is achieved much appreciated! A script on the
server?

Many thanks,

OP

Jan 24 '07 #1
7 1661
Rik
On Wed, 24 Jan 2007 18:40:59 +0100, odysseyphotography
<in**@odysseyphotography.netwrote:
A friend would like to have a signup form on his site. Anyone that
signs up will be entered into a database and automatically sent an
email report. This much I can do!

However, he'd then like the person to recieve a further 2 reports with
a specified delay (say a week) between each email. He'd like this
process to be automated - sending anyone who signs up the three reports
with a week between each emailing.

Any ideas on how this is achieved much appreciated! A script on the
server?
Indeed, run a cronjob, which checks what emails to sent, and does the
sending.

--
Rik Wasmus
* I'm testing several new newsreaders at the moment. Please excuse
possible errors and weird content. *
Jan 24 '07 #2
odysseyphotography wrote:
A friend would like to have a signup form on his site. Anyone that
signs up will be entered into a database and automatically sent an
email report. This much I can do!

However, he'd then like the person to recieve a further 2 reports with
a specified delay (say a week) between each email. He'd like this
process to be automated - sending anyone who signs up the three reports
with a week between each emailing.

Any ideas on how this is achieved much appreciated! A script on the
server?

Many thanks,

OP
I'd set up a cron job to run once a day. Have it scan the database and
based on whatever criteria you select send the email.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Jan 24 '07 #3
odysseyphotography schreef:
However, he'd then like the person to recieve a further 2 reports with
a specified delay (say a week) between each email. He'd like this
process to be automated - sending anyone who signs up the three reports
with a week between each emailing.
As already mentionned, read the cron manual
Any ideas on how this is achieved much appreciated! A script on the
server?
Using http://www.swiftmailer.org/ you can reduce your work...

--
Tim Van Wassenhove <url:http://www.timvw.be/>
Jan 24 '07 #4
Tim Van Wassenhove wrote:
odysseyphotography schreef:
>However, he'd then like the person to recieve a further 2 reports with
a specified delay (say a week) between each email. He'd like this
process to be automated - sending anyone who signs up the three reports
with a week between each emailing.

As already mentionned, read the cron manual
Really, at a trivial level 'at' is much more apposite however with smart
batch handling, cron might be easier.

Also you need to authenticate requests through the email address - usually
this is done by emailing back a response to a prompt. For that you will
need a mailbox with procmail setup in front of it or a cron job polling the
mailbox.

C.
Jan 24 '07 #5
Rik
On Wed, 24 Jan 2007 23:40:23 +0100, Colin McKinnon
<co**********************@ntlworld.deletemeunlessU RaBot.comwrote:
Tim Van Wassenhove wrote:
>odysseyphotography schreef:
>>However, he'd then like the person to recieve a further 2 reports with
a specified delay (say a week) between each email. He'd like this
process to be automated - sending anyone who signs up the three reports
with a week between each emailing.

As already mentionned, read the cron manual

Really, at a trivial level 'at' is much more apposite however with smart
batch handling, cron might be easier.

Also you need to authenticate requests through the email address -
usually
this is done by emailing back a response to a prompt. For that you will
need a mailbox with procmail setup in front of it or a cron job polling
the
mailbox.
Why doesn't a single email with a 'click on this link to confirm', and a
flag in database suffice? This setup seems a little overly complicated.

--
Rik Wasmus
* I'm testing several new newsreaders at the moment. Please excuse
possible errors and weird content. *
Jan 24 '07 #6
Thank you all so much.

OP

Jan 25 '07 #7
For anyone who can't set up a CRON job, and justs needs a quick and
easy solution - this might work:

<img src="http://www.urlhere.com/script.php" alt="script" width="1"
height="1" border="0" />

Jan 29 '07 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Limey Drink | last post by:
Hi all, Firstly :-) , is there any where I can search through archived newsgroup posts so I am not cluttering up the newsgroup with repeated queries ? And secondly :-), I know this has...
7
by: xzzy | last post by:
I need to automate a report in a different database (and thank yous to Terry Kreft for pointing me in the right direction). below is the code with the one line that does not work, marked: 'Does...
1
by: EnriqueM | last post by:
One question: I created an access database that has been extremely useful in my work. I dont' even know at what level of knowledge I am at. I read a lot about how to create a database, created many...
2
by: brucedodds | last post by:
This post is for senior developers. I'm an Access contractor. This morning I see a listing for a position that seems to require development of a self-modifying database. The application may need...
4
by: Supa Hoopsa | last post by:
I am in the process of rewriting an MS Access application (access front end with SQL 2k database) in VB.NET and one of the things I would like to do is link in to the compiled Access ADE so that I...
6
by: Edgar | last post by:
Hi, I need some advise on how to automate record selection on a stored proc. Here is my situation. I have a stored proc that I used on Crystal reports with two parameters - Acctcode and...
1
by: Liam.M | last post by:
HEY GUYS, need some urgent help here....I am querying my database based on a DueDate field...and want to send an automated email to anyone that falls within two months PRIOR to this "DueDate",...
3
by: sportygeek3 | last post by:
Hi All, I am looking for a way to automate other applications programatically. Is there any C# library that will allow me to do this? i.e. I want to be able to iterate the menu items on...
2
by: nandishp | last post by:
We need to automate download of Reports from Oracle CRM OnDemand. The reports in Siebel CRM OnDemand can be downloaded in the form of Excel, CSV, etc. We have a task of downloading several such...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.