Revision 62a218f95e0f3911728114caf75b79e78d3b2a58
Committed on 11/07/2016 9:10 pm by
Mark Howard <mark@clearfield.com> [GitHub Diff]
Reset eZTemplate factory before every email (once initialized, it was retaining the first siteaccess, so wasn't correctly swapping as the siteaccesses changed)
Moved site to revert to default siteaccess outside the method that may potentially change the siteaccess. This way, it should always be reverted, regardless of failures.
Added a little extra logging to early exit check on campaign_monitor.ini to indicate the condition has been satisfied and we're bailing.