如何摆脱“显示修剪的内容"?在 Gmail HTML 电子邮件中?

2022-01-23 00:00:00 html-email gmail html

我发送了很多 HTML 电子邮件.GMail 的问题是,如果有多个邮件主题相同,它会隐藏一些相似的内容并显示..."以显示修剪的内容".这搞砸了我的格式.

I send a lot of HTML emails. The problem with GMail is, if there are more than one emails with the same subject, it hides some similar content and shows a "..." to show the "trimmed content". This screws up with my formatting.

如果不能更改主题,有什么办法可以避免这种行为吗?

If changing the subject is not an option, is there is any way to avoid this behaviour?

我应该澄清一下,我使用 Amazon SES 从 php 脚本以编程方式发送电子邮件.这就是我在 Stack Overflow 中发布问题的原因.

I should clarify that I programmatically send emails using Amazon SES from a php script. That is why I posted the question in Stack Overflow.

推荐答案

我自己也遇到过这个问题,从我的调查来看,GMail确实会修剪内容,如果它与前面的电子邮件相似.

I've just encountered this problem myself, and from my investigations it seems that GMail does indeed trim the content if it is similar to the preceding emails.

p>

我的解决方案是在每封电子邮件的末尾插入当前时间戳:

My solution is simply to insert the current time stamp at the end of every email:

[15:02:21 29/01/2013] 消息结束.

[15:02:21 29/01/2013] End of message.

相关文章