Im building a custom bounce handler to allow PowerMTA to report bounces via the Mautic API. On the surface its easy to do - ONCE YOU HAVE THE CONTACT ID. What Im struggling to figure out is how to get the contact id from the bounce email address… here is what the bounce email address looks like:
What I cant seem to track down in the mautic code (Im not familiar with Symfony at all so that probably has alot to do with it) - is how to decode the “5f0661c5b6427601221206” into usable data such as the contact id.
I tried just base64_decoding it but that resulted in garbage - so Im hoping one of you out there can tell me how to decode the data into the contact id via PHP. With that I can then mark the contact as bounced via the Mautic API.
Thanks in advance.