[BNM] PHPlist question - incremental emails with different start dates...
Jason Bailey
jasonslbailey at yahoo.co.uk
Tue May 19 10:58:17 BST 2009
--- On Mon, 18/5/09, Simon Early <simon.early at gmail.com> wrote:
> From: Simon Early <simon.early at gmail.com>
> Subject: [BNM] PHPlist question - incremental emails with different start dates...
> I am developing a programme which results in an "email a
> day" for
> subscribers. The entire programme they get sent will be the
> same, but
> obviously someone starting a month after launch doesnt want
> to be receiving
> email30 from day 1.
>
>
> Is this possible with phplist or similar?
Hi
I've not used phplist. Couldn't you query the sign-up date of a subscriber and subtract it from today's date to obtain the number of days as an integer (you might want to convert to timestamp or use one of php's functions). Or this:
http://www.plus2net.com/sql_tutorial/date_difference.php
The integer (1 to ?30? days) could be used to select the appropriate email from your templates. Integer could be the id or something.
I guess to automate this you'd need a cronjob to schedule the process of finding and sending emails each day.
I'm sure there's a better way but I've not used phplist if that's what you're after.
Jason
More information about the BNMlist
mailing list. Powered by Wessex Networks