I’m trying to send a batch of emails using a Segment and some contacts.
I created an email template and all works correctly.
But I want to create another segment on which I can add a different attachment to each contact. It’s a QR code I want to embed inside the email instead of creating a link pointing to a website which should create the QR.
I tried to use <img src with base64 using a custom field with the base64 on each contact but it doesn’t works on GMail.
I made a PHP file which accepts a GET parameter which should be the text of the QR. The PHP file returns a PNG file with the QR.
We added a custom field to the contact with the QR code. The PHP file gets that code and will generate the QR image for that contact. We want to embed that PNG inside the email, instead of making the QR generator php file and place a link inside the email to that php file.