Hi folks,
I'm working on a module that sends small batches of emails, to notify customers of specific events in the store. Each email's text is generated by rendering a template inside an MvCAPTURE block. The module runs a loop to do this repeatedly for each customer.
That's all working OK now. I'd like to put the entire loop inside another MvCAPTURE, in order to grab any error messages and other status information that the module displays while running. Is it OK to nest one MvCAPTURE inside another like that? Obviously I need the inner MvCAPTURE to grab only the email text, and the outer MvCAPTURE to capture only the status messages, not the email texts too. Will that work?
Thanks --
I'm working on a module that sends small batches of emails, to notify customers of specific events in the store. Each email's text is generated by rendering a template inside an MvCAPTURE block. The module runs a loop to do this repeatedly for each customer.
That's all working OK now. I'd like to put the entire loop inside another MvCAPTURE, in order to grab any error messages and other status information that the module displays while running. Is it OK to nest one MvCAPTURE inside another like that? Obviously I need the inner MvCAPTURE to grab only the email text, and the outer MvCAPTURE to capture only the status messages, not the email texts too. Will that work?
Thanks --
Comment