[ic] Looking for a way to send a follow-up e-mail 7days after
lists at gmnet.net
Wed Apr 18 20:21:17 EDT 2007
On Wed, 2007-04-18 at 15:49 -0700, Eric Chamberlain wrote:
> I'm trying to figure out how to send a follow-up e-mail to customers a
> week or so after their order ships. The text should be customized based
> on what items were in their order.
> Can anyone point me in the right direction?
> Eric Chamberlain
> interchange-users mailing list
> interchange-users at icdevgroup.org
Here is an idea...
maybe set up a cron for it?
as IC run a cron each day like the following
00 9 * * * /usr/local/interchange/bin/interchange
--runjobs=catalogname=jobs > /dev/null
then make a directory etc/jobs put a file in it like
Make a new field in your transactions table like "followupsent" then You
can put some IC code in that file to look up any orders that have been
shipped 7 days ago AND not marked as "followupsent" then have it send a
followup email, then mark the transaction "followupsent" field as true?
More information about the interchange-users