Reiner Steib <[EMAIL PROTECTED]> writes: > On Thu, Aug 03 2006, Leon wrote: > >> Reiner Steib <[EMAIL PROTECTED]> writes: >>> On Thu, Aug 03 2006, Leon wrote: >>>> Do you think this is reliable to match all emails with attachment? >>> >>> It also matches other articles (e.g. various text/plain parts with >>> different charset), but these articles are quite rare. > [...] >> Actually I just met one such email. Gnus didn't show any attachment in >> article buffer, but thunderbird did. > > What is the value of the Content-Type header of this mail? E.g. if > someone sends[1] a PDF or an image without any accompanying text, you > might get application/pdf or image/jpeg. >
Content-Type: multipart/mixed; boundary="===============1171174969==" I have also tried to send an email with only a pdf file. Thunderbird failed to show the 'paperclip' icon before reading the email. After I open the email, the icon is back. > >> Is there any standard way of testing if an email has attachment? > > First you need to define the term "attachment" properly. > A lot of other email clients will show a `paperclip' icon for emails that have `attachment'. I'm looking for a similar behavior in gnus. > Bye, Reiner. > > Footnotes: > [1] E.g.: mutt -s "this is the image" -a foo.jpg < /dev/null -- Leon _______________________________________________ info-gnus-english mailing list [email protected] http://lists.gnu.org/mailman/listinfo/info-gnus-english
