the reason I want to clear the cache is because I started a campaign, it’s running now, I made a mistake and went and fixed the email template, but there are no changes…
Will clearing the cache append the changes in real time? Or will it toast the whole campaign?
I’d rather not clear the cache now, would rather wait till sending is done, but I don’t know how to make changes to email template in mid sending, I paused it, and then unpaused , but the changes are not being recorded on the sent emails…
To my knowledge clearing cache will not update email content in campaigns.
Try this.
-Pause everything.
-Unpublish the email it is sending. If you use the “send immediately” option in your email settings its likely the old email is sitting in your spool and being processed as fast as your email provider or smtp can process. If you use the queue function the email is likely in your var/spool folder waiting to be sent in chunks that you specified.
-Clone original email. Verify and make whatever changes so they are correct. Save the email.
-Edit campaign step by choosing the new correct email in the appropriate campaign slot. To avoid duplicates you should check and see if your marked the email as transactional or marketing.
-delete whatever is in your mautic/var/spool folder
run mautic:campaigns:update
Make sure everything is published and ready to go. then mautic:campaigns:trigger