• Overlooking attachments

    From Peter Pearson@21:1/5 to All on Sat Aug 29 00:11:24 2020
    People sometimes send me email with attachments, but don't mention
    the attachments in the text of the email, with the sometimes
    embarassing result that I overlook the attachment entirely.
    I've inserted a "%X" into index_format, which supposedly displays
    the number of attachments, but that seems not to work for messages
    with complicated structures like this:

    I 1 <no description> [multipa/alternativ, 7bit, 505K]
    I 2 ├─><no description> [text/plain, 7bit, us-ascii, 0.1K]
    I 3 └─><no description> [multipa/related, 7bit, 505K]
    I 4 ├─><no description> [text/html, 7bit, us-ascii, 0.5K]
    I 5 └─>Screen Shot 2020-08-28 at 15.54.28.png [image/png, base64, 504K]

    The message describe above is listed with an attachment count (%X) of zero.

    How does everybody else deal with this?

    --
    To email me, substitute nowhere->runbox, invalid->com.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jorgen Grahn@21:1/5 to Peter Pearson on Sat Aug 29 06:05:35 2020
    On Sat, 2020-08-29, Peter Pearson wrote:
    People sometimes send me email with attachments, but don't mention
    the attachments in the text of the email, with the sometimes
    embarassing result that I overlook the attachment entirely.
    I've inserted a "%X" into index_format, which supposedly displays
    the number of attachments, but that seems not to work for messages
    with complicated structures like this:

    I 1 <no description> [multipa/alternativ, 7bit, 505K]
    I 2 ├─><no description> [text/plain, 7bit, us-ascii, 0.1K]
    I 3 └─><no description> [multipa/related, 7bit, 505K]
    I 4 ├─><no description> [text/html, 7bit, us-ascii, 0.5K]
    I 5 └─>Screen Shot 2020-08-28 at 15.54.28.png [image/png, base64, 504K]

    The message describe above is listed with an attachment count (%X) of zero.

    That may be because there /are/ no attachments in a sense. IIUC, the
    "I" is for "inline", as opposed to "A" for "attachment".

    The example looks like a mail that comes in two versions:
    - text/plain
    - HTML with an inline image

    only the text/plain is a poor representation of the HTML in this case,
    since it omits the screenshot (and doesn't even say "here should be a
    pretty large image" anywhere?)

    I think if you counted everything but the two multipart/alternative
    parts as attachments, you might see a lot of false positives in the form
    of purely decorative images in mail headers and footers.

    How does everybody else deal with this?

    I don't deal with it well, but I don't get a lot of HTML mail because
    normal people don't seem to use mail nowadays. I guess I often press
    'v' if I get the feeling I'm missing something.

    /Jorgen

    --
    // Jorgen Grahn <grahn@ Oo o. . .
    \X/ snipabacken.se> O o .

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Peter Pearson@21:1/5 to Jorgen Grahn on Sat Aug 29 15:25:05 2020
    On 29 Aug 2020 06:05:35 GMT, Jorgen Grahn <grahn+nntp@snipabacken.se> wrote:
    On Sat, 2020-08-29, Peter Pearson wrote:
    [snip]
    The message describe above is listed with an attachment count (%X) of zero. [snip]

    I think if you counted everything but the two multipart/alternative
    parts as attachments, you might see a lot of false positives in the form
    of purely decorative images in mail headers and footers.

    Yes, absolutely.


    How does everybody else deal with this?

    I don't deal with it well, but I don't get a lot of HTML mail because
    normal people don't seem to use mail nowadays. I guess I often press
    'v' if I get the feeling I'm missing something.

    Clear, if discouraging. Thank you.

    --
    To email me, substitute nowhere->runbox, invalid->com.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jorgen Grahn@21:1/5 to Peter Pearson on Sat Aug 29 17:02:59 2020
    On Sat, 2020-08-29, Peter Pearson wrote:
    On 29 Aug 2020 06:05:35 GMT, Jorgen Grahn <grahn+nntp@snipabacken.se> wrote:
    On Sat, 2020-08-29, Peter Pearson wrote:
    ...

    How does everybody else deal with this?

    I don't deal with it well, but I don't get a lot of HTML mail because
    normal people don't seem to use mail nowadays. I guess I often press
    'v' if I get the feeling I'm missing something.

    Clear, if discouraging. Thank you.

    That's just me, though. I haven't optimized my Mutt workflow in a
    decade.

    /Jorgen

    --
    // Jorgen Grahn <grahn@ Oo o. . .
    \X/ snipabacken.se> O o .

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)