lhamilton Posted January 15, 2013 Share Posted January 15, 2013 We are looking to pump out sales messages on the end of e-mails that have invoices attached. At the same time we normally end up promoting the same things every year in certain months (eg. every January we are pushing the same thing). Does WHMCS have a facility that depending on which month it is at the moment certain parts of an email will or won't be sent? I haven't seen a custom field for the current month of the year, so I wondered if it existed (and what formatting it uses for the month - ie. 1, 01, jan or january). 0 Quote Link to comment Share on other sites More sharing options...
WHMCS JamesX Posted January 16, 2013 Share Posted January 16, 2013 (edited) Create an action hook at the EmailPreSend point and set a merge field to whatever value you want based on the current date. You can then do whatever you want in the e-mail based upon its value. Edited January 16, 2013 by WHMCS JamesX 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.