Details
-
Type: Improvement
-
Status: Done/Fixed
-
Priority: Important
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.7.28
-
Fix Version/s: 4.7.30
-
Component/s: CiviMail
-
Labels:
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:Developer Doc
-
Funding Source:Needs Funding
-
Verified?:No
Description
By default, CiviMail checks for tokens (such as "
{action.unsubscribeUrl}") whose presence would help address anti-spam regulations.
FlexMailer (generally) and Mosaico (in particular) allow customization of the email template language. But tokens look different in those environments, which leads the validation to malfunction. (eg https://github.com/veda-consulting/uk.co.vedaconsulting.mosaico/issues/143 )
The logic for checking tokens should be hookable/alterable so that different template handlers can enforce different variants on this logic.