accessing cmsms Page from batch PHP code?
Posted: Wed Sep 22, 2010 5:47 pm
We have a batch PHP process that runs periodically from cron that includes sending an email.
We'd like to pull the text for the email out of a CMSMS Page (i.e. the content field).
Any suggestions on how to do this? Would it be just like coding a module or ?? I.e. specifically:
We'd like to pull the text for the email out of a CMSMS Page (i.e. the content field).
Any suggestions on how to do this? Would it be just like coding a module or ?? I.e. specifically:
- what files should we include to enable the cmsms functionality?
- what function do we call to access the appropriate page?
- what cmsms function is best to send the email (so we can re-use the CMSMailer settings)?