[MlMt] situating a PDF attachment within a message
Benny Kjær Nielsen
mailinglist at freron.com
Mon Apr 7 08:14:02 EDT 2025
On 6 Apr 2025, at 17:01, David Pesetsky wrote:
> Just asking again since my earlier posting of this question might have
> been lost amidst the discussion of iOS mail clients that was going on
> at the time.
Sorry about the delay.
The issue here is that images (which are most often not in pdf format)
are the only attachments that MailMate can, optionally, show inline.
This is because MailMate only generates a single HTML part for the email
and images are shown using the `img` element. There is, as far as I
know, no way to do the same for other types of attachments although I
could be mistaken (if you have an example then you can forward it to me
as an attachment and I can take a look at the HTML used).
So, how do other email clients do it? It has been a while since I looked
into this, but I believe Apple Mail used multiple message parts to do
this. Something like this (simplified):
multipart
text
pdf
text
pdf
text
MailMate could do something similar (it would require a lot of work),
but I'm sceptical this would work well in all receiving email clients.
In other words, don't expect this to change. Sorry.
> Don't worry, I won't try a third time — I do know better!
You can try “Help > Send Feedback” when the mailing list has no
answer for you. I don't get around to answering all emails, but I do my
best.
--
Benny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20250407/4748ce39/attachment.htm>
More information about the mailmate
mailing list