Author Topic: How do I prevent Disposition:inline images from showing?  (Read 8139 times)

HippoMan

  • Newbie
  • *
  • Posts: 15
How do I prevent Disposition:inline images from showing?
« on: February 23, 2017, 09:52:56 pm »
I'm using version 1.8.1-193 on my Android device.

I have "Image Previews" disabled and "Hide Attachments" checked.

However, images with "Disposition: inline" always show up in the message view. Images with "Disposition: attachment" indeed are hidden under this configuration.

Is there any setting which will prevent inline images from showing, and which will put them into the "Show [X] Attachments" list or something similar?

If not, could such a capability be added?

Thank you very much.
.
« Last Edit: February 23, 2017, 10:13:53 pm by HippoMan »

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: How do I prevent Disposition:inline images from showing?
« Reply #1 on: February 24, 2017, 06:45:53 pm »
No, there is no setting to hide those:

"disposition: inline" inside "multipart/related" are images that are "embedded" inside the message's HTML code / text (which refers to those images using src="cid:..." notation).

They're deliberately encoded / formatted that way on the sending side, and Aqua Mail shows them exactly as it's supposed to -- embedded in the text (HTML) content.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

HippoMan

  • Newbie
  • *
  • Posts: 15
Re: How do I prevent Disposition:inline images from showing?
« Reply #2 on: February 25, 2017, 06:38:00 am »
Thank you.

I understand that "Content-Disposition: inline" with "multipart/related" reflects the sender's intent for images to appear within the email of the recipient.

Nonetheless, many email clients offer recipients the capability to optionally hide inline images.

Lots of email is unwanted, and sometimes, there are offensive images that are sent inline, so that the reader or people who might be nearby when the message is opened are forced to view those images. Having the option to block inline images is useful to protect against this case.

Luckily, I manage my own email server, and I can write filters to preprocess "multipart/related" messages to convert them to "multipart/alternative".

However, most people cannot control their email servers in this way.

Anyway, I, for one, will be grateful if some day Aquamail offers the capability to optionally hide inline images.
« Last Edit: February 25, 2017, 07:50:15 am by HippoMan »

mikeone

  • Hero Member
  • *****
  • Posts: 2767
Re: How do I prevent Disposition:inline images from showing?
« Reply #3 on: February 25, 2017, 06:13:37 pm »
Thank you.

I understand that "Content-Disposition: inline" with "multipart/related" reflects the sender's intent for images to appear within the email of the recipient.

Nonetheless, many email clients offer recipients the capability to optionally hide inline images.

Lots of email is unwanted, and sometimes, there are offensive images that are sent inline, so that the reader or people who might be nearby when the message is opened are forced to view those images. Having the option to block inline images is useful to protect against this case.

Luckily, I manage my own email server, and I can write filters to preprocess "multipart/related" messages to convert them to "multipart/alternative".

However, most people cannot control their email servers in this way.

Anyway, I, for one, will be grateful if some day Aquamail offers the capability to optionally hide inline images.
Well, such specific "Spam control settings" for linked / embedded images are already implemented in AquaMail  8)
-> Menu button (3-dots icon) -> Settings -> Message view -> scroll down to the end of the list to "Spam control of linked images".
« Last Edit: February 26, 2017, 01:39:33 pm by mikeone »

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: How do I prevent Disposition:inline images from showing?
« Reply #4 on: February 25, 2017, 06:45:03 pm »
Re: Well, such specific "Spam control settings" for linked / embedded images are already implemented in AquaMail  8)

For linked messages, yes, since linked images are "hosted somewhere else" (linked) and there is a potential security / privacy risk.

Embedded images are assumed to be safe, since they're part of the message itself, not linked. So the above setting has no effect on them.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

mikeone

  • Hero Member
  • *****
  • Posts: 2767
Re: How do I prevent Disposition:inline images from showing?
« Reply #5 on: February 25, 2017, 07:25:40 pm »
Aah, I understand. Many thanks for your clarification.
[... I have modified my previous post.]
« Last Edit: February 26, 2017, 01:41:35 pm by mikeone »