Is there a way to embed an iframe in an email with updated text?

I want to embed an iframe inside an email that contains the 10 most recent chat messages. Is there a way to make this iframe dynamics so that it always shows the last 10 chats, regardless of when the email opens? If an iframe is not the right way to do this, is there a better way?

+7
email html-email iframe chat
source share
3 answers

You can try to embed the iframe in the email, but your mail will be recognized as spam by many providers.

Perhaps you should try to dynamically convert your content into an image and implement that image in an email.

+6
source share

There is such a solution. It uses dynamic CSS with dynamic image rollback to retrieve information. It is not very elegant, as for some clients (for example, Outlook), it is not accessible at all and will only display initial information. It also uses a link to a stylesheet, which also severely limits which clients it will work with.

A dynamic image with backward reduction is a little more complete in customer support, but it’s much more difficult to maintain it, since you will need to create something that will programmatically pull out tweets (possibly an HTML web page), and then also create something that Creates and places an image for sending via email. This is not a brief, simple thing that you can customize and may not be worth the work in the background for simple writing.

See this link for more details on how you can do this to add a live twitter feed to your email: https://litmus.com/blog/how-to-code-a-live-dynamic-twitter-feed -in-html-email

+3
source share

Since there was no accepted answer, I thought I would also give my contribution.

Litmus did something similar for his live twitter emails some time ago.

The method I can think of is to create a PHP page that takes 10 images and turns them into 1. PHP can have a loop that checks increments from a certain number, and if it exists, add 1 image to that. When a new chat image is added, PHP will ignore the last one and add a new one to the loop.

+1
source share

All Articles