MailBeez Posted August 18, 2010 Author Share Posted August 18, 2010 However I have a question about the iteration value $this->iteration = date('Y'); is used in the Birthday module - am I correct in thinking that $this->iteration = date('D'); would allow a daily email to be sent? I have tried this and it just places an iteration value of '0' into the database - the date('D') adds in 2010 to the database. Thanks for figuring out how to make the cronjob work - i will put it in the documentation with credits to you ;) date('D') gives back characters, iteration need to be a numeric Value. So what you are looking for would be date('Yz') which returns a numeric Value unique for the current day. (check the php documentation) Using this would sent every day One email to the customers found with the query. Cord Quote MailBeez Automatic Trigger Email Campaigns (CRM) with Modules BeezDesk CRM Customer Insight CE Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.