Welcome to the Power Users community on Codidact!
Power Users is a Q&A site for questions about the usage of computer software and hardware. We are still a small site and would like to grow, so please consider joining our community. We are looking forward to your questions and answers; they are the building blocks of a repository of knowledge we are building together.
Why does has:attachment return some email threads that don't have a paper clip icon on it in Gmail?
I see that has:attachment return some thread that don't have a paper clip icon on it in Gmail, e.g.:
Why?
Crossposts:
1 answer
From a cursory glance: because these mails contain inline attachments, for example picture files used in the mail. Gmail seems to only mark mails with a paper clip that contain a Content-Disposition: attachment part, while the search (correctly) looks for both Content-Disposition: attachment and Content-Disposition: inline.
Extract from one of my mails containing both a picture as inline attachment and a pdf as a regular attachment:
--=_62a32ffc2dc586f1aa40073a2aee6daf
Content-Type: image/gif; name="logo.gif"
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename="logo.gif"
Content-ID: <31bda083589d3fee123eb2d7b7cc8ee0>
--=_62a32ffc2dc586f1aa40073a2aee6daf--
--=_fd3aa12dbf293ddfcf93562e01e4d8fe--
--=_1892336be4387734e50512307d5f47c8
Content-Type: application/pdf; name="invoice.pdf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="invoice.pdf"

0 comment threads