Closed radicand closed 2 years ago
@radicand I have implemented this into the updated mautic 4 branch (1.2-beta). If you get a chance could you perform additional testing. I will be testing this on my end as well. Im closing this PR since its going into master.
@MarketSmart thanks for this; to be honest though I'm no longer using the platform and will not be able to test.
@radicand thats ok. Thank you for responding.
Mautic's email send API allows you to supply arbitrary tokens in the POST body payload. This PR adds support for Twig to process these tokens.
Tokens can be strings or full-on objects, eliminating the need for storing data temporarily in contact/lead fields, as well as JSON parsing. See the provided example in the README.