Problem with token substation on custom mailer plugin

Your software
My Mautic version is: v4.4.4
My PHP version is: 7.4.32
My Database type and version is: 0.5.10-MariaDB

Your problem

Hello guys.

I’m trying to implement a plugin that uses a specific mailer. This service offers a JSON API.

I derived my plugin from the AbstractTokenHttpTransport class and implemented getPayload to return the payload expected by the API.

I used the getBody method to get the body of the message, but I must be missing something because the tags aren’t being replaced.

I was talking to Leo in the Development section, and he suggested that it might be a configuration issue with my environment.

I would appreciate it if you could help me validate this point. I followed the installation step by step and everything seems to work perfectly.

My implementation is to blame for sure. All I’ve gotten so far was searching around in Mautic’s code.

Thank you if you can help me.

Mathias