Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to display embedded images that are sent as attachments?

  • 8 replies
  • 1 has this problem
  • 37 views
  • Last reply by Hartman Tam

more options

Hello all,

I'm trying to make embedded images that are sent as attachments display by default. I tried adding "moz-nullpricipal:*" as an exception but doesn't work. How else can I do?

H

Hello all, I'm trying to make embedded images that are sent as attachments display by default. I tried adding "moz-nullpricipal:*" as an exception but doesn't work. How else can I do? H

All Replies (8)

more options

Have you tried setting View>Display attachments inline?

more options

If you really want attached images to appear in the body of the message they are attached to, go to View in the Menu bar (if you don't see the menu bar press ALT on your keyboard and it will pop up), and click Display attachments inline.

You should be aware, though, that setting attachments to open in messages automatically could give you some serious vulnerabilities.

more options

david said

Have you tried setting View>Display attachments inline?

Yes. However, it doesn't display in their original position but appended after the email. I would like it embedded as it intended as the orginal mail. Still, no remote content. Only those are attached, and images only.


Wisewiz said

You should be aware, though, that setting attachments to open in messages automatically could give you some serious vulnerabilities.

My I know what kind of vulnerabilities/attack surface I opened to? All I know remote content might contains micro pixels that enable email tracking. I hope the vulnerabilities isn't theoretical but those happened in the past or very serious like RCE or zero click exploitation. Thank you.

Modified by Hartman Tam

more options

Are these emails that you receive or emails that you have sent ?

If image is sent as an attachment then it can only display after the content if you have View>Display attachments inline enabled.

If image was inserted into the content of the email, it is not just an attachment. If receiving the email and images are shown as attachments and sender put them inline as part of content then maybe you are viewing using Plain text and not HTML. Check your view:

  • 'View' > 'Message Body as' > Select 'Original HTML'

However, if you created an email using HTML but sent using plain text, then all images will appear as attachments because all html is stripped. Check your Send Options:

  • Settings > Composition
  • Under 'Sending format'
  • Select : 'Both html and plain text'
more options

Thank you for coming in to handle this, Toad-Hall.

more options

Toad-Hall said

Are these emails that you receive or emails that you have sent ?

Recieve

If image was inserted into the content of the email, it is not just an attachment. If receiving the email and images are shown as attachments and sender put them inline as part of content then maybe you are viewing using Plain text and not HTML. Check your view:
  • 'View' > 'Message Body as' > Select 'Original HTML'

I'm viewing it with Original HTML.

more options

Did sender send the email as html or plain text and did they send using a phone?

Select email so you can see it in Message Pane. Click on 'More' button and select 'View Source'. This will open in a new window.

All the various headers appear at the top. As you scroll down look for any the following lines that look like or similar to the following examples. Whatever you see, please copy and paste them into this question.

Examples:

  • Content-Type: multipart/alternative;
  • Content-Type: multipart/mixed; boundary="--_com.android.email_34271761634504770"
  • Content-Type: text/plain; charset="utf-8"
  • MIME-Version: 1.0
  • Content-Transfer-Encoding: 7bit
  • Content-Type: text/html; charset="utf-8"
  • MIME-Version: 1.0
  • Content-Transfer-Encoding: 8bit
  • Content-Type: text/html; charset=utf-8
  • Content-Transfer-Encoding: base64
  • Content-Type: image/jpeg;
  • name="IMG_20230213_142747.jpg"
  • Content-Transfer-Encoding: base64
  • Content-Disposition: attachment;
  • filename="IMG_20230213_142747.jpg";
  • size=3180415
more options

It's a PGP message, after decryption:

  • Content-Type: multipart/mixed; boundary=4fXlwLtT; protected-headers="v1"
  • Content-Type: multipart/alternative; boundary=jWmG3N82; protected-headers="v1"
  • Content-Type: text/plain; charset=utf-8; protected-headers="v1"
  • Content-Transfer-Encoding: quoted-printable
  • Content-Type: text/html; charset=utf-8
  • Content-Transfer-Encoding: quoted-printable
  • Content-Type: image/jpeg; name=image001.jpg
  • Content-Transfer-Encoding: base64
  • Content-Disposition: inline; name=image001.jpg; filename=image001.jpg
  • Content-ID: <image001.jpg@01D99863.22133A50>
  • Content-Type: image/jpeg; name=image002.jpg
  • Content-Transfer-Encoding: base64
  • Content-Disposition: inline; name=image002.jpg; filename=image002.jpg
  • Content-ID: <image002.jpg@01D99863.22133A50>

The mail have 15 images total and they look identical, albeit different file name

Modified by Hartman Tam