I'm finding that whereas the ‘View in browser’ link in a Mosaico template will work when the template is applied to a mailing created via Mailings->New mailing, it will not work when the template is applied to a mailing triggered by CiviRules, or a when used by a scheduled reminder.
So:
- I create a Mosaico template with a 'preheader block' containing a 'View in your browser' link - this link is pre-defined in the preheader and I don't change it in any way
- I create a new mailing with Mailings->New mailing, specify this template, then click on ‘send test' under ‘Send test email to:’ in first screen ‘Define Mailing’ of New Mailing dialogue. When the email is received, the 'View in your browser' link works as expected
- I create a CiviRule, with Action 'Send Email', using this template. When the email is received, the 'View in your browser' link does not work - on inspection, the <a> tag has no href attribute
- I create a scheduled reminder using this template and again when the email is received the link does not work, in the same way
Anyone know what the problem is here?