Closed jrgm closed 5 years ago
Actually, visually inspecting the HTML content in Thunderbird, with fxa-email-service, I see:
Confirm you’ve received this email and we’ll help you install and sync Firefox
on all your devices starting with:
In gmail, via email-service, that text in the HTML appears correctly. So, just a tbird bug?
If it wasn't clear, the above was referring to the altered apostrope in you’ve
and we’ll
.
Content-Type: text/html; charset=utf-8
I'm pretty sure that the issue with the apostrophe is because email-service content lacks charset=utf-8
.
/me smacks stupid English-centric brain
Yeah. UTF-8. Disabling in prod now. Apologies.
What users see is a function of how auto-detect of encodings is configured in their email viewer. With browsers and webmail, it usually corrects. My email viewer was not set to auto-detect, so it was a mess in, e.g., Japanese.
This was fixed in https://github.com/mozilla/fxa-email-service/pull/240. Closing.
Not saying there's necessarily a bug here, but I inspected the email sent via email-service vs. one sent by auth-server and note these differences.
Via auth server has these two headers that email-service does not:
Via auth server, the HTML part is sent as:
while with the email service it is: