Quantcast
Channel: Active questions tagged email - Stack Overflow
Viewing all articles
Browse latest Browse all 29745

How to display QR code of a string in gmail

$
0
0

I have an HTML template with <img> tag to display a QR code representation of a user ID, for that I simply used DATA URL technique src="data:image/png;base64, base64String as suggested by https://sendgrid.com/blog/embedding-images-emails-facts/ under the section Inline Embedding (Base64 Encoding).

This is working in outlook, but there seems to be a problem for Gmail. What is the best way to display this QR code in email clients, especially in Gmail. Note that, I do not have an actual image file as the QR is generated from the user ID, at most I just have the byte array representing the QR image.

I am using sendgrid to send the emails.


Viewing all articles
Browse latest Browse all 29745

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>