I'm trying to figure out an issue that at least one customer has reported repeatedly.
I'm trying to get more details about exact mail clients, if some of these emails work and others don't etc. But until then, I'd love to hear theories – maybe someone recognises this format with square brackets for images and angled brackets for URLs.
We send a multipart email, both plaintext and HTML.
The user has received what appears to be a bastardised version of the HTML part:
[Name of our site]
Some text.
Unsubscribe<https://example.com/unsubscribe/abc123>
[https://example.com/image.jpg]<https://example.com/page>
Where the HTML part has something like (I've simplified):
<img alt= "Name of our site" src="https://example.com/logo.png" style="…">
<p>Some text.</p>
<p><a href="https://example.com/unsubscribe/abc123">Unsubscribe</a></p>
<p><a href="https://example.com/page"><img src="https://example.com/image.jpg" alt></a></p>
(The plaintext part is completely different and doesn't e.g. include image URLs at all.)
I'm curious about where this format comes from, showing e.g. an image as [alt text]
or [image URL if there's no alt]
, and showing links as <url>
. It's a bit hard to google…
Emails are generated by Ruby on Rails, sent via SendGrid. Recipient uses live.se which I believe corresponds to live.com and has been replaced by outlook.com. I believe the recipient uses Mail.app on an iPhone, but I'm not sure.
I've so far failed to reproduce it. When I send the email to myself (even to an outlook.com account), I don't see the issue, and the mail source (as viewed from the mail client) doesn't include anything like this format.