Am 05.09.2025 um 20:23 schrieb Jonathan S. Katz <jkatz@postgresql.org>:
> This has plagued me for years, and I'm so happy you tracked this down!
I'm happy to hear, I'm not the only one seeing this. Glad to help!
What's more amazing is that AFAIK this is the first time *anyone* has reported this to be a problem. And it's been this way since 2020...
It is also slightly ironic that it's apple mail that's seeing the problem, given it's quite overrepresented in *generating* broken attachments in similar ways when you look in the archive :)
> The patch looks good; have you tested in a few other mail clients? I haven't had a chance to test yet.
I haven't tried other mail clients myself, but as the style definition is just redundant to the img attributes, I wouldn't expect any regression by this. But HTML emails are full of miracles ;)
Indeed it does. For example, you mentioned the possibility of embedding the image instead of attaching - that *does* break multiple clients, I think at least Outlook and maybe also gmail.